Use setup_future_usage='off_session'

This commit is contained in:
PCoder 2020-12-31 21:03:24 +05:30
parent d2ebd3c473
commit 8c72b56f6c

View file

@ -524,7 +524,8 @@ class StripeUtils(object):
payment_intent_obj = stripe.PaymentIntent.create(
amount=amount,
currency='chf',
customer=customer
customer=customer,
setup_future_usage='off_session'
)
return payment_intent_obj