-
Notifications
You must be signed in to change notification settings - Fork 266
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Payment Sheet input validation incorrectly marks account numbers as invalid. #1770
Comments
Hi @timleyden Thanks for flagging this problem. The account number validation logic is from the underlying Stripe Android SDK. I've already informed the Stripe mobile SDK team about this problem. Once this problem is fixed in the new Android and iOS SDK, you can just remove |
Hey @timleyden! This was fixed in this PR and released in v21.0.1. Please re-open if you continue having issues. |
Hello @samer-stripe and @seanzhang-stripe! I believe we should still open this issue cause it is still happening on iOS. |
@samer-stripe i don't seem to be able to reopen |
Describe the bug
After moving from elements hosted on a web page to the react native sdk with payment sheet we got several reports that stripe was not allowing users to enter bank account numbers. After investigation we found that several banks in Australia have 6 digit account numbers. When a customer enters this valid number they cannot proceed and receive a validation error stating the number in incomplete
To Reproduce
Steps to reproduce the behavior:
Expected behavior
except 6 digit account numbers
alternatively automatically padding with 0s but this may lead to confusion
Screenshots
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: