stripe-archive / jquery.payment

[DEPRECATED] A general purpose library for building credit card forms, validating inputs and formatting numbers.
MIT License
3.53k stars 686 forks source link

Can't make 19 digits length custom card #239

Closed SerikK closed 8 years ago

SerikK commented 8 years ago

I have such code and I want to make the possibility to enter 19 digits instead of 16. How I can do that?

jenanwise commented 8 years ago

Hi there @SerikK. You can use custom cards with 19 digits. Your pattern is being masked by another pattern (they are selected in order). You want to use more-specific patterns and use unshift rather than push.

SerikK commented 8 years ago

Thanks @jenanwise , Worked like a charm.