#thenext_code
1 messages ¡ Page 1 of 1 (latest)
đ 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/1215274974965661756
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
To provide more information that didn't fit in the form, we are using Stripe test cards and they are failing to present 3DS views when using customFlow exclusively on iOS devices.
Hi, let me help you with this.
Why are you calling confirmPaymentSheetPayment() exactly?
Are you following this guide? https://docs.stripe.com/payments/accept-a-payment?platform=react-native
We are implementing a customFlow implemention so we don't confirm the payment in the stripe payment sheet.
We are following this custom implementation guide. https://docs.stripe.com/payments/accept-a-payment?platform=react-native&ui=payment-sheet#react-native-flowcontroller
The last step is to call confirmPaymentSheetPayment
Are you calling confirmPaymentSheetPayment() the payment right after you run initPaymentSheet(), as in the snippet you provided?
No, that was done just to show both parts of the code.
We initPaymentSheet() when our basket page loads
Then we presentPaymentSheet() when the user chooses to add a card by pressing the add card button.
Then we have a pay button which will trigger confirmPaymentSheetPayment().
Are you sure the confirm is called after the sheet is closed?
Yes it is definitely closed, the button is hidden behind the payment sheet, so the user can't see it until it is closed
It is worth noting this flow works perfectly on Android but not on iOS
Do you mind writing in to https://support.stripe.com/?contact=true
This way my engineering team will have more time to dive into the problem.
Please provide all the relevant details, versions, etc.
Thanks I will do this