Basic Paddle.js Setup
The Paddle.js library can be included in just a few lines of code and has no external dependencies. 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.
Note: Your Paddle Vendor ID can be found on the settings page of your Paddle account, within the ‘Integrations’ tab.
It may be helpful, when developing to enable ‘Debug Mode’. This will enable verbose output of actions and configuration to the browser console each time Paddle.js does something.
To enable debug mode, add the parameter
debug with the value
true within the JSON object passed to the
Once you've added Paddle.js to your website, you're ready to start using Paddle on your website. There's a whole host of functionality available within Paddle.js, but we recommend you start with:
Collect user email addresses and build a customer marketing base using Paddle.js