Settings

Theme

Ask HN: "Why do credit card forms still display detected card type?"

1 points by vladig17 12 years ago · 5 comments · 1 min read


Just about all checkout forms display what kind of credit card has been entered (visa, etc.). There doesn't seem like there's any reason for this, other than it's what the form has evolved into.

Is there a good reason I'm missing?

jeffmould 12 years ago

I don't think there is really is "general" reason. From a usability perspective if the user has a Visa and fat-fingers a 5 as the first digit it can be nice if they see that there may be an error before hitting submit (although in all honest I don't really pay attention to the icons that highlight on some forms and still fat finger numbers occasionally).

In a related topic on of my biggest pet peeves with sites is the ones that force you to choose the credit card type instead of detecting. Very frustrating to hit submit only to be informed you forgot to select the type of card you are using. To me there is no logical reason behind that.

  • vladig17OP 12 years ago

    Yea agreed for sure, that's just lazy.

    It seems like we went from "You have to pick ahead of time"

    to "oh wait we can auto detect! but we should still probably show something"

    to "why are we showing something at all?"

    Or at least, that's where I'm at.

karolisd 12 years ago

It adds some feedback to the user saying "I recognize the type of cart you've entered."

  • bediger4000 12 years ago

    Wouldn't some other feedback actually be better? If your JavaScript can calculate the Luhn checksum, and then give a checkmark or something, you've actually done better than just checking the card number's first few digits.

  • vladig17OP 12 years ago

    Very true. But is there a reason that's better than a checkmark? It just doesn't seem like a user cares what card type they've entered. They already know since they got the card out.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection