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

Maestro cards pattern #53

Closed Stephs15 closed 5 years ago

Stephs15 commented 5 years ago

Hi! Taking examples from adyen test cards the latest changes on the pattern for maestro cards will make these evaluate false for valid cards. For example: 6771 7980 2100 0008 or 6771 8300 0000 0000 006. Was this change taken from any official source? According to this document - Page 73 BINs for maestro cards should be on the ranges between 639000 to 639099 and 670000 to 679999

ddayguerrero commented 5 years ago

Hi @Stephs15!

Our list of supported BINs and their sources can be found here CARDRULES.md

Meanwhile, I'll take a look and if everything seems legitimate then we can open a PR. I had a hard time finding good sources for Maestro...