#fatematzuhora

1 messages · Page 1 of 1 (latest)

digital trellisBOT
ripe rampart
#

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.

undone fjord
#

So, in short, is it possible to show the 3DS prompt while upgrading a subscription?

ripe rampart
#

yes

undone fjord
#

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

ripe rampart
undone fjord
#

I don't want to redirect my client to another link (that I receive in the updated subscription object)

ripe rampart
#

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

undone fjord
#

yes, I don't want to redirect to the hosted_invoice_url

ripe rampart
#

cool then don't, you can confirm the Invoice's PaymentIntent in your own payment page using Elements