#niceone_54450
1 messages · Page 1 of 1 (latest)
Hi, you would need to bring the customer back on session. You can retrieve the payment intent of that subscription, and attain the client secret: https://stripe.com/docs/api/payment_intents/retrieve#retrieve_payment_intent-client_secret to perform 3DS.
but how can I get the payment intent id?
I send subscription update request and receive an 402 error
(it's due to payment_behavior = error_if_incomplete)
You can retrieve the Subscription, https://stripe.com/docs/api/subscriptions/object#subscription_object-latest_invoice and use our Expand function, https://stripe.com/docs/expand to expand the latest invoice. That is where you'd get the payment intent details.
ok, thank you