Skip to main content

Set up Paddle Classic with Tolt

Connect Paddle Classic so Tolt can track the customers and payments your partners refer.

Written by Nick

Connect Paddle Classic so Tolt can track the customers your partners refer and the payments they make. You add your Paddle keys, add Tolt's tracking script to your site, send each customer's referral ID to Paddle and set up a webhook.

On Paddle Billing? See Set up Paddle Billing with Tolt.

Add the integration

  1. Go to Settings › Integrations and click Add integration.

  2. Select Paddle and click Continue with Paddle.

    Add integration dialog with Paddle selected
  3. Open the Paddle Classic tab.

    Paddle integration page with the Paddle Classic tab selected

Add your Paddle keys

  1. In Paddle, go to Developer Tools, open the API Authentication tab and copy the Public API key.

  2. Paste it into Add your Paddle Public API key in Tolt, including the -----BEGIN PUBLIC KEY----- and -----END PUBLIC KEY----- lines.

  3. In Paddle, open the Authentication tab and copy your Vendor ID.

  4. Create an API key named Tolt API Key and click Generate Key.

  5. Paste the Vendor ID and API key into Add your Paddle Vendor ID and API Key in Tolt.

Add the tracking script

Copy the script from Add the Tolt tracking script to your site and paste it into your website's <head> tag. Add it to every page where you want to track referrals, such as your landing pages and app.

Send the referral ID to Paddle

The script stores the visitor's referral ID in window.tolt_referral. Send it to Paddle as tolt_referral in customData when you open the checkout.

This JavaScript example uses Paddle.js:

Paddle.Checkout.open({
product: 12345,
email: "[email protected]",
customData: {
tolt_referral: window.tolt_referral,
},
});

Without Paddle.js, the idea is the same: pass window.tolt_referral to the checkout in customData.

Set up the webhook

  1. In Paddle, go to Developer Tools › Events and click Add New Endpoint.

  2. Enter the webhook endpoint shown under Setup your webhooks in Tolt. It looks like https://api.tolt.io/webhooks/paddle-classic?id=YOUR-ID.

  3. Select these events:

    • Subscription Created

    • Subscription Updated

    • Subscription Cancelled

    • Subscription Payment Success

    • Subscription Payment Refunded

    • Payment Succeeded

    • Payment Refunded

  4. Save the endpoint.

Save the integration

  1. Optionally, under Extra, switch on Exclude Paddle fee in the tracking amount or Exclude Paddle tax in the tracking amount to calculate commissions without them.

  2. Click Save integration.

Tolt now tracks payments from the customers your partners refer.

Good to know

Did this answer your question?