Chargebee, Recurly & Paddle Affiliate Tracking (2026)
How to wire affiliate tracking to subscription-billing platforms in 2026. Connect Chargebee affiliate tracking, Recurly, Paddle, and Stripe Billing via webhooks and postbacks for MRR-accurate recurring commission, upgrade and downgrade handling, and automatic churn and clawback events — with an integration comparison table.
If your affiliate platform only knows about the first sale, your recurring-commission program is running blind. In SaaS, the commission-relevant truth lives in the billing system, not the checkout page: the customer upgrades, downgrades, pauses, churns, fails a payment and recovers through dunning, or disputes a charge — and every one of those events should move a commission accrual. The job of integrating affiliate tracking with a subscription-billing platform is to make that billing truth flow into your commission engine in real time, so partners are paid on MRR that actually exists, not on a conversion snapshot from ninety days ago.
This guide covers how to wire affiliate tracking to the major subscription-billing platforms — Chargebee, Recurly, Paddle, and Stripe Billing — using webhooks and postbacks. We'll map which billing events matter for commission, how to handle upgrades and downgrades, and how churn and chargeback events should trigger automatic clawback. It builds on the program mechanics in our recurring-commission program design guide, which defines the commission rules these integrations enforce.
Why billing events are the source of truth
A conversion pixel fires once, at signup. But SaaS revenue is a stream, and commission on that revenue has to follow the stream. The billing platform is the only system that knows the true state of every subscription — current MRR, plan, proration, payment status, and lifecycle stage. Each of these platforms emits that knowledge as webhook events: Chargebee's event notifications, Recurly's webhooks, Paddle's events, and Stripe's webhooks. The integration pattern is consistent: listen for the events, map each to a commission action, and post the result into your affiliate platform.
The critical design decision is what counts as the commissionable event. Paying on subscription_created the moment a trial converts is the simplest model, but it pays before the first invoice clears and exposes you to dispute risk. Paying on invoice.paid — the first successful charge — is safer and the most common choice, because money has actually moved. For RevShare programs, every recurring invoice.paid is itself a commission event, which is exactly why a webhook integration (rather than a one-time pixel) is mandatory: there's no other way to learn that month two's charge succeeded.
The carry-the-click-ID problem
The hardest part of any billing integration isn't the webhook — it's preserving the affiliate identity from click to recurring invoice. When the affiliate platform issues a click ID, that ID must survive the trip through signup and be stored against the customer record in the billing platform, typically in a custom field or metadata attribute. Chargebee, Recurly, Paddle, and Stripe all support custom metadata on customers and subscriptions; the integration writes the click ID there at subscription creation, and every subsequent webhook carries that metadata so the postback can attribute the recurring charge to the right partner.
Store the click ID as billing metadata, not just in your app DB
If the click ID only lives in your application database, every commission attribution requires a lookup join that can break or drift. Writing it into the billing platform's customer or subscription metadata means each webhook payload is self-describing — the recurring invoice event already knows which affiliate to credit, and your reconciliation stays correct even if your app and billing systems disagree.
Mapping billing events to commission actions
Each lifecycle event maps to a specific commission action. A first paid invoice triggers the initial CPA or first RevShare accrual. A recurring paid invoice triggers the next RevShare installment. An upgrade increases the commissionable MRR going forward; a downgrade decreases it. A payment failure should pause accrual until dunning recovers the charge. A cancellation stops future accruals, and a refund or dispute should trigger clawback of commission already paid on the reversed amount. Getting this mapping right is what makes the difference between commissions that track real MRR and commissions that drift away from reality within a quarter.
| Billing event (typical name) | Commission action | Notes |
|---|---|---|
| subscription_created / subscription.created | Provisionally attribute; hold accrual | Pre-payment — risky to pay on; use for attribution only |
| invoice.paid (first) | Accrue initial CPA or first RevShare | Safest first-commission trigger; money has cleared |
| invoice.paid (recurring) | Accrue next RevShare installment | The core recurring-commission event for MRR-accurate payout |
| subscription upgraded / plan change up | Increase commissionable MRR; accrue on prorated delta | Apply proration so commission matches charged amount |
| subscription downgraded / plan change down | Decrease commissionable MRR going forward | Do not claw back past installments unless contracted |
| payment_failed / dunning | Pause accrual until recovery | Avoid paying on charges that may never clear |
| subscription cancelled / churn | Stop future accruals | Optionally apply early-churn clawback window |
| refund / dispute / chargeback | Clawback commission on reversed amount | Automatic reversal before next payout run |
Handling upgrades, downgrades, and proration
Plan changes are where naive integrations leak money in both directions. When a customer upgrades mid-cycle, the billing platform issues a prorated charge for the delta; your commission should accrue on that actual charged amount, not on the full new plan price. When they downgrade, future RevShare should drop to the new MRR, but you generally shouldn't claw back installments already correctly paid on the higher plan. The subscription lifecycle each platform documents — Chargebee, Recurly, and the others — exposes these transitions as discrete events, so a well-built integration accrues on the prorated reality rather than guessing from plan list-price.
Churn, dunning, and automatic clawback
Clawback is the reason billing integration is non-negotiable rather than nice-to-have. When a charge is refunded, disputed, or charged back — and Stripe disputes can arrive up to 120 days after the charge — the corresponding commission must reverse automatically. Dunning adds nuance: a failed payment isn't necessarily lost revenue, because the billing platform will retry. The correct behavior is to pause accrual on payment_failed and resume on successful recovery, rather than immediately clawing back a charge that dunning will likely recover within days. Wiring these events into the commission-management layer lets reversals and resumes happen automatically, before the next payout run releases money you'd otherwise have to recover by hand.
Verify webhook signatures and handle retries idempotently
Every one of these platforms signs webhook payloads and retries on failure. If your endpoint doesn't verify the signature, a forged event could inject a fake commission. If it isn't idempotent, a retried invoice.paid could accrue the same commission twice. Treat signature verification and idempotency keys as mandatory, not optional hardening.
Integration comparison: Chargebee, Recurly, Paddle, Stripe Billing
All four platforms support the webhook-plus-metadata pattern, but they differ in ways that affect integration design. Paddle acts as a Merchant of Record, meaning it handles tax and chargebacks on your behalf — which changes who owns the dispute event and how clawback is triggered. Stripe Billing gives you the most granular event catalog and raw control, but you own tax and dispute handling yourself. Chargebee and Recurly sit between, offering rich subscription-management abstractions with strong lifecycle events. The table below summarizes the integration-relevant differences.
| Platform | Model | Metadata for click ID | Clawback / dispute ownership |
|---|---|---|---|
| Chargebee | Subscription management over your PSP | Custom fields on customer/subscription | You own disputes via your PSP; rich lifecycle events |
| Recurly | Subscription management + dunning | Custom fields / account metadata | You own disputes; strong dunning and recovery events |
| Paddle | Merchant of Record | Custom data on transactions/subscriptions | Paddle handles tax and chargebacks; dispute events flow from Paddle |
| Stripe Billing | PSP + billing primitives | Metadata on customer/subscription/invoice | You own disputes and tax; most granular event catalog |
- Propagate the affiliate click ID from click into billing-platform metadata at subscription creation.
- Pay first commission on the first successful invoice (invoice.paid), not on pre-payment signup events.
- Treat every recurring invoice.paid as a RevShare accrual event for MRR-accurate payout.
- Accrue upgrades and downgrades on the prorated charged amount, not on plan list-price.
- Pause accrual on payment failure and resume on dunning recovery instead of immediate clawback.
- Trigger automatic clawback on refunds, disputes, and chargebacks before the next payout run clears.
- Verify webhook signatures and process events idempotently to prevent injected or duplicated commissions.
See how Track360 ingests Chargebee, Recurly, Paddle, and Stripe Billing webhooks for MRR-accurate recurring commission.
Explore how Track360 fits your partner program structure.
Frequently asked questions
Integrating affiliate tracking with your billing platform is what turns a recurring-commission program from a promise into accurate accounting. When Chargebee, Recurly, Paddle, or Stripe Billing events flow into your commission engine in real time, partners are paid on the MRR that actually exists — through every upgrade, downgrade, churn, and chargeback. Track360 ingests these webhooks natively and ties them to its tracking and commission layers, so you don't have to build and maintain the reconciliation plumbing yourself.
Compare Track360 plans and find the tier that fits your billing-integration needs.
Explore how Track360 fits your partner program structure.
Related Resources
Related Terms
Webhook
A webhook is an HTTP callback that sends real-time event notifications from one system to another when a specified event occurs, enabling automated data exchange between platforms without polling.
Recurring Commission
A recurring commission is an ongoing payment made to an affiliate for as long as the referred customer remains active or continues to generate revenue for the operator.
Related Operator Guides
In-depth articles on closely related topics. Build a deeper understanding of the operational mechanics behind affiliate programs in this vertical.
Stripe Affiliate Program Setup: Wiring Tracking and Payouts for SaaS (2026)
A practical guide to running an affiliate program on top of Stripe. Map subscription webhooks to affiliate conversions, attribute MRR and recurring revenue, reconcile payouts, and understand exactly where Stripe-only tracking breaks down and you need an S2S/postback layer on top.
Read article →Affiliate Software for SaaS: 2026 Operator Buyer Guide
A buyer checklist for SaaS companies evaluating affiliate software in 2026. The must-have features — recurring commission, MRR events, churn clawback, multi-tier, fraud, payouts, and Stripe/HubSpot/Salesforce integrations — plus an evaluation matrix, red flags, and a build-vs-buy note.
Read article →Affiliate CRM Integration: HubSpot & Salesforce (2026)
How to integrate affiliate attribution with your CRM for B2B SaaS long sales cycles. Pass affiliate source through lead, opportunity, and closed-won in HubSpot and Salesforce, run deal-level commissioning and sales-assisted attribution, and keep partner credit accurate — with an integration-pattern table.
Read article →Lottery Game Providers & Aggregation: Operator Guide 2026
Lottery game providers are the studios and engines that supply the draw games, instant-win content, and number games an operator runs — and lottery content aggregators bundle many of them behind one API. This guide explains the provider archetypes, the single-integration aggregator vs direct-deal decision, and the integration patterns (game API, RGS, wallet, reporting) an operator must plan for.
Read article →Pragmatic Play Casino Integration: 4 Operator Paths in 2026
Pragmatic Play powers 8,000+ operators globally with 300+ slot games and 100+ live tables. This guide covers 4 integration paths: aggregator (fastest), direct API (best revenue share), white-label (balanced), and certified-games-only (regulated markets). Includes licensing requirements for UKGC, MGA, ADM, and GGL jurisdictions.
Read article →Sportsbook Odds Feed Integration and Affiliate Commission Attribution
How sportsbook odds feed integrations affect affiliate commission attribution. Covers pre-match vs in-play revenue splits, GGR calculation timing, margin variance, and how operators structure RevShare models that account for odds feed latency and settlement delays.
Read article →