#addy-3DS
1 messages · Page 1 of 1 (latest)
Should I share you a code snip?
This is what I am trying to achieve.
I am following the same steps. First I started a subscription by making 3184 my default card and upon starting subscription I am sending client_secret to frontend and from there I can open the modal for the 3ds authentication for 3184 card but when it is successfully added as default and I try to update subscription the modal doesn't get open.
I have gone through your documentations and followed steps as it said upon updating subscription I am passing
payment_settings={"payment_method_options": {"card": {"request_three_d_secure": "automatic"}}},
OK, so you are using the Customer Portal to update the subscription?
No I am not using the customer portal I am implementing my own custom portal, I am using your customer portal as a reference to explain my problem
OK, you should use any instead of automatic for request_three_d_secure
That will solve the issue? I am not creating a payment intent by my own stripe does that in webhooks so still I think the problem will remain for modal not being opened
https://stripe.com/docs/api/payment_intents/create#create_payment_intent-payment_method_options-card-request_three_d_secure please take a look at this doc, you can use any to manually request 3DS
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
But the issue is payment intent is created by stripe itself when updating a subscription
Ah, you are talking about the latest_invoice.payment_intent, can you send me the PaymentMethod ID?