#fatematzuhora
1 messages · Page 1 of 1 (latest)
Can you share the subscription ID (sub_xxx) in text?
Sure: sub_1N8aawG0yaUrfkRb5DsTkfeg
You may expand the latest_invoice.payment_intent, then retrieve and send the client_secret to the frontend to complete 3DS authentication with stripe.confirmPayment()
If I send it to frontend will it render the payment element?
If you use stripe.confirmPayment() directly, it will not render Payment Element: https://stripe.com/docs/js/payment_intents/confirm_payment
The latest_invoice id of the above subscription is: in_1N8ahmG0yaUrfkRbwXvkoVTg
I tried to fetch the invoice using postman and there is no client_secret inside the payment_intent
Did you expand payment_intent? If no, then you'd need to expand payment_intent to get the client_secret
It's a string
You should expand it to be a completed object https://stripe.com/docs/api/expanding_objects
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.