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

Custom card? #126

Closed pocesar closed 9 years ago

pocesar commented 10 years ago

In Brazil we have Hipercard, that has 19 digits. Is there a way to create a custom validation rule / group for it? Maybe an static property on $.payment.addCard

jamesreggio commented 9 years ago

As of v1.2.0, you can add card types to the $.payment.cards array.