Checkout Components is not enabled by default. To request access, contact your Customer Success Manager or FastSpring Support.
FastSpring Checkout Components is a JavaScript library for embedding a fully styleable, PCI-compliant checkout directly into your site or app. You add a few elements to your page (a card form, a pay button, and a disclosures block), and FastSpring handles payment capture, tax, fraud screening, and order completion.
Checkout Components requires a server endpoint that creates sessions via the FastSpring Sessions API. This can be your own backend, a serverless function, or a teammate's responsibility. You will need a session ID before the checkout can activate.
If you are embedding checkout UI into a site or app, Checkout Components is the right tool. If you need to drive FastSpring from a backend (creating orders, syncing accounts, pulling reports), use the FastSpring REST API. A typical setup uses both: the REST API on your server to create the session, and Checkout Components on the frontend to render the checkout.
The components
More components are planned. New additions will appear here as they are released.
How it works
Each component renders inside its own iframe served from FastSpring's domain. Card data never touches your origin, which keeps you out of PCI scope.
Every component accepts a style object with per-state overrides. See the Style API for how the system works, or jump straight to the Starting templates in the Integration Guide for three ready-to-use presets.
