adyen-android icon indicating copy to clipboard operation
adyen-android copied to clipboard

Mastercard credit card brand not recognized correctly

Open BenedictP opened this issue 3 years ago • 2 comments

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.

BenedictP avatar Nov 08 '21 10:11 BenedictP

Thanks, I forwarded this internally 👍

jreij avatar Nov 08 '21 11:11 jreij

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

igortepavac avatar Aug 26 '22 13:08 igortepavac