public SagePayServerPaymentPlugin(ISagePayServerWorkflowService sagePayServerWorkflowService, ISettingService settingService, ISagePayServerTransactionService sagePayServerTransactionService, IOrderTotalCalculationService orderTotalCalculationService, SagePayServerTransactionObjectContext context, SagePayServerPaymentSettings sagePayServerPaymentSettings) { this._context = context; this._sagePayServerPaymentSettings = sagePayServerPaymentSettings; this._sagePayServerWorkflowService = sagePayServerWorkflowService; this._settingService = settingService; this._sagePayServerTransactionService = sagePayServerTransactionService; this._orderTotalCalculationService = orderTotalCalculationService; }
public PaymentSagePayServerController(ISettingService settingService, ISagePayServerTransactionService sagePayServerTransactionService, IMobileDeviceHelper mobileDeviceHelper, ISagePayServerWorkflowService sagePayServerWorkflowService, IStoreService storeService, IWorkContext workContext, OrderSettings orderSettings, HttpContextBase httpContext) { this._settingService = settingService; this._sagePayServerTransactionService = sagePayServerTransactionService; this._storeService = storeService; this._orderSettings = orderSettings; this._httpContext = httpContext; this._mobileDeviceHelper = mobileDeviceHelper; this._sagePayServerWorkflowService = sagePayServerWorkflowService; this._workContext = workContext; }