Go back

Blog

Credit Card Field

On a credit card digits are shown in this format– XXXX XXXX XXXX XXXX

However, when I make a purchase online the credit card field is a simple text box.  Because all 16 digits appear as one block it’s hard to double-check digits by looking at the credit card.  I’ve never seen a site that displays digits exactly as they appear on the card.  Then I discovered mcmaster.com

On mcmaster.com moment you complete entering credit card digits extra spacing is automatically inserted.  This makes it much easier to verify digits with the card.

Comments 3

avatar

I agree, this is a great idea that will reduce frequent card entry errors, but some logic would need to be included that would decipher between if the card is a (Visa, M/C, Disc) or an Amex, which has a different format. For Amex only the numbers would need to be displayed in a 4-6-5 digit pattern instead of a 4-4-4 pattern as follows:

XXXX XXXXXX XXXXX

Since all Amex numbers begin with a number 3, the logic could easily adjust based on that entry. Great find and thanks for posting.

Reply
avatar

Hi Patrick,

Good point. It would be best (I suppose) to add a field above “card number” that asks visitors to identify card type. Then, based on card type text field format could adjust.

Rishi

Reply

avatar

Hi Patrick,

I agree. Adding an extra step in checkout isn’t usually ideal but in this case it makes sense since it leads to better overall user experience.

Rishi

Reply

IF THE COMMENT SECTION REMAINS EMPTY I'M GOING TO LOSE MY JOB

Cancel Reply
Email will not be published
fried_egg.png

I like seeing marketing ideas I've never seen before

True or False? ??

fried_egg.png

Then you are in the right place.

Receive 1 unique conversions idea in your inbox every week. Interested?