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

Inconsistent behaviour regarding postal code validation on iOS and Android #2817

Open
remonh87 opened this issue Aug 3, 2023 · 2 comments
Open
Labels
triaged Issue has been reviewed by Stripe and is being tracked internally

Comments

@remonh87
Copy link

remonh87 commented Aug 3, 2023

Describe the bug
Payment was made with an incorrect postal code format for Canada on the paymentsheet.

To Reproduce
Steps to reproduce the behavior:

Click the «Pay» button
Enter «Test» on the Name field
Enter «4242424242424242» on the Card number field
Enter «12/24»
Enter «242» CVC
Choose Canada Country
Enter «XYZ» on the Postal code
Expected behavior
Payment declined. An error is displayed

Smartphone / tablet

Device: iPhone X
OS: iOS 16.6
Package version: 9.2.2
Flutter version 3.10.5

On Android we get a payment declined

@charliecruzan-stripe
Copy link

Transferring from the stripe-react-native repo: this correlates to v23.12.0 (most recent version)

@davidme-stripe davidme-stripe added the triaged Issue has been reviewed by Stripe and is being tracked internally label Aug 4, 2023
@davidme-stripe
Copy link
Contributor

davidme-stripe commented Aug 4, 2023

Thanks for filing this. We only validate ZIP codes in the US at the moment, but we'll add support for Canadian postal codes to match Android's behavior.

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

No branches or pull requests

3 participants