public override void Install() { var settings = new FinansBankPaymentSettings() { TransactMode = TransactMode.Pending }; _settingService.SaveSetting(settings); base.Install(); }
public FinansBankPaymentProcessor(FinansBankPaymentSettings FinansBankPaymentSettings, ISettingService settingService, ICurrencyService currencyService, CurrencySettings currencySettings, IWebHelper webHelper, StoreInformationSettings storeInformationSettings, ILocalizationService localizationService, ICustomerService customerService) { this._FinansBankPaymentSettings = FinansBankPaymentSettings; this._settingService = settingService; this._currencyService = currencyService; this._currencySettings = currencySettings; this._webHelper = webHelper; this._storeInformationSettings = storeInformationSettings; this._localizationService = localizationService; this._customerService = customerService; }