Skip to main content
PrestaShop → AwinIntegration guide

Connecting PrestaShop to Awin

PrestaShop is self-hosted open source with a large module ecosystem, which means the store's behaviour depends heavily on which modules are installed. 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 PrestaShop order 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

PrestaShop to Awin: commission paid states, amend from credit slips

Read the awc value from the landing request on the server and store it against the PrestaShop cart, since cached pages may skip capture scripts. Report an Awin sale only once the order reaches a validated state, with the order reference and total excluding tax and shipping. Sum split-cart orders into one transaction and amend from credit slip amounts.

Awin needs the awc value on the order, and on PrestaShop the safe place for it is a field written server-side when the cart is created, not something read on the confirmation page. Full-page cache modules often serve the landing page without running your capture script, so read awc from the landing request on the server and store it against the cart. Check whether Awin offers a PrestaShop plugin for your version before writing your own, and test it with your checkout module installed.

Only orders in states PrestaShop treats as validated should produce an Awin sale. Bank wire and check orders can sit in an awaiting state for days and some never pay; reporting them at checkout commissions publishers on money you may never receive. Send the order reference, the total excluding tax and shipping, and the commission group, and keep voucher discounts out of the commissionable amount if your publisher terms say so.

Credit slips are the reversal. A partial refund in PrestaShop creates a slip against the order rather than changing the order total, so the amendment you make in Awin during the validation period has to come from the slip amount. Split carts that produce several orders under one reference must be summed into one Awin transaction, or deduplication on the reference will discard half the sale.

PrestaShop → Awin · what breaks

Why this join usually fails — PrestaShop → Awin

  1. 01

    The Awin click reference, awc never reaches PrestaShop

    Module conflicts and caching both interfere with anything running in the page, and multi-store installations complicate which store an order belongs to.

  2. 02

    Module ecosystem interference

    PrestaShop stores accumulate modules, and any of them can alter checkout behaviour or strip what your code depends on. Failures appear after an unrelated update.

  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.

PrestaShop → Awin · the fix

What working looks like — PrestaShop → Awin

  • The Awin click reference, awc on every order

  • 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

PrestaShop → Awin · architecture

How PrestaShop and Awin actually connect

  1. 1

    PrestaShop holds the truth

    You own the data and can query it directly. Pin down which order states count as revenue, since PrestaShop's state machine is more granular than most.

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

  4. 4

    The event source decides reliability

    Fire server-side from the hook rather than the confirmation template.

  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.

PrestaShop → Awin · normal or broken

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

Normal, not a fault

  • The Awin click reference, awc present on the order

  • Sent from the PrestaShop order validation hook

  • 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

    Module conflicts and caching both interfere with anything running in the page, and multi-store installations complicate which store an order belongs to.

  • Sent from the browser

    PrestaShop stores accumulate modules, and any of them can alter checkout behaviour or strip what your code depends on. Failures appear after an unrelated update.

  • 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

PrestaShop → Awin · diagnose

Diagnostic order — PrestaShop → Awin

  1. 01

    Count orders carrying the Awin click reference, awc

  2. 02

    Follow one real conversion end to end

  3. 03

    Check order metadata on ten recent orders

    Partial coverage across orders points at a module conflict rather than a missing implementation.

  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.

PrestaShop → Awin · prove

How it gets proven — PrestaShop → Awin

Source of truth

PrestaShop's order records in your own database, for the same window and order state set.

  • The Awin click reference, awc confirmed present on a live order.
  • Validated sales reconciled per order reference against your own records, with voucher-sourced sales identified and the paid-media overlap stated.
  • Order metadata confirmed present across ten consecutive orders rather than one.

PrestaShop → Awin · free audit

What we check in the free audit

  • Count orders carrying the Awin click reference, awc
  • Follow one real conversion end to end
  • Check order metadata on ten recent orders
  • Segment publishers by type and check where the click happened in the journey
  • Read the match rate, not the success message

Checked against

PrestaShop's order records in your own database, for the same window and order state set.

Get my free conversion tracking audit

Free30 minutesNo obligation

PrestaShop → Awin · when not to buy

When you don't need this — PrestaShop → Awin

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the Awin click reference, awc.
  • If your PrestaShop install is heavily moduled and maintained by another party, scope their involvement before starting.
  • 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.

PrestaShop → Awin · what we deliver

What gets built — PrestaShop → Awin

  • Identifier capture into PrestaShop

    Capture the identifier and write it to order metadata through a hook, server-side, so it does not depend on page execution.

  • Event source: the PrestaShop order validation hook

    Fire server-side from the hook rather than the confirmation template.

  • 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

    Credit slips are recorded against the order.

Written guarantee

95%+ tracking accuracy

Measured against PrestaShop's order records in your own database, for the same window and order state set.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

PrestaShop → Awin questions, answered

Amend or decline the transaction in Awin before it validates, using the credit slip amount for partial refunds. After validation, any correction depends on your agreement with Awin.

Free · 30 min

Get PrestaShop and Awin joined properly

Free30 minutesNo obligation