public PaymentProfileController( GBSPaymentSettings gbsPaymentSettings, ILocalizationService localizationService, ISettingService settingService, IStoreService storeService, IWorkContext workContext, ICurrencyService currencyService, ILogger logger, ICustomerService customerService, IWebHelper webHelper, IOrderTotalCalculationService orderTotalCalculationService, IEncryptionService encryptionService, CurrencySettings currencySettings) { this._gbsPaymentSettings = gbsPaymentSettings; this._localizationService = localizationService; this._settingService = settingService; this._storeService = storeService; this._workContext = workContext; this._currencyService = currencyService; this._logger = logger; this._customerService = customerService; this._webHelper = webHelper; this._orderTotalCalculationService = orderTotalCalculationService; this._encryptionService = encryptionService; this._currencySettings = currencySettings; }
public SaveCCViewComponent(ILocalizationService localizationService, ISettingService settingService, IStoreService storeService, IWorkContext workContext, GBSPaymentSettings gbsPaymentSettings, ILogger logger) { this._localizationService = localizationService; this._settingService = settingService; this._storeService = storeService; this._workContext = workContext; var storeScope = GetActiveStoreScopeConfiguration(_storeService, _workContext); this._gbsPaymentSettings = _settingService.LoadSetting <GBSPaymentSettings>(storeScope); this._logger = logger; }