Beispiel #1
0
 public WayForPayPaymentPlugin(
     WayForPayPaymentSettings wayForPayPaymentSettings,
     HttpContextBase httpContext,
     IOrderTotalCalculationService orderTotalCalculationService,
     IWayForPayService wayForPayService)
 {
     _wayForPayPaymentSettings     = wayForPayPaymentSettings;
     _orderTotalCalculationService = orderTotalCalculationService;
     _httpContext      = httpContext;
     _wayForPayService = wayForPayService;
 }
 public PaymentWayForPayController(
     WayForPayPaymentSettings wayForPayPaymentSettings,
     PaymentSettings paymentSettings,
     HttpContextBase httpContext,
     ISettingService settingService,
     IPaymentService paymentService,
     IOrderService orderService,
     IOrderProcessingService orderProcessingService,
     ILocalizationService localizationService,
     IWebHelper webHelper,
     IWayForPayService wayForPayService)
 {
     _wayForPayPaymentSettings = wayForPayPaymentSettings;
     _paymentSettings          = paymentSettings;
     _httpContext            = httpContext;
     _settingService         = settingService;
     _paymentService         = paymentService;
     _orderService           = orderService;
     _orderProcessingService = orderProcessingService;
     _localizationService    = localizationService;
     _webHelper        = webHelper;
     _wayForPayService = wayForPayService;
 }