The Paddle checkout is a simple and elegant interface to take payments for your products or subscription plans on your web store. The checkout is powered by our
We recommend that you use our Overlay Checkout. This is an iframe that is displayed over your own webpage when the checkout is triggered. The checkout is customized with your product logo and brand color, and the user experience is optimized by us for maximum conversion.
If you prefer not to use the Overlay Checkout, you can also use the Inline Checkout (embedded in your page) or go off-site with a direct checkout link.
The paddle.js library can be imported by linking to Paddle’s CDN resource. Following the inclusion of the library, you must call the
Paddle.Setup() method with your Paddle Vendor ID.
Please do not self-host Paddle.js, this will prevent you from receiving bug fixes and new features.
Invoking the basic checkout
You can make any clickable element on your page into a buy button, either by adding the
paddle_button class or by calling the
Paddle.checkout.open() method on a
click event. Using a Paddle Button is the simplest way to trigger the checkout:
<a href="#!" class="paddle_button" data-product="12345">Buy Now!</a>
By default, the buy button will be styled green. You can disable the styling by adding the property
data-theme with the value
Invoking the flexible checkout