Skip to content
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

Lower-case letters for Canadian postal codes #2302

Closed
mansoorshahsaid opened this issue Mar 20, 2020 · 4 comments · Fixed by #2304
Closed

Lower-case letters for Canadian postal codes #2302

mansoorshahsaid opened this issue Mar 20, 2020 · 4 comments · Fixed by #2304
Assignees
Labels
triaged Issue has been reviewed by Stripe and is being tracked internally

Comments

@mansoorshahsaid
Copy link

mansoorshahsaid commented Mar 20, 2020

Summary

It would be awesome for the Stripe SDK to accept lower case letters on a Canadian postal code when entering our billing information. Or automatically write in capital-case and not giving the option to go lower-case.

Right now if you try to write your postal code in lower-case, it simply tells you "Your postal code is invalid". The error message is also a little confusing for the user. They might never know why their postal code is not being accepted by the SDK.

Installation method

Android Gradle

SDK version

Version 14.2.0

@mshafrir-stripe
Copy link
Collaborator

@mansoorshahsaid can you share a screenshot of what you're seeing?

@mshafrir-stripe mshafrir-stripe added the triaged Issue has been reviewed by Stripe and is being tracked internally label Mar 20, 2020
@mshafrir-stripe mshafrir-stripe self-assigned this Mar 20, 2020
@mansoorshahsaid
Copy link
Author

Sure @mshafrir-stripe, here you go. In both of these cases (space in the middle or not) work with upper case letters. But as you can see it does not work when lowercased.

issue-1
issue-2

@mshafrir-stripe
Copy link
Collaborator

Thanks!

@michelleb-stripe
Copy link
Contributor

Now only US zip codes will be validated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triaged Issue has been reviewed by Stripe and is being tracked internally
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants