#kwkwkwkwkw
1 messages · Page 1 of 1 (latest)
Can you share the subscription ID (sub_xx)?
I am not sure if I can share the subscription ID, I will get back to you about that after I check with my company policy. Meanwhile, can you share on what I should check in the subscription?
If you follow this guide https://stripe.com/docs/billing/subscriptions/build-subscriptions?ui=elements to create subscription and make payment successfully with 3DS authentication, the subscription should be updated to active and its underlying invoice and payment intent should be paid and succeeded respectively.
Without the subscription ID (sub_xxx) with the behaviour that you mentioned, I can't provide any further information or reason why it's not working as expected.
This thread has been archived. If you need help with anything else please ask in #dev-help or contact Stripe Support: https://support.stripe.com/contact
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
👋 let me take a look
The PI here hasn't been completed https://dashboard.stripe.com/test/payments/pi_3NL2PDBoT4BLkOhv1HWMl2yf
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
so there might be something on your frontend which didn't confirm it correctly
Could you share more about your integration?
Ok, please let me get back to you about the integration.
I'm not sure if this make sense. Normally, when there is no 3ds authentication involved, our integration use create subscription api that include the default_payment_method. We did not manually create any paymentintent.
Does this mean that we should manually create a payment intent and confirm it before creating a subscription?
When we were adding the payment method, we used the setupintent api.
Oh no, your integration is in good starting shape. I didn't mean to change to create PI sepately.
However, when you create a Sub using a PaymentMethod previously collected by a SetupIntent, yet you can still see it requires 3DS, by listening to the payment_intent.requires_action event
That you know you still need to confirm it again, by presenting the customer your frontend and build a JS integration to call handleCardAction like this https://stripe.com/docs/payments/payment-intents/upgrade-to-handle-actions?platform=web#update-client
So in addition to the pop up modal that shows up for the user to put in the verification codes from their mobile phone, etc. We also have to confirm payment intent after the authentication is successful. Am I correct?
"The popup modal" you refer to is when confirming SetupIntent?
Just a moment, I will capture a clip when we add a payment method for you to see.
I meant this modal in test environment. From what I understand, it will actually be website of the credit card's bank right?
Yes correct. And it's on SetupIntent confirmation, right?
Yes
Ok, here is the thing, even when SetupIntent triggered 3DS and customer has confirmed successfully (like this modal simulated), the Subscription could still ask for 3DS again. This is totally up to the card issuer and our test card may simulate the situation
When you build your integration, you need to be flexible at Subscription creation logic, always checks if it generate a PaymentIntent on requires_action or not. If yes, brings up your client and get authorized again
I see. Thank you very much for your help.
For example https://stripe.com/docs/testing#authentication-and-setup withe the card 3184
This card requires authentication on all transactions, regardless of how the card is set up.
Ok. I think I can continue with my work now. Thank you very much for your support.
np and good luck!