Ejemplo n.º 1
0
 public static stripe.TokenCreateOptions CreateTokenOptions(this ProcessPaymentRequest processPaymentRequest, Core.Domain.Customers.Customer customer, StripeCurrency stripeCurrency)
 {
     return(new stripe.TokenCreateOptions()
     {
         Card = processPaymentRequest.CreateCreditCardOptions(customer, stripeCurrency)
     });
 }
Ejemplo n.º 2
0
 public static stripe.TokenCreateOptions CreateTokenOptions(this ProcessPaymentRequest processPaymentRequest,
                                                            ICustomerService customerService,
                                                            IStateProvinceService stateProvinceService,
                                                            ICountryService countryService,
                                                            StripeCurrency stripeCurrency)
 {
     return(new stripe.TokenCreateOptions()
     {
         Card = processPaymentRequest.CreateCreditCardOptions(customerService, stateProvinceService, countryService, stripeCurrency)
     });
 }