adyen-android
adyen-android copied to clipboard
Mastercard credit card brand not recognized correctly
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.
Thanks, I forwarded this internally 👍
Test Visa card 4111 1111 4555 1142 is also not recognized after the 10th character.