jondavidjohn / payform

:credit_card: A library for building credit card forms, validating inputs, and formatting numbers.
https://jondavidjohn.github.io/payform/
Other
427 stars 81 forks source link

Credit card number lengths #43

Closed glebm closed 6 years ago

glebm commented 6 years ago

Looks like many cards can have up to 19 digits: https://www.nccgroup.trust/uk/about-us/newsroom-and-events/blogs/2016/november/prepare-for-19-digit-credit-cards/

Number generator for validatons: https://www.freeformatter.com/credit-card-number-generator-validator.html

The list here seems to be more up-to-date: https://github.com/jessepollak/payment/blob/master/src/index.coffee

Also may have issues though, see e.g. https://github.com/jessepollak/payment/issues/98

jondavidjohn commented 6 years ago

@glebm Is this resolved with #44 ?

glebm commented 6 years ago

I think so yeah