public PayPalRedirectionService(IPayPalInterfaceService payPalInterfaceService,
                                 IPayPalSecurityService payPalSecurityService,
                                 IPayPalRequestService payPalRequestService,
                                 IPayPalUrlService payPalUrlService,
                                 ILogger logger,
                                 IWebHelper webHelper,
                                 IPayPalCheckoutDetailsService payPalCheckoutDetailsService,
                                 IWorkContext workContext,
                                 ICustomerService customerService,
                                 HttpSessionStateBase session)
 {
     _payPalInterfaceService = payPalInterfaceService;
     _payPalSecurityService  = payPalSecurityService;
     _payPalRequestService   = payPalRequestService;
     _payPalUrlService       = payPalUrlService;
     _logger    = logger;
     _webHelper = webHelper;
     _payPalCheckoutDetailsService = payPalCheckoutDetailsService;
     _workContext     = workContext;
     _customerService = customerService;
     _session         = session;
 }
 public PayPalRedirectionService(IPayPalInterfaceService payPalInterfaceService,
                                 IPayPalSecurityService payPalSecurityService,
                                 IPayPalRequestService payPalRequestService,
                                 IPayPalUrlService payPalUrlService,
                                 ILogger logger,
                                 IWebHelper webHelper,
                                 IPayPalCheckoutDetailsService payPalCheckoutDetailsService,
                                 IWorkContext workContext,
                                 ICustomerService customerService,
                                 IHttpContextAccessor httpContextAccessor,
                                 PaymentSettings paymentSettings)
 {
     _payPalInterfaceService = payPalInterfaceService;
     _payPalSecurityService  = payPalSecurityService;
     _payPalRequestService   = payPalRequestService;
     _payPalUrlService       = payPalUrlService;
     _logger    = logger;
     _webHelper = webHelper;
     _payPalCheckoutDetailsService = payPalCheckoutDetailsService;
     _workContext     = workContext;
     _customerService = customerService;
     _session         = httpContextAccessor.HttpContext.Session;
     _paymentSettings = paymentSettings;
 }