public PayInStorePaymentProcessor(PayInStorePaymentSettings payInStorePaymentSettings, ISettingService settingService, ILocalizationService localizationService, IOrderTotalCalculationService orderTotalCalculationService) { this._payInStorePaymentSettings = payInStorePaymentSettings; this._settingService = settingService; this._localizationService = localizationService; this._orderTotalCalculationService = orderTotalCalculationService; }
public override void Install() { var settings = new PayInStorePaymentSettings() { DescriptionText = "@Plugins.Payment.PayInStore.PaymentInfoDescription" }; _settingService.SaveSetting(settings); _localizationService.ImportPluginResourcesFromXml(this.PluginDescriptor); base.Install(); }