public DefaultPaymentInfoFactory( DefaultPaymentHttpClient paymentApi, ICurrencyService currencyService, ILocalizationService localizationService, ILogger logger, IPaymentService paymentService, IShoppingCartService shoppingCartService, IOrderTotalCalculationService orderTotalCalculationService, IHttpContextAccessor httpContextAccessor, IStoreContext storeContext, IWorkContext workContext, CurrencySettings currencySettings, CryptoPaymentSettings cryptoPaymentSettings) { _paymentApi = paymentApi; _currencyService = currencyService; _localizationService = localizationService; _logger = logger; _currencySettings = currencySettings; _paymentService = paymentService; _shoppingCartService = shoppingCartService; _workContext = workContext; _orderTotalCalculationService = orderTotalCalculationService; _httpContextAccessor = httpContextAccessor; _storeContext = storeContext; _cryptoPaymentSettings = cryptoPaymentSettings; }
public DefaultWebHookProcessor( CryptoPaymentSettings cryptoPaymentSettings, DefaultPaymentHttpClient paymentApi, IGenericAttributeService genericAttributeService, ILogger logger, IOrderService orderService, IOrderProcessingService orderProcessingService) { _cryptoPaymentSettings = cryptoPaymentSettings; _paymentApi = paymentApi; _genericAttributeService = genericAttributeService; _logger = logger; _orderService = orderService; _orderProcessingService = orderProcessingService; }