-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New MasterCard prefix is not supported #5
Comments
Looking at: https://en.wikipedia.org/wiki/Payment_card_number#Issuer_identification_number_.28IIN.29 It looks like the constraint at line 657 needs changing roughly (this being done off top of my head in notepad) as follows:
|
@dnmfarrell have you had a chance to look at this? |
Uh no, sorry. I should update my GitHub notification settings. @ribasushi I'll look soon |
I think |
@dnmfarrell if your medium-term goal is to move to However if you do not have the time to follow through on that in the near future, I'd strongly recommend adopting @gquipster's solution higher up in this thread. |
The current validation routine for credit cards has no provision for "2-series" master card numbers, like e.g.
2521 0000 0000 0006
Rollout begins in couple months: https://www.mastercard.us/en-us/issuers/get-support/2-series-bin-expansion.html
The text was updated successfully, but these errors were encountered: