stripe-react-native icon indicating copy to clipboard operation
stripe-react-native copied to clipboard

CardField always returns generic Card details not complete

Open ziga-hvalec opened this issue 3 years ago • 0 comments

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:

  1. enter invalid card n umber, exp date or cvc into CardField
  2. Call createToken
  3. 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 Screenshot 2022-02-16 at 13 56 58 Screenshot 2022-02-16 at 13 56 18

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 /

ziga-hvalec avatar Feb 16 '22 13:02 ziga-hvalec