stripe-react-native
stripe-react-native copied to clipboard
CardField always returns generic Card details not complete
Describe the bug When using cardField and calling createToken when card number, exp date or cvc are invalid(highlighet in red), createToken always returns message "Card details not complete" and code "Failed".
To Reproduce Steps to reproduce the behavior:
- enter invalid card n umber, exp date or cvc into CardField
- Call createToken
- Look at error message
Expected behavior I would expect to receive correct error message for the invalid field(card number, exp date or cvc)
Screenshots
Desktop (please complete the following information):
- OS: android and iOS
- Browser /
- Version 0.2.4
Smartphone (please complete the following information):
- Device: iPhone 13 simulator, iPhone 8, Google Pixel 6
- OS: 15.2, 15.2, 12
- Browser /
- Version /