credit_card_validations
credit_card_validations copied to clipboard
Diners Club credit cards are detected as Discover
Some diners Club credit cards are detected as Discovers. It happens when I am raising the digits of diners club card from 14.
Additionally, for some countries the diners club card can be up to 19 digits. But we have only 14 digit validation. Probably, this is the reason. Also, please cross check these https://github.com/didww/credit_card_validations/blob/master/lib/data/brands.yaml#L66, https://github.com/didww/credit_card_validations/blob/master/lib/data/brands.yaml#L490.