Skip to main content
WooCommerce → PartnerStackIntegration guide

Connecting WooCommerce to PartnerStack

WooCommerce keeps the order in your own database, which is both the advantage and the reason nobody has wired it properly. PartnerStack commissions partners on recurring subscription revenue rather than on a single order, which makes it the one destination here where a conversion you send creates a payment obligation that repeats every month. The join between them succeeds or fails on one thing: whether the PartnerStack referral key reaches the WooCommerce order before the conversion happens, because PartnerStack can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

WooCommerce to PartnerStack: plugin and software renewals done right

PartnerStack fits WooCommerce stores selling software licenses through WooCommerce Subscriptions. Save the referral key on the parent subscription and first order, create the customer on a stable ID, and report each renewal when paid, once even after retries. Map cancelled, on-hold and pending-cancel statuses, refunds and plan switches to matching revenue changes.

PartnerStack fits one kind of WooCommerce store in particular: software sellers, often WordPress plugin and theme businesses, selling licenses through WooCommerce Subscriptions. The renewal orders that extension creates are exactly the recurring revenue PartnerStack commissions on. A store selling one-off physical goods is better served by an affiliate network.

Capture the referral key at landing, save it on the parent subscription and the first order, and create the customer in PartnerStack keyed on a stable customer ID. Each renewal order WooCommerce Subscriptions generates should then report revenue against that customer when it is paid, not when it is scheduled. A failed renewal that succeeds on retry must be reported once, at the successful payment.

The failure is the cancellation path. WooCommerce Subscriptions distinguishes cancelled, on-hold after a failed payment, and pending cancellation at period end, and each needs a matching action so commission stops accruing. Refunds on license purchases, common in the first weeks under money-back guarantees, should reduce recognized revenue. Upgrades and downgrades through subscription switching change the recurring amount and must be reported at the new value, or partners keep earning on the old plan.

WooCommerce → PartnerStack · what breaks

Why this join usually fails — WooCommerce → PartnerStack

  1. 01

    The PartnerStack referral key never reaches WooCommerce

    WooCommerce sites are usually the most heavily plugged-in of any platform. Caching plugins serve a static page to the visitor, optimization plugins defer or strip scripts, and consent plugins block them entirely. Any of the three will stop an identifier being captured, and they fail silently.

  2. 02

    Caching and optimization plugins eat the tracking

    The page the customer sees is not the page your code assumed. This is the most common cause of WooCommerce tracking that worked at launch and silently stopped after a plugin update.

  3. 03

    A commission that recurs on revenue that stopped

    The mirror of the usual problem. If cancellations are not reported back, partners keep earning on subscriptions that churned months ago. Every conversion pipeline needs reversals; this one needs them because real money leaves the building otherwise.

  4. 04

    Nothing reconciles afterwards

    PartnerStack shows attributed customers and accruing commission per partner. Reconcile the commissionable revenue against your billing system's active subscriptions, not against its historical sales.

WooCommerce → PartnerStack · the fix

What working looks like — WooCommerce → PartnerStack

  • The PartnerStack referral key on every order

  • Conversions arriving in PartnerStack

    The customer is attributed to a partner, and commission accrues against the recognized revenue on the schedule you configured.

  • Reconciled against the source

WooCommerce → PartnerStack · architecture

How WooCommerce and PartnerStack actually connect

  1. 1

    WooCommerce holds the truth

    You own the database, so the truth is exactly as good as the query you write against it. Pin the status set first — whether processing, completed, or both count as a conversion changes the number by a lot and is the source of most arguments.

  2. 2

    PartnerStack needs a click to match

    PartnerStack needs the referral key, the customer identifier and the subscription value. Recurring commission also needs the ongoing revenue reported, not just the first payment.

  3. 3

    The identifier is the bridge

    The PartnerStack referral key, captured at the visit and carried into the WooCommerce order.

  4. 4

    The event source decides reliability

    Fire server-side from the PHP hook rather than from the thank-you page template. Page caching means the thank-you page cannot be relied on to execute anything, and on many stores it is served from cache to a paying customer.

  5. 5

    Deduplication at the destination

    Deduplication is on your customer identifier. Reporting the same subscription twice creates two commissionable relationships against one paying customer, and the error compounds monthly rather than once.

WooCommerce → PartnerStack · normal or broken

Working vs. broken, side by side — WooCommerce → PartnerStack

Normal, not a fault

  • The PartnerStack referral key present on the order

  • Sent from the woocommerce_payment_complete hook

  • Deduplicated correctly

    Deduplication is on your customer identifier. Reporting the same subscription twice creates two commissionable relationships against one paying customer, and the error compounds monthly rather than once.

  • Reconciles with the source

Actually broken

  • The PartnerStack referral key missing on most records

    WooCommerce sites are usually the most heavily plugged-in of any platform. Caching plugins serve a static page to the visitor, optimization plugins defer or strip scripts, and consent plugins block them entirely. Any of the three will stop an identifier being captured, and they fail silently.

  • Sent from the browser

    The page the customer sees is not the page your code assumed. This is the most common cause of WooCommerce tracking that worked at launch and silently stopped after a plugin update.

  • Counted twice, or not at all

    The mirror of the usual problem. If cancellations are not reported back, partners keep earning on subscriptions that churned months ago. Every conversion pipeline needs reversals; this one needs them because real money leaves the building otherwise.

  • Nobody has reconciled it

WooCommerce → PartnerStack · diagnose

Diagnostic order — WooCommerce → PartnerStack

  1. 01

    Count orders carrying the PartnerStack referral key

  2. 02

    Follow one real conversion end to end

  3. 03

    Check order meta on ten recent orders

    Directly in the database or with a meta viewer. Then disable page caching for the checkout path and see whether coverage changes — if it does, caching is your cause.

  4. 04

    Check whether churn events reach PartnerStack at all

    In most implementations the new-subscription path was built and the cancellation path was not, because only one of them is exciting.

  5. 05

    Read the match rate, not the success message

    PartnerStack shows attributed customers and accruing commission per partner. Reconcile the commissionable revenue against your billing system's active subscriptions, not against its historical sales.

WooCommerce → PartnerStack · prove

How it gets proven — WooCommerce → PartnerStack

Source of truth

WooCommerce → Orders (or the wp_wc_order_stats table), for the same window and status set.

  • The PartnerStack referral key confirmed present on a live order.
  • Commissionable recurring revenue reconciled against active subscriptions in billing, with cancellations proven to reverse.
  • Order meta confirmed present on orders placed while full page caching was active.

WooCommerce → PartnerStack · free audit

What we check in the free audit

  • Count orders carrying the PartnerStack referral key
  • Follow one real conversion end to end
  • Check order meta on ten recent orders
  • Check whether churn events reach PartnerStack at all
  • Read the match rate, not the success message

Checked against

WooCommerce → Orders (or the wp_wc_order_stats table), for the same window and status set.

Get my free conversion tracking audit

Free30 minutesNo obligation

WooCommerce → PartnerStack · when not to buy

When you don't need this — WooCommerce → PartnerStack

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the PartnerStack referral key.
  • If you run a small store with no caching layer and a single free plugin already reporting accurately, leave it alone.
  • If you run no partner or affiliate programme, there is nothing to send here. If you run one on one-off sales rather than subscriptions, the recurring-commission complexity does not apply to you.

WooCommerce → PartnerStack · what we deliver

What gets built — WooCommerce → PartnerStack

  • Identifier capture into WooCommerce

    Capture the click identifier and persist it as order meta on the order object with a small snippet in the theme's functions or a purpose-built plugin. Order meta lives in your own database, so it survives caching, plugin conflicts and the customer's browser.

  • Event source: the woocommerce_payment_complete hook

    Fire server-side from the PHP hook rather than from the thank-you page template. Page caching means the thank-you page cannot be relied on to execute anything, and on many stores it is served from cache to a paying customer.

  • Dispatch to PartnerStack

    Server-side reporting from your billing system, with the referral key, customer identifier and the recurring revenue as it is recognized.

  • Reversals where they exist

    The refund hooks carry the order ID, so reversals are straightforward once the identifier is on the order.

Written guarantee

95%+ tracking accuracy

Measured against WooCommerce → Orders (or the wp_wc_order_stats table), for the same window and status set.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

WooCommerce → PartnerStack questions, answered

Yes, if each paid renewal order is reported as revenue against the PartnerStack customer created from the first order. Check whether a ready connector exists; most setups post from the subscription hooks.

Free · 30 min

Get WooCommerce and PartnerStack joined properly

Free30 minutesNo obligation