Skip to content
This repository has been archived by the owner on Apr 19, 2022. It is now read-only.

Stripe.card.validateCreditCardNumber doesn't return error for invalid cards #177

Open
mhabbasi-gh opened this issue Dec 3, 2021 · 0 comments

Comments

@mhabbasi-gh
Copy link

Bug report

Describe the bug

the function Stripe.card.validateCreditCardNumber doesn't return error for some invalid card numbers such as "4242 4242 42"

To Reproduce

type "4242 4242 42" in a field which is hooked to Stripe.card.validateCreditCardNumber, it validates the number as if it is a valid card number

Expected behavior

to return an error because the card number is invalid

System information

  • macOS
  • Chrome
  • Javascript
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant