Ejemplo n.º 1
0
        public override void Install()
        {
            var settings = new YapiKrediPaymentSettings()
            {
                TransactMode = TransactMode.Pending
            };

            _settingService.SaveSetting(settings);

            base.Install();
        }
Ejemplo n.º 2
0
 public YapiKrediPaymentProcessor(YapiKrediPaymentSettings YapiKrediPaymentSettings,
                                  ISettingService settingService, ICurrencyService currencyService,
                                  CurrencySettings currencySettings, IWebHelper webHelper,
                                  StoreInformationSettings storeInformationSettings,
                                  ILocalizationService localizationService,
                                  ICustomerService customerService,
                                  IWorkContext workContext)
 {
     this._YapiKrediPaymentSettings = YapiKrediPaymentSettings;
     this._settingService           = settingService;
     this._currencyService          = currencyService;
     this._currencySettings         = currencySettings;
     this._webHelper = webHelper;
     this._storeInformationSettings = storeInformationSettings;
     this._localizationService      = localizationService;
     this._customerService          = customerService;
     this._workContext = workContext;
 }