#idhruv
1 messages · Page 1 of 1 (latest)
Hi there!
So you use subscription schedule to create subscription in the future, and you want to know how to handle card that require 3DS?
yes
the present scenario with 3ds is handled
but don't know what we can do for the future date scenario, we do invoke webhooks when subscription is created and is active for future dates
This should be handled by Stripe by default, using your dashboard settings here: https://dashboard.stripe.com/settings/billing/automatic
okay but what about user's 3ds card? will this setting take care of that too
Otherwise you can listen to webhooks events to know when a payment fails because of 3DS, and when that happens either:
- Tell the user to come back to your website/app to confirm the existing PaymentIntent with https://stripe.com/docs/js/payment_intents/confirm_card_payment#stripe_confirm_card_payment-attached
- Or send the user the
hosted_invoice_urlhttps://stripe.com/docs/api/invoices/object#invoice_object-hosted_invoice_url
okay but what about user's 3ds card? will this setting take care of that too
The settings I shared above are specifically for cards that request 3DS.
okay let me check
i am not able to understand what workflow for both of these options should be, like in first case where we can invite them? do we need to build a specific page for it?
and in second option, what exactly is the use of hosted_invoice_url and how can we make use of it? can you please give one practical scenario?
i am not able to understand what workflow for both of these options should be, like in first case where we can invite them? do we need to build a specific page for it?
Yes exactly, you would build a specific page for this flow, and redirect users to it when you notice that a payment failed.
and in second option, what exactly is the use of hosted_invoice_url and how can we make use of it? can you please give one practical scenario?
On the invoice object that failed, there is ahosted_invoice_urlproperty. It's a Stripe hosted URL that you can send to your users, and they will be able to enter their payment details to pay the invoice.
But like I mentioned earlier, you don't have to do any of this. Stripe will take care of it directly if you use the settings I shared above.
That's completely up to you. But you don't have to.
But like I mentioned earlier, you don't have to do any of this. Stripe will take care of it directly if you use the settings I shared above.
I have enabled this btw