3 ms·
This is the best credit card form: http://dribbble.com/shots/59549-Credit-card-form http://dribbble.com/shots/59549-Credit-card-form I want to do a version of
by aaronblohowiak 15y ago
This is the best credit card form: http://dribbble.com/shots/59549-Credit-card-form http://dribbble.com/shots/59549-Credit-card-form
I want to do a version of that which begins with the credit card types desaturated and then colors the one that matches the number entered (for which there are Free js libs)
- tajddin 15y ago>I want to do a version of that which begins with the credit card types desaturated and then colors the one that matches the number entered (for which there are Free js libs) This is similar to the way PayPal does it, which I've always thought is a great, subtle way of confirming the card type.
- gergles 15y agoYou don't really need a whole library to do it, just the first digit is enough. 3 = amex, 4 = visa, 5 = MC, 6 = discover.
- brokentone 15y agoAgreed with everyone here. Why require people to choose the card type? I don't buy the additional step for security argument. A thief will know what type their card is supposed to be. Just lazy development. Also, the credit card number series should be tightened up when automatically selecting card type. Wikipedia actually has a nice list of the series (http://en.wikipedia.org/wiki/Credit_card_number http://en.wikipedia.org/wiki/Credit_card_number).
- andymurd 15y agoI think the only reason to ask for a card type is to discourage customers from trying to pay with an unsupported one. Merchants can still be charged fees for declined transactions. A few of the larger merchants can benefit from choosing a different transaction acquirer based on card type (e.g. lower fees for Amex) but they should not trust the card type selected by the customer.
- jfarmer 15y agoThe card type is a function of the card number, so the merchant has several chances to reject it before they send it off to the payment gateway.