FormTextField icon indicating copy to clipboard operation
FormTextField copied to clipboard

American Express cards are invalid

Open anthonycastelli opened this issue 7 years ago • 1 comments

A typical credit card number (i.e. Mastercard) looks like this: 5555 5555 5555 4444 and an American Express card looks like 3782 822463 10005

Using the Default CardNumberFormatter, American Express cards are invalid. Can we get some sort of formatter that can be used with both?

anthonycastelli avatar Oct 01 '18 19:10 anthonycastelli

Hi @anthonycastelli!

Should be possible to have an algorithm that supports all types.

https://ux.stackexchange.com/questions/51346/why-do-credit-card-forms-ask-for-visa-mastercard-etc

3lvis avatar Oct 01 '18 19:10 3lvis