-
Notifications
You must be signed in to change notification settings - Fork 1k
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
STPAddCardViewController ZIP Code for Canadian Customers #1302
Comments
Hi @payshake, Unfortunately I don't see a way to do that using Setting this value to anything other than "US" causes it to display the default keyboard ( stripe-ios/Stripe/STPPaymentCardTextField.m Line 361 in d4e3170
|
Thanks Yuki, I can't seem to access the Just to be clear, I will need to replace |
Sorry that this took so long to fix! We're addressing this in #1424. |
This is fixed in v18.1.0! |
* Add ownership fields * mark fields as public
Hi all,
I'm having an issue with my Canadian customers being prompted for a ZIP code on the STPAddCardViewController. The number pad and field validation make it impossible for customers to enter a postal code.
After digging around, I've found that the field is dependent on the user's defined Region in their device settings. This causes problems for users who may have moved, improperly setup their device, or are using the app in another country.
Is there any way for me to set the locale on STPAddCardViewController to match the device's current location? Alternatively, is there a way to force the ZIP code field to always be ASCII capable, rather than forced number pad? I'd rather my customers be able to pass a bad value and have the ZIP check fail on creating a token, rather than having them not be able to submit the form at all.
The text was updated successfully, but these errors were encountered: