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
Describe the bug
I have written code to handle Stripe exceptions using a combination of FailureCode.failed and the localized error message. I have added a Stripe test card ending with 3178 for testing.
To Reproduce
Steps to reproduce the behavior:
Add a Stripe test card ending with 3178 (insufficient funds).
Implement the code to handle the exception and display the localized error message.
Complete the Stripe payment flow on both Android and iOS.
Expected behavior
On Android, when the user completes the Stripe payment flow, the callback is received immediately, and the localized error message correctly states: Your card has insufficient funds.
On iOS, the user should see the same localized message, Your card has insufficient funds, when the card has insufficient funds.
Actual Behavior:
On Android, the callback is received immediately with the correct error message.
On iOS, after the payment flow completes, a window pops up with the message "Authentication complete," and the user has to manually close the window.
The localized error message on iOS then shows: Your card was declined, instead of the expected message: Your card has insufficient funds.
Smartphone / tablet
Device: iPhone 15
OS: iOS 15, Android 14
Package version: 9.5.0+1
Flutter version 3.24.2
Additional context
The behavior on Android is correct and consistent with the expected localized error message for insufficient funds.
The issue seems to be specific to iOS, where the additional window and incorrect error message are displayed..
The text was updated successfully, but these errors were encountered:
Describe the bug
I have written code to handle Stripe exceptions using a combination of FailureCode.failed and the localized error message. I have added a Stripe test card ending with 3178 for testing.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
On Android, when the user completes the Stripe payment flow, the callback is received immediately, and the localized error message correctly states: Your card has insufficient funds.
On iOS, the user should see the same localized message, Your card has insufficient funds, when the card has insufficient funds.
Actual Behavior:
On Android, the callback is received immediately with the correct error message.
On iOS, after the payment flow completes, a window pops up with the message "Authentication complete," and the user has to manually close the window.
The localized error message on iOS then shows: Your card was declined, instead of the expected message: Your card has insufficient funds.
Smartphone / tablet
Additional context
The behavior on Android is correct and consistent with the expected localized error message for insufficient funds.
The issue seems to be specific to iOS, where the additional window and incorrect error message are displayed..
The text was updated successfully, but these errors were encountered: