public PayPalRequestService(ICurrencyService currencyService,
                             CurrencySettings currencySettings,
                             IProductService productService,
                             IWorkContext workContext,
                             PayPalCurrencyCodeParser payPalCurrencyCodeParser,
                             PayPalExpressCheckoutPaymentSettings payPalExpressCheckoutPaymentSettings,
                             PayPalOrderService payPalOrderService,
                             PayPalRecurringPaymentsService payPalRecurringPaymentsService,
                             PayPalUrlService payPalUrlService)
 {
     _currencyService                      = currencyService;
     _currencySettings                     = currencySettings;
     _productService                       = productService;
     _workContext                          = workContext;
     _payPalCurrencyCodeParser             = payPalCurrencyCodeParser;
     _payPalExpressCheckoutPaymentSettings = payPalExpressCheckoutPaymentSettings;
     _payPalOrderService                   = payPalOrderService;
     _payPalRecurringPaymentsService       = payPalRecurringPaymentsService;
     _payPalUrlService                     = payPalUrlService;
 }
 public PayPalRedirectionService(ILogger logger,
                                 IWebHelper webHelper,
                                 IWorkContext workContext,
                                 ICustomerService customerService,
                                 IHttpContextAccessor httpContextAccessor,
                                 PaymentSettings paymentSettings,
                                 PayPalCheckoutDetailsService payPalCheckoutDetailsService,
                                 PayPalInterfaceService payPalInterfaceService,
                                 PayPalSecurityService payPalSecurityService,
                                 PayPalRequestService payPalRequestService,
                                 PayPalUrlService payPalUrlService)
 {
     _logger          = logger;
     _webHelper       = webHelper;
     _workContext     = workContext;
     _customerService = customerService;
     _session         = httpContextAccessor.HttpContext.Session;
     _paymentSettings = paymentSettings;
     _payPalCheckoutDetailsService = payPalCheckoutDetailsService;
     _payPalInterfaceService       = payPalInterfaceService;
     _payPalSecurityService        = payPalSecurityService;
     _payPalRequestService         = payPalRequestService;
     _payPalUrlService             = payPalUrlService;
 }