Enhance cardholder name validation
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
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).