public AccountService(IWorkContext workContext, ILogger logger, StripeConnectPaymentSettings stripeConnectPaymentSettings, IWebHelper webHelper, HttpClient httpClient, ICustomerEntityService customerEntityService) { _workContext = workContext; _logger = logger; _stripeConnectPaymentSettings = stripeConnectPaymentSettings; _webHelper = webHelper; _httpClient = httpClient; _customerEntityService = customerEntityService; _stripeAccountService = new StripeAccountService(_stripeConnectPaymentSettings.SecretKey); }
public OnBoardingService(IWorkContext workContext, ILogger logger, StripeConnectPaymentSettings stripeConnectPaymentSettings, IWebHelper webHelper, HttpClient httpClient, ICustomerEntityService customerEntityService) { _workContext = workContext; _logger = logger; _stripeConnectPaymentSettings = stripeConnectPaymentSettings; _webHelper = webHelper; _httpClient = httpClient; _customerEntityService = customerEntityService; _onboardingCustomers = new ConcurrentDictionary <string, int>(); _stripeOAuthTokenService = new StripeOAuthTokenService(_stripeConnectPaymentSettings.SecretKey); }
public ChargeService(IWorkContext workContext, ILogger logger, StripeConnectPaymentSettings stripeConnectPaymentSettings, IWebHelper webHelper, HttpClient httpClient, ICustomerEntityService customerEntityService, IOrderChargeEntityService orderChargeEntityService) { _workContext = workContext; _logger = logger; _stripeConnectPaymentSettings = stripeConnectPaymentSettings; _webHelper = webHelper; _httpClient = httpClient; _customerEntityService = customerEntityService; _orderChargeEntityService = orderChargeEntityService; _stripeChargeService = new StripeChargeService(_stripeConnectPaymentSettings.SecretKey); _stripetokenservice = new StripeTokenService(_stripeConnectPaymentSettings.SecretKey); }