credit_card_validations icon indicating copy to clipboard operation
credit_card_validations copied to clipboard

Diners Club credit cards are detected as Discover

Open cht-wtag opened this issue 4 months ago • 0 comments

Some diners Club credit cards are detected as Discovers. It happens when I am raising the digits of diners club card from 14. image

image

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.

cht-wtag avatar Oct 18 '24 14:10 cht-wtag