capacitor-community / stripe

Stripe Mobile SDK wrapper for Capacitor
https://capacitor-community-stripe.netlify.app/
MIT License
192 stars 77 forks source link

identifyCardBrand function always return unknown card type #60

Closed pashyaaa closed 3 years ago

pashyaaa commented 3 years ago

Describe the bug identifyCardBrand function always returns an unknown card type. I tried with real cards also but no luck. it always returns an unknown card.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots image

Desktop (please complete the following information):

Additional context Same problem with validateCardNumber function it always returns card as valid.

rdlabo commented 3 years ago

Thanks for issue! Today this plugin of v3 is released. This not compatible with v1. All APIs have been revamped. So I will close this issue. If you still have the same problem, please create a new Issue. Thank you.