Get started
Build
Your Paddle account
Your Paddle catalog
The Paddle checkout
Connect the Paddle checkout
Gather checkout details
Import the Paddle JS library
Add a Paddle button to your web page
Paddle webhooks
Testing
Learn

Import the Paddle JS library

To connect a Paddle Checkout, you must import the Paddle JS library. Steps on this page take you through adding a code snippet to your store web page, to import the library by linking to Paddle’s CDN resource.

Before starting steps on this page, you must have completed the following tasks:

TaskSection
Create a Paddle vendor accountYour Paddle account
Create a Paddle sandboxYour Paddle account
Create a subscription plan -or- create a one-time productPaddle catalog
Gather checkout detailsThe Paddle checkout

Follow steps below:

  1. Add the following code immediately before the closing body tag in your test store web page:
    preparing...
  2. Change the vendor value to your own Vendor ID, as noted previously. For example:
    preparing...
  3. Save the file - keep it open and go to the next steps.
TaskSection
Add a Paddle button to your web pageThe Paddle checkout
ResourceSummary
Paddle JS library referenceFind out more about the Paddle JS library.
Overlay checkoutPaddle's overlay checkout is an iframe, displayed over your webpage. Find out how to implement this for your website, here.
Inline checkoutPaddle's inline checkout is embedded into your web store page for a more customizable, branded checkout flow. Find out how to implement this for your website, here.
Customizing the checkout with parametersThe checkout experience can be customized by passing in parameters to collect/utilize additional user data. Find out what data can be collected and how to use it, here.
Post-checkout behaviorFind out more about customizing the customer's experience once a checkout is completed.
Checkout API endpointsTake a deep dive into the Paddle API to find out how you can integrate Paddle checkout functionality with your platform.