#fatematzuhora
1 messages · Page 1 of 1 (latest)
hi! well when updating a subscription that's just how it works by default, we change the subscription to the new parameters, and issue an invoice(which if 3DS is required, then fails and the customer has to pay to keep the subscription active)
you can look into using https://stripe.com/docs/billing/subscriptions/pending-updates for the subscription update instead, where the change only happens after the payment completes. It has some limitations but could work.
So, in short, is it possible to show the 3DS prompt while upgrading a subscription?
yes
How?
Let me clear again, at the beginning of creating the subscription,
I create a payment intent, user provide the card information
if the card is 3D secured authentication prompt
Now I want to upgrade the same subscription, at this moment how can I show the same behavior
you use https://stripe.com/docs/billing/subscriptions/pending-updates , there is an invoice created (latest_invoice )
I don't want to redirect my client to another link (that I receive in the updated subscription object)
you then use the latest_invoice->payment_intent and confirm that in the frontend with Elements for example, which will process the payment and do 3DS
or redirect to the hosted_invoice_url payment page of the Invoice object
yes, I don't want to redirect to the hosted_invoice_url