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 credit partners for the customers they refer. You add your Paddle keys, add the tracking script to your site, pass each visitor's referral to Paddle at checkout and add a webhook.

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

Connect Paddle

  1. Go to Settings › Integrations, click Add integration and choose Paddle.

  2. Open the Paddle Classic tab.

  3. In Paddle, go to Developer Tools › Public Key, copy the key and paste it into Public key in Tolt. Include the BEGIN and END lines.

  4. In Paddle, go to Developer Tools › Authentication. Copy your Vendor ID into Vendor ID in Tolt.

  5. On the same page, generate an API key named Tolt API Key and paste it into API key in Tolt.

Add the tracking script

Under 2. Add the tracking script, copy the script and paste it inside the <head> tag of every page of your website and app. It already includes your public key:

<script
async
src="https://files.tlt-cdn.com/v2/tlt.js"
data-tolt="YOUR_PUBLIC_KEY"
></script>

Use the Next.js or Google Tag Manager tab if your site uses them. On Webflow, Framer or WordPress, paste it into the site-wide head code.

Pass the referral to Paddle

The tracking script stores each referred visitor's referral in window.tolt_referral. Add it to the checkout's customData as tolt_referral:

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

You can also send it as passthrough: JSON.stringify({ tolt_referral: window.tolt_referral }).

Add the webhook

  1. In Paddle, go to Developer Tools › Events and add the Webhook URL shown under 4. Add the webhook in Tolt.

  2. Select these alerts:

    • Subscription Created

    • Subscription Updated

    • Subscription Cancelled

    • Subscription Payment Success

    • Subscription Payment Refunded

    • Payment Succeeded

    • Payment Refunded

  3. Save the endpoint.

Save the integration

  1. Optionally, under 5. Settings, switch on Exclude Paddle fee or Exclude Paddle tax to calculate commissions without them.

  2. Click Save integration.

Tolt now tracks payments, refunds and cancellations from the customers your partners refer. The integration shows under Connected in Settings › Integrations.

Good to know

  • To test before you go live, connect your Paddle sandbox account first, then switch to your live keys.

  • To record customers when they sign up, before they pay, see Track sign-ups as leads.

  • To check that everything works, see Test the integration.

  • For developers: the Paddle integration guide covers the same setup, including refunds.

  • Need a hand? Contact us via chat and we'll set up Paddle with you.

Did this answer your question?