#uh oh
1 messages · Page 1 of 1 (latest)
Can you share the subscription id?
sub_1Mf4CMRMcoXgMBBB6emnR3U7
I see a payment intent created. On the subscription object, you need to expand latest_invoice.payment_intent
Where do I put the expand parameter?
Recommend reading those docs to understand it
Depends on your sdk, but that doc goes over everything
Thank you!
So if I further expand that payment intent, then I can grab the status and check for requires_action, and also redirect_to_url? Is that the right way to handle this?
Hi 👋
What is the scenario where this is occurring? The Stripe Payment Element would handle 3DS authentication for you while the customer enters their payment method information. How is your front-end collecting this from your customers?
We are collecting the card information with cardelement, and sending it to the backend, which then creates a subscription. If that subscription status is incomplete, we check if the payment intent that was created for that subscription has requires_action as well as redirect_to_url. If that's the case, we send back the url to the client so they can go through 3DS.
Okay we have a section in our docs about how to manually display the 3DS challenge window here: https://stripe.com/docs/payments/3d-secure#when-to-use-3d-secure
This will provide you more information about the process
thank you!