Stripe launches jQuery.payment library to help developers craft better payment platforms

320px-Cash_RegistersStripe, a developer-friendly online payments system, recently launched jQuery.payment, a library of code information that would allow developers to establish better payment platforms without merchant accounts or bank relationships while still ensuring transaction security.

The jQuery library, which operates under a JavaScript framework, incorporates a number of tasks, including display of card type, validation of card numbers and formatting of card numbers into a single source, which will allow developers to more easily add payments to a website, TechCrunch reports.

When purchasers input their credit card information into a payment form, the form will detect whether the card is a Visa, MasterCard or American Express card based on the card number. An underlying algorithm also helps to detect whether the card number was entered incorrectly.

“It turns out that rolling your own code that restricts and formats input is particularly tricky in JavaScript,” Stripe said. “You have to cater for lots of edge cases such as users pasting text, selecting and replacing numbers, as well as the different ways credit card numbers are formatted. We’ve spent a lot of time tuning our formatting and validation logic as well as testing and ensuring cross browser capability, so [developers] don’t have to reinvent the wheel.”

Stripe, a payments startup that competes with PayPal and Braintree and is backed by PayPal co-founder Elon Musk, among others, allows developers to utilize the library’s tools even if they do not accept payments on the Stripe platform. The library, however, is designed to power Stripe’s Checkout features launched several weeks ago, according to TechCrunch.

Comments are closed.