public override void Install()
        {
            //settings
            var settings = new PayPalStandardPaymentSettings()
            {
                //UseSandbox = true,
                //BusinessEmail = "*****@*****.**",
                //PdtToken = "PDT token...",
                PdtValidateOrderTotal = true,
                EnableIpn             = true,
            };

            _settingService.SaveSetting(settings);

            _localizationService.ImportPluginResourcesFromXml(this.PluginDescriptor);

            base.Install();
        }
		private readonly ILocalizationService _localizationService;	// codehint: sm-add
		#endregion

		#region Ctor

		public PayPalStandardPaymentProcessor(PayPalStandardPaymentSettings paypalStandardPaymentSettings,
			ISettingService settingService, ICurrencyService currencyService,
			CurrencySettings currencySettings, IWebHelper webHelper,
			ICheckoutAttributeParser checkoutAttributeParser, ITaxService taxService,
			IOrderTotalCalculationService orderTotalCalculationService, HttpContextBase httpContext,
			ILocalizationService localizationService)
		{
			this._paypalStandardPaymentSettings = paypalStandardPaymentSettings;
			this._settingService = settingService;
			this._currencyService = currencyService;
			this._currencySettings = currencySettings;
			this._webHelper = webHelper;
			this._checkoutAttributeParser = checkoutAttributeParser;
			this._taxService = taxService;
			this._orderTotalCalculationService = orderTotalCalculationService;
			this._httpContext = httpContext;
			this._localizationService = localizationService;	// codehint: sm-add

			_helper = new PluginHelperBase("Payments.PayPalStandard");	// codehint: sm-add
		}
        private readonly ILocalizationService _localizationService;             // codehint: sm-add
        #endregion

        #region Ctor

        public PayPalStandardPaymentProcessor(PayPalStandardPaymentSettings paypalStandardPaymentSettings,
                                              ISettingService settingService, ICurrencyService currencyService,
                                              CurrencySettings currencySettings, IWebHelper webHelper,
                                              ICheckoutAttributeParser checkoutAttributeParser, ITaxService taxService,
                                              IOrderTotalCalculationService orderTotalCalculationService, HttpContextBase httpContext,
                                              ILocalizationService localizationService)
        {
            this._paypalStandardPaymentSettings = paypalStandardPaymentSettings;
            this._settingService               = settingService;
            this._currencyService              = currencyService;
            this._currencySettings             = currencySettings;
            this._webHelper                    = webHelper;
            this._checkoutAttributeParser      = checkoutAttributeParser;
            this._taxService                   = taxService;
            this._orderTotalCalculationService = orderTotalCalculationService;
            this._httpContext                  = httpContext;
            this._localizationService          = localizationService;           // codehint: sm-add

            _helper = new PluginHelperBase("Payments.PayPalStandard");          // codehint: sm-add
        }
		public override void Install()
		{
			//settings
			var settings = new PayPalStandardPaymentSettings()
			{
				//UseSandbox = true,
				//BusinessEmail = "*****@*****.**",
				//PdtToken = "PDT token...",
				PdtValidateOrderTotal = true,
				EnableIpn = true,
			};
			_settingService.SaveSetting(settings);

			_localizationService.ImportPluginResourcesFromXml(this.PluginDescriptor);

			base.Install();
		}