Skip to content

Card is Valid, but return invalid. #137

@pedroanalista

Description

@pedroanalista

Card Number: 6505 0703 1003 9904
Issuing Bank: CAIXA
Card Brand: DISCOVER
Card Type: CREDIT
Card Level: PERSONAL

Please check card valid in https://www.bincodes.com/creditcard-checker/

Run:

let card_number = "6505 0703 1003 9904"
var numberValidation = valid.number(card_number.trim().substring(0, 4));

Result:

{
card: null,
isPotentiallyValid: true,
isValid: false,
}

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