Skip to main content
Chargebee → AwinIntegration guide

Connecting Chargebee to Awin

Chargebee is a billing system, so it holds the only complete record of what a subscription business earned — and it sits entirely outside the browser. Awin is a traditional last-click affiliate network, and last-click is the whole problem: whoever touched the customer most recently takes the commission, which is a structural invitation for voucher-code sites to intercept sales you had already won. The join between them succeeds or fails on one thing: whether the Awin click reference, awc reaches the Chargebee subscription before the conversion happens, because Awin can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Awin commissions on Chargebee subscriptions

Commission Awin publishers on the first successful Chargebee payment, not trial start. Capture awc at landing, write it to a Chargebee customer custom field at signup, and post from the first payment_succeeded with the invoice ID as order reference. Return refunds and early cancellations before Awin's validation period ends, and confirm Awin accepts conversions that late.

Awin is built around retail orders, so a subscription business has to decide what counts as a sale before anything is wired. Commissioning on trial start pays publishers for people who may never pay; commissioning on the first successful payment is the defensible choice, and it means the awc value has to survive the whole trial. Capture it on landing, write it to a custom field on the Chargebee customer at signup, and post to Awin from the first payment_succeeded event.

Use the Chargebee invoice ID as the order reference so a webhook retry cannot create a second commission, and send the first payment amount as the value unless your publisher terms promise something else, like a multiple of monthly price. Because Awin is last-click, a voucher-code or cashback site touching the checkout late can take the commission from the content publisher who actually found the customer. Awin's dedup option lets you decline commission for sales another channel already claimed; use it deliberately.

Refunds and early cancellations should flow back before Awin's validation period ends, so you can decline or amend the transaction instead of paying for a customer who left in week one. If your trial is longer than the cookie period agreed with Awin, raise it with your account manager; storing the awc on the customer only helps if Awin will accept a conversion that late.

Chargebee → Awin · what breaks

Why this join usually fails — Chargebee → Awin

  1. 01

    The Awin click reference, awc never reaches Chargebee

    The identifier must live on the customer or subscription so it survives a trial period that is longer than any browser cookie you can rely on. Chargebee's hosted checkout is also a different origin, so nothing crosses it by default.

  2. 02

    Trials longer than any cookie

    The gap between signup and first payment is where the identifier has to survive, and it is measured in weeks. Browser storage will not do it.

  3. 03

    Voucher-code publishers intercepting sales at the checkout

    A customer arrives from a paid ad, reaches the basket, opens a new tab to search for a discount code, clicks a voucher site's link and returns to complete the order. Under last-click the voucher site earns the commission on a sale your advertising produced. This is not a fringe case; on many programmes it is the largest single publisher category.

  4. 04

    Nothing reconciles afterwards

    Awin's reporting shows the sale, the publisher and the commission group. Read the publisher type and the time between click and sale — a click seconds before the order tells you what happened.

Chargebee → Awin · the fix

What working looks like — Chargebee → Awin

  • The Awin click reference, awc on every subscription

  • Conversions arriving in Awin

    The sale appears as pending, publishers see it in their reporting, and it validates after your approval period.

  • Reconciled against the source

Chargebee → Awin · architecture

How Chargebee and Awin actually connect

  1. 1

    Chargebee holds the truth

    The distinction that matters most here is invoice generated versus payment succeeded. An invoice is a bill you sent; a payment is money you received, and in any business with dunning the gap between them is large.

  2. 2

    Awin needs a click to match

    Awin needs the click reference, a unique order reference, the order value and the commission group. Missing the click reference means the sale is untracked and the publisher will query it.

  3. 3

    The identifier is the bridge

    The Awin click reference, awc, captured at the visit and carried into the Chargebee subscription.

  4. 4

    The event source decides reliability

    Fire on payment succeeded, not invoice generated, and key the conversion on the billing period so a dunning sequence with four retries produces one conversion rather than four.

  5. 5

    Deduplication at the destination

    Awin deduplicates on your order reference. It also supports a dedup flag so you can decline to commission sales that another channel already claimed — which is the feature most advertisers do not know exists and should be using.

Chargebee → Awin · normal or broken

Working vs. broken, side by side — Chargebee → Awin

Normal, not a fault

  • The Awin click reference, awc present on the subscription

  • Sent from the Chargebee payment_succeeded webhook

  • Deduplicated correctly

    Awin deduplicates on your order reference. It also supports a dedup flag so you can decline to commission sales that another channel already claimed — which is the feature most advertisers do not know exists and should be using.

  • Reconciles with the source

Actually broken

  • The Awin click reference, awc missing on most records

    The identifier must live on the customer or subscription so it survives a trial period that is longer than any browser cookie you can rely on. Chargebee's hosted checkout is also a different origin, so nothing crosses it by default.

  • Sent from the browser

    The gap between signup and first payment is where the identifier has to survive, and it is measured in weeks. Browser storage will not do it.

  • Counted twice, or not at all

    A customer arrives from a paid ad, reaches the basket, opens a new tab to search for a discount code, clicks a voucher site's link and returns to complete the order. Under last-click the voucher site earns the commission on a sale your advertising produced. This is not a fringe case; on many programmes it is the largest single publisher category.

  • Nobody has reconciled it

Chargebee → Awin · diagnose

Diagnostic order — Chargebee → Awin

  1. 01

    Count subscriptions carrying the Awin click reference, awc

  2. 02

    Follow one real conversion end to end

  3. 03

    Check whether the event fires on invoice or on payment

    Invoice-based firing counts money you have not received, and in a business with dunning that overstates consistently.

  4. 04

    Segment publishers by type and check where the click happened in the journey

    Voucher and cashback clicks that occur within seconds of an order are interception, not acquisition. Use the deduplication flag rather than paying for both.

  5. 05

    Read the match rate, not the success message

    Awin's reporting shows the sale, the publisher and the commission group. Read the publisher type and the time between click and sale — a click seconds before the order tells you what happened.

Chargebee → Awin · prove

How it gets proven — Chargebee → Awin

Source of truth

Chargebee's paid invoices by payment date, net of refunds and failed payments.

  • The Awin click reference, awc confirmed present on a live subscription.
  • Validated sales reconciled per order reference against your own records, with voucher-sourced sales identified and the paid-media overlap stated.
  • A dunning sequence confirmed to produce one conversion rather than one per retry.

Chargebee → Awin · free audit

What we check in the free audit

  • Count subscriptions carrying the Awin click reference, awc
  • Follow one real conversion end to end
  • Check whether the event fires on invoice or on payment
  • Segment publishers by type and check where the click happened in the journey
  • Read the match rate, not the success message

Checked against

Chargebee's paid invoices by payment date, net of refunds and failed payments.

Get my free conversion tracking audit

Free30 minutesNo obligation

Chargebee → Awin · when not to buy

When you don't need this — Chargebee → Awin

  • Measure identifier coverage yourself first — pull your last hundred subscriptions and count how many carry the Awin click reference, awc.
  • If your trial is longer than 90 days, uploading the first payment against the original click cannot work — we will tell you that before quoting.
  • If you run no affiliate programme this is irrelevant. If you do, the commission structure by publisher type will change your economics more than the tracking accuracy will.

Chargebee → Awin · what we deliver

What gets built — Chargebee → Awin

  • Identifier capture into Chargebee

    Write the click identifier to a custom field on the Chargebee customer or subscription when the subscription is created, server-side, rather than relying on the hosted checkout page to carry it.

  • Event source: the Chargebee payment_succeeded webhook

    Fire on payment succeeded, not invoice generated, and key the conversion on the billing period so a dunning sequence with four retries produces one conversion rather than four.

  • Dispatch to Awin

    Server-to-server conversion posting from your order system, or the tracking pixel where server posting is not available.

  • Reversals where they exist

    Cancellations and refunds are exposed and should reverse the lifetime value claimed at acquisition.

Written guarantee

95%+ tracking accuracy

Measured against Chargebee's paid invoices by payment date, net of refunds and failed payments.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Chargebee → Awin questions, answered

First successful payment is the safer basis. Trial starts pay publishers for signups that may never convert.

Free · 30 min

Get Chargebee and Awin joined properly

Free30 minutesNo obligation