#treciokas
1 messages · Page 1 of 1 (latest)
HI there, can you share with me the subscription ID?
Subscription failed to create, so no ID was created
req_bwDKYnCdNJbyCN this is request ID
It fails because you set payment_behavior: "error_if_incomplete", This tells Stripe to fail the subscription creation if the first invoice's payment requests authentication (aka 3DS).
I'd suggest you change it to default_incomplete
ok i will try with this option
Thanks
Now subscription is marked as incomplete: sub_1MYlT8L6x5zHDLJP2zQ4gvrt
You can't just confirm it from backend, you need to bring your customer to your webpage and call stripe.confirmPayment so that Stripe.js can initiate the 3ds.
But why for other cards we have 3ds poping out?
3DS is showing when Stripe.js snippet is creating payment method
tested with this card: 4000002760003184
I don't know how you implement this page, but I'm pretty sure you call stripe.confirmCardPayment() on frontend to initiate the 3DS.
But for sub_1MYlT8L6x5zHDLJP2zQ4gvrt, you confirm the payment_intent from backend, not frontend (https://dashboard.stripe.com/test/logs/req_01yjQwvyNy5WKm)
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 are calling stripe.confirmCardSetup
I see. So you are using SetupIntent API. Did you update your integration according to https://stripe.com/docs/india-recurring-payments#impact-other-products ?
so our workflow is: call stripe.confirmCardSetup to get payment method token, then in the backend we are creating customer, attaching payment method to this customer, then creating subscription for this customer
For Indian users, Using SetupIntent API for recurring payment requires lots of params (see the link I posted earlier). My personal option is that you should just use Checkout (the easier solution), or create a Subscription first, and confirm the payment_intent of the first invoice in frontend (you can find the integration details here https://stripe.com/docs/billing/subscriptions/build-subscriptions?ui=elements)
ok now i understood. It should be a different flow for India users 😦
Unfortunately more efforts are required for Indian users in order to comply with RBI directives.
ok thanks Jack for help!
No problem!