public OgonePaymentProcessor( OgonePaymentSettings ogonePaymentSettings, ISettingService settingService, ICurrencyService currencyService, CurrencySettings currencySettings, IWebHelper webHelper, IStoreContext storeContext, ILocalizationService localizationService, IOrderService orderService, IEncryptionService encryptionService, IGenericAttributeService genericAttributeService, IWorkContext workContext) { _ogonePaymentSettings = ogonePaymentSettings; _settingService = settingService; _currencyService = currencyService; _currencySettings = currencySettings; _webHelper = webHelper; _storeContext = storeContext; _localizationService = localizationService; _orderService = orderService; _encryptionService = encryptionService; _genericAttributeService = genericAttributeService; _workContext = workContext; _encryptionService = encryptionService; #if DEBUG InstallLocaleResources(); #endif }
public override void Install() { var settings = new OgonePaymentSettings() { OgoneGatewayUrl = "https://secure.ogone.com/ncol/test/orderstandard.asp", HashingAlgorithm = HashingAlgorithm.Sha1, HashAllParameters = true }; _settingService.SaveSetting(settings); InstallLocaleResources(); base.Install(); }