#franco
1 messages · Page 1 of 1 (latest)
I didn't think that you had to reauthenticate via 3DS for upgrades/downgrades. Do you have an example of this?
Sure, we have this customer https://dashboard.stripe.com/customers/cus_ImVcm6eUBeJ80A
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
When setting up their plan, they authorize only one charge per month (as per the Indian regulations require). They can't change this as the customer
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
We set the "billing_anchor_date" to "now" when doing a plan change so we can charge overages of the previous plan automatically
that's when the payment fails because it needs authentication
Hmmm, I'll need to dig on this a bit and get back to you.
Appreciate it
Do you need my email? I can send it via DM - or will you ping me on this thread?
Will ping this thread if an answer is forthcoming
If I understand correctly, it sounds like we don't recommend doing regular upgrades/downgrades on IN subscriptions. The recommended path is to delete the subscription, create a new one, then reauthenticate.
Does all of that resonate so far?
That is what I had in mind indeed. In that case, I will need to create a new setup intent, right? Is it possible for me to do that without asking the customer to input their CC details again?
I just need the SetupIntent to reauthenticate AFAIK
I believe you can reauthenticate with the existing Payment Method without them having to re-enter their card details. Let me dig up some docs for you
Ah, here we go. I would look through these to show how to manually re-request 3DS: https://stripe.com/docs/payments/3d-secure#manual-three-ds
ok so when creating the new subscription, we should grab the payment intent id (from the latest invoice) and take it from there I guess
For the new Subscription, you could use the same Customer and Payment Method to create a new Setup/Payment Intent and then re-authenticate the Customer's Payment Method by bringing them back on-session and presenting them the 3DS auth portal/window
ah perfect, so i:
- cancel the existing subscription, charging for remaining overages
- create a setup intent, confirm it to re-authenticate
- create the new subcription
Yup!
alright will try this approach. thanks for the help!
Hey @vital axle 👋 as I'm trying to implement this, it seems the only option I have to confirm the setup intent in the frontend is to create a PaymentElement, therefore asking the customer for their payment info again
even if I create the setup intent with a PM attached (which I confirm it is attached from the API calls the SDK makes to retrieve it) - it still shows the payment element (without the payment card prefilled of course)