#alexzada - 3Ds
1 messages ยท Page 1 of 1 (latest)
hi ๐
What are you testing? How are you triggering 3DS authentication?
` const { error: createIntentPaymentError, clientSecret } = data
if (createIntentPaymentError) {
Alert.alert('Error', 'Houve um erro ao executar o pagamento. Por favor, tente novamente.')
return
}
const { error: confirmPaymentError, paymentIntent } = await confirmPayment(clientSecret, {
type: 'Card',
})
if (confirmPaymentError) {
Alert.alert('Error', 'Houve um erro ao executar o pagamento. Por favor, tente novamente.')
} else if (paymentIntent) {
Alert.alert('Success', paymentIntent.id)
}`
with the card 4000002500003155
Okay do you have an example Payment Intent ID where this occurred?
Sorry it's been a while
how can i get this?
Here's how you can find a request ID: https://support.stripe.com/questions/finding-the-id-for-an-api-request
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.
Creating the Payment Intent should create a record in your Stripe API logs
you can share that request ID and that will work
req_v8OqJ3qvRfjoq2
Okay... I think I get it now. This is a part of your integration that needs to handle users being directed outside the app and then returned back to it from an outside URL.
It appears this is also due Expo requiring you to use an outdated version of Stripe Android/Stripe React Native which includes a bug relating to redirects from 3DS