Skip to main content
Saleor → PartnerStackIntegration guide

Connecting Saleor to PartnerStack

Saleor is headless and GraphQL-first, which means the storefront and the commerce engine are separate applications and the identifier has to survive a boundary that traditional platforms do not have. 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 Saleor 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

Saleor to PartnerStack: a poor fit for one-off orders

PartnerStack commissions recurring subscriptions, and Saleor handles one-off orders with no native subscription billing, so an order-based network like Impact or Awin usually fits better. If you still use PartnerStack, capture the referral key on the storefront, report each paid order as a transaction keyed on the lowercase order email, and send cancellations and refunds from Saleor's webhooks.

PartnerStack is built around partners earning on recurring subscription revenue, and Saleor is built around one-off orders. Saleor has no native subscription billing, so there is no renewal for PartnerStack to commission. For a Saleor store paying affiliates on individual orders, an order-based network such as Impact or Awin fits the data you actually have. Say so before building.

PartnerStack still makes sense if your business sells a subscription through a separate billing system and uses Saleor for one-off products alongside it. Then the referral key should be captured on the storefront and stored against the customer, the subscription revenue should be reported from the billing system, and Saleor orders should be reported only if your partner terms commission them too.

If you use PartnerStack for Saleor orders anyway, report each paid order as a transaction against the customer, keyed on the lowercase order email so guest and registered orders from one person attach to the same partner, and send cancellations and refunds from Saleor's webhooks. Check how PartnerStack expects one-off transactions to be reported for your program.

Saleor → PartnerStack · what breaks

Why this join usually fails — Saleor → PartnerStack

  1. 01

    The PartnerStack referral key never reaches Saleor

    The storefront holds the browser session; the commerce API holds the order. Nothing carries between them unless the storefront puts it there.

  2. 02

    A storefront that knows the click and an API that holds the money

    Headless architectures split exactly the two things attribution needs to join. If the storefront does not deliberately write the identifier into order metadata, the connection does not exist anywhere.

  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.

Saleor → PartnerStack · the fix

What working looks like — Saleor → 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

Saleor → PartnerStack · architecture

How Saleor and PartnerStack actually connect

  1. 1

    Saleor holds the truth

    In a headless setup the storefront is one of several possible clients. Attributing from it means measuring one channel of a system designed to have many.

  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 Saleor order.

  4. 4

    The event source decides reliability

    Send fully paid orders at their net total, sourced from the API.

  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.

Saleor → PartnerStack · normal or broken

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

Normal, not a fault

  • The PartnerStack referral key present on the order

  • Sent from the Saleor order webhook

  • 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

    The storefront holds the browser session; the commerce API holds the order. Nothing carries between them unless the storefront puts it there.

  • Sent from the browser

    Headless architectures split exactly the two things attribution needs to join. If the storefront does not deliberately write the identifier into order metadata, the connection does not exist anywhere.

  • 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

Saleor → PartnerStack · diagnose

Diagnostic order — Saleor → PartnerStack

  1. 01

    Count orders carrying the PartnerStack referral key

  2. 02

    Follow one real conversion end to end

  3. 03

    Inspect order metadata on a live order for the identifier

    Either it is on the order or the attribution is guesswork. There is no middle state.

  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.

Saleor → PartnerStack · prove

How it gets proven — Saleor → PartnerStack

Source of truth

Saleor orders by payment status, read from the API rather than inferred from the storefront.

  • The PartnerStack referral key confirmed present on a live order.
  • Commissionable recurring revenue reconciled against active subscriptions in billing, with cancellations proven to reverse.
  • Paid orders reconciled from the API against imported conversions.

Saleor → PartnerStack · free audit

What we check in the free audit

  • Count orders carrying the PartnerStack referral key
  • Follow one real conversion end to end
  • Inspect order metadata on a live order for the identifier
  • Check whether churn events reach PartnerStack at all
  • Read the match rate, not the success message

Checked against

Saleor orders by payment status, read from the API rather than inferred from the storefront.

Get my free conversion tracking audit

Free30 minutesNo obligation

Saleor → PartnerStack · when not to buy

When you don't need this — Saleor → PartnerStack

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the PartnerStack referral key.
  • If you run a single storefront and no other clients, the added complexity of headless attribution buys you nothing over a standard integration.
  • 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.

Saleor → PartnerStack · what we deliver

What gets built — Saleor → PartnerStack

  • Identifier capture into Saleor

    Capture in the storefront and write the identifier into order metadata through the API at checkout, so it lives on the order rather than in a session.

  • Event source: the Saleor order webhook

    Send fully paid orders at their net total, sourced from the API.

  • 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

    Refunds and cancellations reverse.

Written guarantee

95%+ tracking accuracy

Measured against Saleor orders by payment status, read from the API rather than inferred from the storefront.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Saleor → PartnerStack questions, answered

It can record transactions against a referred customer, but its strength is recurring subscription revenue. For one-off Saleor orders an order-based affiliate network usually fits better.

Free · 30 min

Get Saleor and PartnerStack joined properly

Free30 minutesNo obligation