News for hackers. Stuff that matters.
Re:jQuery.payment by niggler on Thursday February 07, 2013 @02:48PM (#5184119)
EDIT 2: appears that the issue was fixed: https://github.com/stripe/jquery.payment/issues/1

Original Message: The card number is not linked to the CVV length:

343725117665768 is a valid american express number (generated from http://www.getcreditcardnumbers.com/)

Their CVV numbers are 4 digits, yet the inputs

    343725117665768
    12 / 21
    123
seems to pass ...

EDIT: filed issue: https://github.com/stripe/jquery.payment/issues/1

Re:jQuery.payment by pc on Thursday February 07, 2013 @02:54PM (#5184153)
We make it easy to do card type-specific CVC validation:

  $.validateCardCVC('1234', 'amex');
More at https://github.com/stripe/jquery.payment.
Re:jQuery.payment by niggler on Thursday February 07, 2013 @02:56PM (#5184171)
I would think a combined validateCardAndCVV (taking both the card number and the CVV) would be the correct approach here ...
Re:jQuery.payment by mauro_oto on Thursday February 07, 2013 @02:51PM (#5184139)
Also, you can enter "12/999" as expiry date, YYY. This probably just means some of the validations are done after data is submitted.
Re:jQuery.payment by maccman on Thursday February 07, 2013 @03:02PM (#5184204)
That's correct, we don't stop people entering invalid dates -- we just validate them after they do so.