#alexzada - 3Ds

1 messages ยท Page 1 of 1 (latest)

ancient notch
#

Hi ๐Ÿ‘‹

atomic elbow
#

hi ๐Ÿ‘‹

ancient notch
#

What are you testing? How are you triggering 3DS authentication?

atomic elbow
#

` 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

ancient notch
#

Okay do you have an example Payment Intent ID where this occurred?

#

Sorry it's been a while

atomic elbow
ancient notch
#

Creating the Payment Intent should create a record in your Stripe API logs

#

you can share that request ID and that will work

ancient notch
#

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.

ancient notch
#

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