#allianceRes
1 messages · Page 1 of 1 (latest)
Nope, it just creates an invoice with 0 amount, without PaymentIntent
thank you for answer.
But when the user subscribe with a 3DS card, how can i ask him for authentification without the pi_123 ?
Elements
You need to use SetupIntent and save and authenticate the customer's card, you can follow this guide for
https://stripe.com/docs/payments/save-and-reuse?platform=web
Then you use the customer's saved payment method and set it as a default payment_method of the customer's subscription when creating it:
https://stripe.com/docs/api/subscriptions/create#create_subscription-default_payment_method
OK I'll take a look.
I have another question:
I tried to subscribe with my real credit card a month ago, but my payment failed because I didn't complete 3DS authentication, and after 24 hours my subscription was automatically canceled by Stripe.
"subscription": "sub_1MEamIGfA2lQACd1EF8S5dVP"
My question is:
Is the a way to keep the subscription active even if the paiment fail?
You can update the subscription as trialing if you want to ignore the payment status.
More details can be found in this guide about Subscription LIfecyle:
https://stripe.com/docs/billing/subscriptions/overview