Closed sumitmundra closed 3 years ago
Thanks for the report @sumitmundra. This behavior should be specific to Stripe's test cards which are handled differently than live cards, but I have a fix for this that we'll include in the next release. In the meantime if you are interested in testing 19 digit UnionPay card support you can try 6205500000000000004
@csabol-stripe Hi, I have the same problem. Now is there a way for me to test the 16 digit UnionPay card?
Ah my fault @cythb I forgot that the test card number I shared above isn't enabled for all accounts :\ I'll look into finding a test card number that should work but this may have to wait until our next release
This is fixed in 21.3.0.
When entering a UnionPay card number (e.g 6200000000000005) on iOS the form mark it as invalid where on Android it is marked as valid
STPPaymentCardTextField().isValid Give invalid
SDK version : 21.2.1
Summary
Code to reproduce
iOS version
iOS 13 and iOS 14
Installation method
cocoapods
SDK version
SDK version : 21.2.1 ## Other information