Adyen / adyen-cse-web

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

The library considers valid cards that have expired 2 years ago #77

Closed artur-code closed 5 years ago

artur-code commented 6 years ago

Why considers year check valid cards that have expired 2 years ago ? return year >= currentYear - 2 && year <= currentYear + 15;