#cetincem
1 messages ยท Page 1 of 1 (latest)
Hi ๐
Setup Intents do not receive funds
the status of requires_action is exactly what is supposed to happen with the intent. This is because it requires 3DS authentication
How are you confirming the Intent?
At the end of reservation, application shows the 3DS screen to user. Then user authenticates it and completes the payment
What Stripe tools are you using to confirm the Intent? Is it a Setup Intent or a Payment Intent?
Actually I create setup intent with confirm: true parameter
That only works if you are already providing the Payment Method
Yes I provide payment method too
Okay so this will fail with 3DS required cards because the Customer is not on-session to authenticate
Let's zoom out and can you tell me what you are trying to do, big picture
Sure, we have a mobile application that users can find parking spots. When a user decides to park a spot, I create a setup intent for the payment. When user decides to leave the spot, app calculates the amount user has to pay.
When user leaves the spot, app automatically charges the user.
Everything works correctly with 3DS required card (4000000000003063) but the flow doesn't completed with 3DS2 required card (4000000000003220)
Setup Intents do not take payment
you need to understand that
It saves the payment method
No
Not at all
Setup Intents are used to set up a payment method and, optionally, save it to a Customer
Payment Intents collect funds but are not necessary tied to either a Customer or a Payment Method
Okay I understand that
But in my case issue is not related to receiving the payment
Right, your mobile application needs to be able to handle the setup intent going to requires_action status
I check the events in the dashboard, it says "SetupIntent seti_1N1tE6Lj8vYuVxnTldN0YFHu requires you to take action in order to complete setup"
What Stripe SDK are you using?
Okay so when you are using the Setup Intent are you using the Mobile Payment Element we show here?
https://stripe.com/docs/payments/accept-a-payment?platform=react-native
I use card element to save payment method
Okay we have a guide for that here https://stripe.com/docs/payments/save-and-reuse
Okay I will check this guide immediately, but I have a question, is there any difference between 3DS and 3DS2 implementations?
Yes, 3DS2 is what is required globally as of October 2022
Which versions of the stripe nodejs library and stripe/stripe-react-native support 3DS2?
Current versions of each will support 3DS2. For RN that is 0.27.0 and v12.3.0 for Stripe Node. Please be aware that Stripe node is now being pinned to specific API versions. If you do not want to update your API version you can use an earlier version such as 12.1.1
Okay, thanks a lot. I guess I should update my packages because we are using very old version.
Especially with React Native, since that is a very new project for us. Likely we will be able to provide seamless 3DS2 support in a newer version
Thanks for helping me. Sorry to bother you with too many questions ๐
Have a good day
It's not a bother, that's why we are here. If, after you upgrade, you have more questions about your integration we'll be happy to help. ๐