Recurly.js
Recurly.js is a browser JavaScript library for securely handling payment details in your own checkout — reducing PCI scope while giving you full control over the user experience.
Prerequisites
- Moderate understanding of JavaScript
- An active Recurly account
- Familiarity with payment gateway integrations
Definition
Key benefits
Key details
PCI compliance with Elements
Recurly.js includes Elements — secure payment fields that embed directly into your checkout form. Elements handle the sensitive input on Recurly's infrastructure while remaining visually indistinguishable from your own UI, helping you qualify for reduced PCI scope without sacrificing design control.
How the token flow works
When a customer submits their payment details, Recurly.js transmits that data directly to Recurly — encrypted and stored on Recurly's servers. Your application receives a token in return. Use that token in any Recurly API call that requires payment details. Because your servers never see or store the raw card data, your PCI exposure is minimized.
Developer documentation
For full implementation details, code examples, and integration guidance, see the Recurly.js developer documentation.
Updated 3 days ago