News for hackers. Stuff that matters.
Re:How I Lost My $50,000 Twitter Username by anthonys on Wednesday January 29, 2014 @05:08AM (#7143025)
I agree- there's no need to get people to choose the type of card however for 2), that's not always the case.

Pretty much all cards can be validated with the Luhn algorithm in js. See http://stackoverflow.com/questions/20725761/validate-credit-...

Re:How I Lost My $50,000 Twitter Username by delinka on Wednesday January 29, 2014 @10:03AM (#7144186)
The card number can be validated, that doesn't make it a valid card. You still have to ask the issuing bank whether the card is an active account, whether it has the funds for the purchase, etc
Re:How I Lost My $50,000 Twitter Username by gaius on Wednesday January 29, 2014 @02:55PM (#7146317)
Yes - things such as two transposed digits can easily and should be trapped on the client side.