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

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

@mhabbasi-gh

Description

@mhabbasi-gh

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions