Connecting Stripe to Awin
Stripe knows exactly what was paid, by whom, and when — down to the cent, including the refund three weeks later. 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 Stripe Customer or PaymentIntent 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
Stripe sales to Awin: carry awc through checkout.stripe.com
Read Awin's awc on landing into a first-party cookie, write it into the Stripe Checkout Session metadata, and post the sale server-to-server from the webhook with the PaymentIntent ID as order reference. Send net goods value rather than amount_total, with commission groups from product metadata. Decline or amend refunded and disputed transactions before approving.
Awin's commission depends on the awc value from the landing URL, and Stripe-hosted checkout is exactly where it falls out: Awin's MasterTag cannot run on checkout.stripe.com, and a confirmation-page pixel only fires if the customer comes back. Read awc on landing into a first-party cookie, write it into the Checkout Session metadata when your server creates the session, and post the sale server-to-server from the webhook with the PaymentIntent ID as the order reference.
Value is where Stripe and Awin disagree. Stripe's amount_total includes tax and shipping; Awin commission normally runs on net goods value, so compute it from the session's line items and totals and send that with the currency. If different products carry different commission rates, map them to commission groups from Stripe product or price metadata instead of hard-coding one rate.
Refunds and disputes have to reach Awin before you approve the transaction, because approval is what pays the publisher. Collect charge.refunded and charge.dispute.created events into a list keyed on order reference and decline or amend those transactions before approving the batch. A voucher-site sale on a payment later disputed as fraud is the costliest error on this pair, since you lose the goods, the chargeback fee and the commission.
Stripe → Awin · what breaks
Why this join usually fails — Stripe → Awin
- 01
The Awin click reference, awc never reaches Stripe
Stripe Checkout runs on checkout.stripe.com, a different origin from your site, so nothing you set in a first-party cookie travels with the customer. The identifier has to be put into PaymentIntent metadata (or the Checkout Session's metadata) at the moment you create the session, server-side. If you create sessions from a price link or a Buy Button, there is no server step and no metadata — that setup cannot be joined to advertising at all without changing how sessions are created.
- 02
Checkout is on Stripe's domain, so the browser loses the thread
The customer leaves your site, pays somewhere else, and comes back to a thank-you page. Anything relying on browser continuity across that hop is unreliable, and on Safari it is worse than unreliable.
- 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.
- 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.
Stripe → Awin · the fix
What working looks like — Stripe → Awin
The Awin click reference, awc on every payment
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
Stripe → Awin · architecture
How Stripe and Awin actually connect
- 1
Stripe holds the truth
Every succeeded PaymentIntent is a real conversion with a real amount and currency. No sampling, no modeling, no consent gate. This is the number the business actually banked, which is why it is the reference rather than anything either ad platform reports.
- 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
The identifier is the bridge
The Awin click reference, awc, captured at the visit and carried into the Stripe Customer or PaymentIntent.
- 4
The event source decides reliability
Subscribe to payment_intent.succeeded (or checkout.session.completed) and send from your server when Stripe fires it. Reading a payment from the thank-you page instead means every customer who closes the tab on the redirect is a conversion you never counted, and Stripe redirects after taking money, not before.
- 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.
Stripe → Awin · normal or broken
Working vs. broken, side by side — Stripe → Awin
Normal, not a fault
The Awin click reference, awc present on the payment
Sent from the Stripe 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
Stripe Checkout runs on checkout.stripe.com, a different origin from your site, so nothing you set in a first-party cookie travels with the customer. The identifier has to be put into PaymentIntent metadata (or the Checkout Session's metadata) at the moment you create the session, server-side. If you create sessions from a price link or a Buy Button, there is no server step and no metadata — that setup cannot be joined to advertising at all without changing how sessions are created.
Sent from the browser
The customer leaves your site, pays somewhere else, and comes back to a thank-you page. Anything relying on browser continuity across that hop is unreliable, and on Safari it is worse than unreliable.
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
Stripe → Awin · diagnose
Diagnostic order — Stripe → Awin
- 01
Count payments carrying the Awin click reference, awc
- 02
Follow one real conversion end to end
- 03
Open one succeeded PaymentIntent in the Stripe dashboard
Look at its Metadata section. If the identifier is not there, nothing downstream can fix it — the join is broken at the source and every other check is wasted effort.
- 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.
- 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.
Stripe → Awin · prove
How it gets proven — Stripe → Awin
Source of truth
The Stripe dashboard — Payments, filtered to succeeded, for the same window.
- The Awin click reference, awc confirmed present on a live payment.
- Validated sales reconciled per order reference against your own records, with voucher-sourced sales identified and the paid-media overlap stated.
- A refunded payment confirmed to reverse, not just the sale confirmed to send.
Stripe → Awin · free audit
What we check in the free audit
- Count payments carrying the Awin click reference, awc
- Follow one real conversion end to end
- Open one succeeded PaymentIntent in the Stripe dashboard
- Segment publishers by type and check where the click happened in the journey
- Read the match rate, not the success message
Checked against
The Stripe dashboard — Payments, filtered to succeeded, for the same window.
Free30 minutesNo obligation
Stripe → Awin · when not to buy
When you don't need this — Stripe → Awin
- Measure identifier coverage yourself first — pull your last hundred payments and count how many carry the Awin click reference, awc.
- If you take payment through a hosted Payment Link or Buy Button and have no server creating sessions, this needs a development change on your side before any tracking work is worth commissioning. Worth knowing before you pay for tracking.
- 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.
Stripe → Awin · what we deliver
What gets built — Stripe → Awin
Identifier capture into Stripe
Read the click identifier from the landing page, persist it in a first-party cookie, and pass it into the create-session call as metadata. Stripe carries metadata onto the resulting PaymentIntent and Charge, so it survives to the webhook and to any later refund.
Event source: the Stripe webhook
Subscribe to payment_intent.succeeded (or checkout.session.completed) and send from your server when Stripe fires it. Reading a payment from the thank-you page instead means every customer who closes the tab on the redirect is a conversion you never counted, and Stripe redirects after taking money, not before.
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
Stripe fires charge.refunded and charge.dispute.created. Both carry the original metadata, so a refund can be sent as a negative or a retraction wherever the destination supports it. Most setups never wire this and quietly overstate revenue by the refund rate.
Written guarantee
95%+ tracking accuracy
Measured against The Stripe dashboard — Payments, filtered to succeeded, for the same window.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Stripe → Awin questions, answered
Usually because the confirmation pixel depends on the redirect back from Stripe and awc was never stored. Put awc into Checkout Session metadata and post the sale from the webhook.
Normally not. Send the net goods value excluding tax and shipping, unless your programme terms say otherwise.
Almost always because the Awin click reference, awc never reached the Stripe Customer or PaymentIntent. Stripe Checkout runs on checkout.stripe.com, a different origin from your site, so nothing you set in a first-party cookie travels with the customer. The identifier has to be put into PaymentIntent metadata (or the Checkout Session's metadata) at the moment you create the session, server-side. If you create sessions from a price link or a Buy Button, there is no server step and no metadata — that setup cannot be joined to advertising at all without changing how sessions are created. Measure coverage before debugging the dispatch.
Awin sets the awc parameter on the landing URL and stores it in a cookie for the attribution window. Because attribution is last-click, that cookie being overwritten late in the journey transfers the commission — which is exactly what a voucher-code extension does at the checkout page.
The Stripe webhook. Subscribe to payment_intent.succeeded (or checkout.session.completed) and send from your server when Stripe fires it. Reading a payment from the thank-you page instead means every customer who closes the tab on the redirect is a conversion you never counted, and Stripe redirects after taking money, not before.
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.
More on Stripe → Awin
- Stripe Billing → AwinConnecting Stripe Billing to Awin
- Stripe → Google AdsConnecting Stripe to Google Ads
- Stripe → MetaConnecting Stripe to Meta Conversions API
RELATED GUIDES
Where Stripe → Awin fits in the rest of your tracking
- Stripe Billing → AwinConnecting Stripe Billing to Awin
- PayPal → AwinConnecting PayPal to Awin
- Stripe → ImpactConnecting Stripe to Impact.com
- Stripe → PartnerStackConnecting Stripe to PartnerStack
- EcommerceConversion tracking for ecommerce brands, measured against your orders
- Stripe Billing → ImpactConnecting Stripe Billing to Impact.com
- PayPal → ImpactConnecting PayPal to Impact.com
- PayPal → PartnerStackConnecting PayPal to PartnerStack
Free · 30 min
Get Stripe and Awin joined properly
Free30 minutesNo obligation
