public CheckoutController(IPaymentService paymentService, IUserService userService)
 {
     _paymentService        = paymentService;
     _userService           = userService;
     TransferExpirationDays = Convert.ToInt32(System.Configuration.ConfigurationManager.AppSettings["Payments.TransferExpirationDays"]);
     UseSelective3DSecure   = Convert.ToBoolean(System.Configuration.ConfigurationManager.AppSettings["Payments.UseSelective3DSecure"]);
     //GlobalClientId = System.Configuration.ConfigurationManager.AppSettings["Payments.OpenpayGeneralClientId"];
     SecureVerificationURL  = System.Configuration.ConfigurationManager.AppSettings["Payments.SecureVerificationURL"];
     OpenpayWebhookKey      = System.Configuration.ConfigurationManager.AppSettings["Payments.OpenpayWebhookKey"];
     paymentProviderService = new OpenPayService();
 }