card-validator icon indicating copy to clipboard operation
card-validator copied to clipboard

Enhance cardholder name validation

Open MrLightful opened this issue 11 months ago • 1 comments

The cardholder name is in fact should have a very limited max length. Although it differs per issuer, it should be mostly covered by the limit of 24. For example, Stripe own issued cards have this limit (see more). This is important, because some acquirers will trigger a fraud detection if the cardholder name doesn't match exactly as on the card (incl. abbreviation due to this max length).


  • [x] Default max length to 24
  • [x] Accept custom max length

MrLightful avatar Jan 14 '25 13:01 MrLightful

Do you have any documentation from payment card brands regarding your assertion about max length for names?
24 characters (total) seems quite short, especially for those with hyphenated last names.

Visa Checkout, for example, has limits of 24 characters for first name and last name (each).

ibooker avatar Jan 14 '25 22:01 ibooker