#rooban_3ds-reactnative

1 messages ยท Page 1 of 1 (latest)

gloomy fulcrumBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1300851231366971442

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

slim flame
#

rooban_3ds-reactnative

#

@restive adder To be clear you are trying to collect card details first before you create a PaymentIntent and then you are trying to confirm the PaymentIntent server-side?

Asking because this is a really important decision. There are dozens of ways to integrate our products and APIs

bold canyon
#

@slim flame initially payment method is created and then it's passed to backend to charge at that time if there is no 3d secure its working fine.
In case stripe action required payment intent is created and shared to react native end to handle that. At that time Rooban facing issue

slim flame
bold canyon
#

FYI Initial payment method is generated based on stripe card element

slim flame
#

Switch to this. I highly recommend following that doc end to end to have the best integration which will work well for 3DS

restive adder
#

Here's the complete code of my Payment.tsx. Firstly, I have created a custom card form for stripe inputs. Once the user pressed the Complete pay button, I just calling stripe.createPaymentMethod to get the payment method id and share the id to the backend. In return the backend will send me the payment intent id and client secret in response for the 3d secure cards.

My question is, how to handle these hiccups in the custom fields and to handle the payment for 3d secured cards

slim flame
#

sounds good let me have a look

gloomy fulcrumBOT
restive adder
#

As you can see, I have implemented the handleNextAction on AddBooking function. But, it is not getting triggered

cunning pivot
#

Hello! I'm taking over and catching up...