Docs · Integrations

Paddle

Send Paddle payment failures, cancellations and first payments to Atlis automatically.

Available on: Starter or higher (or a trial)

  1. 1

    Copy your Atlis webhook URL

    Go to Settings → Integrations → Paddle and copy the webhook URL.

    Text
    https://www.theatlis.com/api/webhooks/customer-paddle?workspaceId=YOUR_WORKSPACE_ID
  2. 2

    Create a notification destination in Paddle

    In Paddle go to Developer Tools → Notifications → New destination, paste the URL, and select transaction.completed, transaction.past_due, transaction.payment_failed, subscription.created, subscription.canceled, subscription.updated, adjustment.created and adjustment.updated.

  3. 3

    Paste the secret key into Atlis

    Copy the destination's Secret key, paste it into Paddle Webhook Secret (v2) and click Save Paddle settings. Atlis stores the secret encrypted and never shows it again; to change it, paste the new one and save.

  4. 4

    Pass the user to Paddle checkout

    Paddle's notifications don't include the customer's email, so add it (or your user ID) as custom data when you open checkout. Atlis then remembers the Paddle customer ID for every later event.

    JavaScript
    Paddle.Checkout.open({
      items: [{ priceId: "pri_...", quantity: 1 }],
      customData: { email: user.email, userId: user.id },
    });

What Paddle sends to Atlis

Paddle eventBecomes
transaction.completedcredits_purchased for a one-time transaction (no subscription and no recurring price, like a credit pack or top-up), with {{amount}}, plus {{pack}} and {{credits}} from its custom data pack and credits (the pack falls back to the price name). Otherwise subscription_reactivated when the customer had cancelled and this transaction starts a new subscription (they came back); payment_recovered after a failed payment; or subscription_activated for the first real payment (not a $0 trial start, and not later renewals). Those three mark the user activated.
adjustment.created / adjustment.updatedA refund Paddle has approved adds its amount to Refunds on Revenue (Scale). Nothing about the user changes and no workflow runs.
transaction.past_due / transaction.payment_failedpayment_failed with {{amount}} and {{payment_link}} (Paddle's page to pay that transaction), which the Payment Failed email's button opens.
subscription.createdtrial_started when the subscription starts with a trial, and the user's trial end date is set. Atlis also notes the subscription and its product, so it knows when a customer pays for more than one.
subscription.canceledsubscription_cancelled when it was the customer's last subscription: the user becomes Churned. If they still pay for another subscription, it's product_cancelled instead (see below).
subscription.updatedseats_added (with {{seats}} and {{seats_added}}) when the quantity goes up; otherwise plan_updated.

Upgrades, downgrades and annual plans

Paddle doesn't say whether a change was an upgrade, a downgrade or a move to yearly billing. Send plan_upgraded, plan_downgraded or switched_to_annual yourself with Atlis.track() or the server API. With Paddle connected (and no Stripe), Atlis accepts them.

  • Atlis matches a Paddle customer to your user by the email or userId in the checkout's custom data (the same user ID you send with identify), then by the Paddle customer ID it saved from an earlier event. Without either, the event is skipped.
  • Customers with more than one subscription: cancelling one while another is still active sends product_cancelled with the product name. They stay a paying user, their plan becomes the remaining subscription's plan, and Subscription Cancelled emails don't go out. To email them, add a Custom Event workflow named product_cancelled.
  • You can connect Stripe or Paddle, not both.

Try it in your own workspace

Start with a 14-day trial with Growth features. No credit card needed.

Start free