#allianceRes-3ds-subscription
1 messages · Page 1 of 1 (latest)
I think that test card requires radar rules, you can use these test cards to always get the popup even without radar
it works without Radar, I test it for instant payment and it show an authification page.
but when I try it with subscription I don't gget the popup
Is this your own custom page or a stripe hosted checkout page?
its our page
Gotcha, do you have the ID of a payment intent that you saw this behavior with (pi_1234)
pi_3MSMhEGfA2lQACd10Us1gYnK
its in test mode
Thank you for sharing that ID, the server is a little busy at the moment, but I'll be back as soon as I can to take a closer look.
Ok no problem.
Is there a differnce between 3DS with subscription and 3DS with instant payment?
There may be, it depends on the flow.
Looking at what you're doing, it looks like this Payment Intent is the first that was created by the Subscription, and it is going into a requires_action state because the provided card requires 3DS to be completed. You won't see a popup for that with only what has been so far, because the Subscription was created by a request from your server, but the 3DS challenge needs to be completed by your customer.
To handle this scenario you'll need a flow that brings your customers on session, and then confirms the Payment Intent from your client-side code so the customer can handle the authentication challenge.
In payment_intent.requires_action I see this:
"next_action": {
"type": "use_stripe_sdk",
"use_stripe_sdk": {...
So when our server receive this event it should send it to our UI to allow the customer to validate the authentification?
Correct, you'll want to pass the client secret of that intent to your frontend where you will call stripe.handleCardAction() which will trigger the authentication process:
https://stripe.com/docs/js/payment_intents/handle_card_action
allianceRes-3ds-subscription
Cool!
for subscription with free trial, the customer won't pay immediately, so if the customer use a 3DS card Stripe will request authentication even if the amount is Zero?