Hacker News new | ask | show | jobs
by j-m-o 4854 days ago
I just implemented Stripe payments on my first side project [1], but the jquery payment plugin wasn't on the radar when I was building it. Are there any advantages to using it over the jquery validator as seen in one of Stripe's payment examples? [2].

By the way, getting everything up and running with Stripe was a dream, it's an amazing product. Great work.

[1] http://www.tryringo.com

[2] https://gist.github.com/boucher/1750368

1 comments

For validations there's not much point in using jQuery.payment over Stripe.js - they're practically the same. However, where the jQuery plugin really shines is with formatting the expiry and card inputs. Inputting a cc number in groups of 4 digits is much easier than a whole number munged together.