Stripe releases jQuery library for online credit card forms

Stripe releases jQuery library for online credit card forms

Summary: Whether you use its service or not, Stripe wants to make it easier for developers to build dead-simple online credit card forms.


You've got to love it when a young technology company has its head in the right place. That's the case with Stripe, the San Francisco-based startup that exists solely to make it easier for businesses to collect payment for their goods or services online. 

"We believe that enabling transactions on the web is a problem rooted in code, not finance," the company says on its 'about' page. "We want to help put more websites in business."

On Friday, the company released jQuery.payment, a general purpose library for building those forms. The library helps developers validate input and format it for the user, from the card's actual number to its expiration date.

The idea here? That there is no point in every single vendor trying to figure this out for itself. "You don't have to reinvent the wheel," JavaScript programmer Alex MacCaw writes. He's right.

If you want to give it a whirl before you pluck it from GitHub, you can do so here.

Topics: Web development, Banking, Start-Ups

Andrew Nusca

About Andrew Nusca

Andrew Nusca is a former writer-editor for ZDNet and contributor to CNET. During his tenure, he was the editor of SmartPlanet, ZDNet's sister site about innovation.

Kick off your day with ZDNet's daily email newsletter. It's the freshest tech news and opinion, served hot. Get it.


1 comment
Log in or register to join the discussion
  • The Number Part Can Be A Pain

    I've come across sites that insisted you put in the 16-digit number as one blob, no grouping separators allowed. To their credit, these guys make the separators optional, and both dashes and spaces seem to work. And they do check-digit verification as well.

    If you want to try the test page, you can use this fake credit-card number: "4111-1111-1111-1111". Also watch what happens when you change one digit.