You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the user closes the payment sheet once, reopens the payment sheet, and then attempts to pay with a card that requires 3d secure authentication, the presentPaymentSheet function incorrectly returns a user canceled error. Visually, the payment sheet still provides positive feedback with a green tick, and the success web hooks fire as expected.
Trying to reopen the payment sheet again after this error then fails because the paymentIntent has been used, with No payment sheet has been initialised.
We've reproduced this in our own app with an android emulator as well as in the example repo.
To Reproduce
Steps to reproduce the behavior:
On an android device, open the stripe payment sheet
Close the payment sheet manually
Reopen the sheet, and pay with a card that triggers 3d secure (we've been using 4000000000003220 from this section of the docs)
Authenticate the payment properly
Payment will show as complete
{ error } from presentPaymentSheet will return user canceled error instead of success
Attempting to reopen the sheet now will throw No payment sheet has been initialised error
Expected behavior
We expect presentPaymentSheet to not return an error after successful payment with 3d secure in the scenario described above.
Smartphone (please complete the following information):
Device: Pixel 5
OS: Api 34
Additional context
Tried on both @stripe/stripe-react-native version 0.37.3 & 0.37.1
The text was updated successfully, but these errors were encountered:
Describe the bug
If the user closes the payment sheet once, reopens the payment sheet, and then attempts to pay with a card that requires 3d secure authentication, the
presentPaymentSheet
function incorrectly returns auser canceled
error. Visually, the payment sheet still provides positive feedback with a green tick, and the success web hooks fire as expected.Trying to reopen the payment sheet again after this error then fails because the
paymentIntent
has been used, withNo payment sheet has been initialised
.We've reproduced this in our own app with an android emulator as well as in the example repo.
To Reproduce
Steps to reproduce the behavior:
4000000000003220
from this section of the docs){ error }
frompresentPaymentSheet
will returnuser canceled
error instead of successNo payment sheet has been initialised
errorExpected behavior
We expect
presentPaymentSheet
to not return an error after successful payment with 3d secure in the scenario described above.Smartphone (please complete the following information):
Additional context
@stripe/stripe-react-native
version0.37.3
&0.37.1
The text was updated successfully, but these errors were encountered: