Beispiel #1
0
 public PayPalExpressCheckoutPaymentProcessor(HttpSessionStateBase session,
                                              IOrderTotalCalculationService orderTotalCalculationService,
                                              IPayPalInterfaceService payPalInterfaceService,
                                              IPayPalRequestService payPalRequestService,
                                              IPayPalSecurityService payPalSecurityService,
                                              ISettingService settingService,
                                              PayPalExpressCheckoutPaymentSettings payPalExpressCheckoutPaymentSettings)
 {
     _session = session;
     _orderTotalCalculationService = orderTotalCalculationService;
     _payPalInterfaceService       = payPalInterfaceService;
     _payPalRequestService         = payPalRequestService;
     _payPalSecurityService        = payPalSecurityService;
     _settingService = settingService;
     _payPalExpressCheckoutPaymentSettings = payPalExpressCheckoutPaymentSettings;
 }
Beispiel #2
0
 public PayPalExpressCheckoutPaymentProcessor(IHttpContextAccessor httpContextAccessor,
                                              ILocalizationService localizationService,
                                              ISettingService settingService,
                                              IWebHelper webHelper,
                                              PayPalExpressCheckoutPaymentSettings payPalExpressCheckoutPaymentSettings,
                                              PayPalInterfaceService payPalInterfaceService,
                                              PayPalRequestService payPalRequestService,
                                              PayPalSecurityService payPalSecurityService)
 {
     _session             = httpContextAccessor.HttpContext?.Session;
     _localizationService = localizationService;
     _settingService      = settingService;
     _webHelper           = webHelper;
     _payPalExpressCheckoutPaymentSettings = payPalExpressCheckoutPaymentSettings;
     _payPalInterfaceService = payPalInterfaceService;
     _payPalRequestService   = payPalRequestService;
     _payPalSecurityService  = payPalSecurityService;
 }
 public PayPalExpressCheckoutPaymentProcessor(IHttpContextAccessor httpContextAccessor,
                                              ILocalizationService localizationService,
                                              IOrderTotalCalculationService orderTotalCalculationService,
                                              IPayPalInterfaceService payPalInterfaceService,
                                              IPayPalRequestService payPalRequestService,
                                              IPayPalSecurityService payPalSecurityService,
                                              ISettingService settingService,
                                              PayPalExpressCheckoutPaymentSettings payPalExpressCheckoutPaymentSettings,
                                              IWebHelper webHelper)
 {
     _session                              = httpContextAccessor.HttpContext.Session;
     _localizationService                  = localizationService;
     _orderTotalCalculationService         = orderTotalCalculationService;
     _payPalInterfaceService               = payPalInterfaceService;
     _payPalRequestService                 = payPalRequestService;
     _payPalSecurityService                = payPalSecurityService;
     _settingService                       = settingService;
     _payPalExpressCheckoutPaymentSettings = payPalExpressCheckoutPaymentSettings;
     this._webHelper                       = webHelper;
 }