Adyen / adyen-cse-web

[DEPRECATED] Client-side encryption on JavaScript
MIT License
15 stars 39 forks source link

adyen.cardtype.determine doesn't support 19 digits visa card detection #71

Closed dorissssss closed 5 years ago

dorissssss commented 6 years ago

Hi,

We want to use the card detection feature provided by Adyen but noticed that Visa 19 digits card is not supported. I suppose it's an easy fix which only need to add 19 here? https://github.com/Adyen/adyen-cse-web/blob/master/js/addOns/adyen.cardtype.js#L47

Is it possible to update that so that we can use this feature in our production?

(P.S. I have it fixed in my repo and happy to make a PR if I have permission) https://github.com/dorissssss/adyen-cse-web/commit/d8be0f2037e4608a900a0daf2457adade02cb62c