Compare commits
1 Commits
docs/packa
...
feat/card-
| Author | SHA1 | Date | |
|---|---|---|---|
| b0d2e29cf4 |
3
.gitignore
vendored
3
.gitignore
vendored
@@ -5,6 +5,9 @@
|
|||||||
.env.example
|
.env.example
|
||||||
.env.prod
|
.env.prod
|
||||||
|
|
||||||
|
docs/sca-psd2-compliance.md
|
||||||
|
accept-a-payment/
|
||||||
|
|
||||||
|
|
||||||
FULFILLMENT.md
|
FULFILLMENT.md
|
||||||
.tmp-gocache/
|
.tmp-gocache/
|
||||||
|
|||||||
@@ -395,6 +395,7 @@ func (h *CartHandler) ConvertCart(w http.ResponseWriter, r *http.Request) {
|
|||||||
Currency: stripe.String(string(stripe.CurrencyUSD)),
|
Currency: stripe.String(string(stripe.CurrencyUSD)),
|
||||||
Customer: stripe.String(user.StripeCustomerID),
|
Customer: stripe.String(user.StripeCustomerID),
|
||||||
PaymentMethod: stripe.String(paymentMethodID),
|
PaymentMethod: stripe.String(paymentMethodID),
|
||||||
|
OffSession: stripe.Bool(true),
|
||||||
AutomaticPaymentMethods: &stripe.PaymentIntentAutomaticPaymentMethodsParams{
|
AutomaticPaymentMethods: &stripe.PaymentIntentAutomaticPaymentMethodsParams{
|
||||||
Enabled: stripe.Bool(true),
|
Enabled: stripe.Bool(true),
|
||||||
AllowRedirects: stripe.String("never"),
|
AllowRedirects: stripe.String("never"),
|
||||||
|
|||||||
Reference in New Issue
Block a user