kenkeiter / skeuocard

Skeuocard progressively enhances credit card inputs to provide a skeuomorphic interface.
http://kenkeiter.com/skeuocard/
MIT License
3.24k stars 231 forks source link

Discover requires 4 digits #136

Closed nodesocket closed 10 years ago

nodesocket commented 10 years ago

Why does it take four digits to show discover 6011, shouldn't it be possible to know that it is discover with 60 alone.

kenkeiter commented 10 years ago

Officially, 6011 is the BIN number assigned to Discover. While I could discover Discover (heh, see what I did there?) with 60 alone, the chance of me also accidentally matching another provider and potentially limiting input in a way that could prevent a sale from completing is high.

Long story short, it's really easy for you to make this change on a one-off basis by modifying the card product matchers, but I'm not willing to force everyone into it, on the off chance that it might cause problems for customers.