Skip to content
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

Mastercard credit card brand not recognized correctly #523

Open
BenedictP opened this issue Nov 8, 2021 · 2 comments
Open

Mastercard credit card brand not recognized correctly #523

BenedictP opened this issue Nov 8, 2021 · 2 comments
Labels
Confirmed bug Indicates that issue has been confirmed to be a bug by an Adyen developer

Comments

@BenedictP
Copy link

Describe the bug
The Credit Card with the number 5555 3412 4444 1115 is from your Test card numbers page: https://docs.adyen.com/development-resources/test-cards/test-card-numbers#mastercard
But the card component is not able to recognize this number as a mastercard.

To Reproduce
Enter 5555 3412 4444 1115 and the brand is not recognized. Till 5555 3412 44 it's marked as a mastercard but with the next number it doesn't matches the regex anymore.

Expected behavior
This number is recognized as a mastercard.

@jreij
Copy link
Collaborator

jreij commented Nov 8, 2021

Thanks, I forwarded this internally 👍

@igortepavac
Copy link

Test Visa card 4111 1111 4555 1142 is also not recognized after the 10th character.

@jreij jreij added the Confirmed bug Indicates that issue has been confirmed to be a bug by an Adyen developer label Jan 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Confirmed bug Indicates that issue has been confirmed to be a bug by an Adyen developer
Projects
None yet
Development

No branches or pull requests

3 participants