ezet / stripe-sdk

A simple and flexible Stripe library for Flutter with complete support for SCA and PSD2.
https://pub.dev/packages/stripe_sdk
Other
137 stars 137 forks source link

Postal code only accepts numbers #147

Closed nouhouari closed 2 years ago

nouhouari commented 3 years ago

https://github.com/ezet/stripe-sdk/blob/b4e027a18e177653f9d0ad3931f71c9e26711901/lib/src/models/card.dart#L25

Postal code only accepts numbers but some countries include letters in their Zip code. The library should allow the user to specify how to validate the zip code.

ezet commented 2 years ago

Fixed on master.