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 PaymentPayPalStandardController(ISettingService settingService, IPaymentService paymentService, IOrderService orderService, IOrderProcessingService orderProcessingService, IStoreContext storeContext, IWorkContext workContext, IWebHelper webHelper, PayPalStandardPaymentSettings paypalStandardPaymentSettings, PaymentSettings paymentSettings) { this._settingService = settingService; this._paymentService = paymentService; this._orderService = orderService; this._orderProcessingService = orderProcessingService; this._storeContext = storeContext; this._workContext = workContext; this._webHelper = webHelper; this._paypalStandardPaymentSettings = paypalStandardPaymentSettings; this._paymentSettings = paymentSettings; _helper = new PluginHelperBase("Payments.PayPalStandard"); }