News for hackers. Stuff that matters.
Re:jQuery.payment by ux-app on Thursday February 07, 2013 @05:22PM (#5184914)
This is the reason why I don't like doing any client side validation of card data (beyond the basic check for empty fields).

I would much rather incur a 2-3sec browser roundtrip by posting raw payment details to my bank/gateway and allowing them to do the validation (they're presumably much better at it than I am).

Doing client side validation is too error prone, and considering that accepting card data is done so rarely, the (minimal) performance gain of JS validation isn't worth the risk of rejecting good data by accident.

Re:jQuery.payment by alttab on Thursday February 07, 2013 @06:08PM (#5185131)
You, but whatabout a laymen user who doesnt care ehat your justifications are? They want people to build snappy mobile web apps. This creates competition and legitimacy for them
Re:jQuery.payment by ux-app on Thursday February 07, 2013 @09:43PM (#5186007)
Not really sure what point you're making. Validating on the server will incur a 2-10sec penalty once when entering payment data... the rest of your app is unaffected.
Re:jQuery.payment by reaclmbs on Thursday February 07, 2013 @10:27PM (#5186128)
You have to pay for failed authorization attempts
Re:jQuery.payment by ux-app on Thursday February 07, 2013 @10:49PM (#5186190)
Do you mean pay money for each auth attempt?? I've never heard of such a charge. Maybe time for a new gateway/bank?
Re:jQuery.payment by saikat on Friday February 08, 2013 @01:03PM (#5189175)
You actually don't pay for failed auth attempts with Stripe, but you do with most other gateways.