コード例 #1
0
 public EPayPaymentProcessor(
     EPayPaymentSettings ePayPaymentSettings,
     ISettingService settingService,
     IWebHelper webHelper,
     IOrderService orderService
     )
 {
     this.ePayPaymentSettings = ePayPaymentSettings;
     this.settingService      = settingService;
     this.webHelper           = webHelper;
     this.orderService        = orderService;
 }
コード例 #2
0
        public override void Install()
        {
            EPayPaymentSettings settings = new EPayPaymentSettings
            {
                MerchantId         = "Oplyses på din ePay konto",
                Group              = "",
                Md5Secret          = "",
                AuthMail           = "",
                AuthSms            = "",
                Instantcapture     = false,
                OwnReceipt         = false,
                UseRemoteInterface = false,
                RemotePassword     = ""
            };

            settingService.SaveSetting(settings);

            base.Install();
        }