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

Update postal code logic for CardMultilineWidget #1996

Merged
merged 1 commit into from
Dec 23, 2019
Merged

Conversation

mshafrir-stripe
Copy link
Collaborator

  • Default to showing postal code (i.e. shouldShowPostalCode = true)
  • Change postal code hint field to be "Postal Code" instead of "Zip Code"
  • Remove all validation from postal code field
  • Remove CardInputListener.onPostalCodeComplete() - we no longer
    have a way to determine when the postal code has been completed, because
    this field supports all postal codes

Fixes #1778

Postal Code enabled (default) Postal Code disabled
Screenshot_1576878348 Screenshot_1576878339

- Default to showing postal code (i.e. `shouldShowPostalCode = true`)
- Change postal code hint field to be "Postal Code" instead of "Zip Code"
- Remove all validation from postal code field
- Remove `CardInputListener.onPostalCodeComplete()` - we no longer
  have a way to determine when the postal code has been completed, because
  this field supports all postal codes

Fixes #1778
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support other country's postal code except for US?
6 participants