Connecting Braintree to Awin
Braintree is a payment gateway rather than a storefront, so it sits underneath whatever is taking the order and holds the transaction itself. 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 Braintree transaction 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
Braintree to Awin: chargebacks that land after validation
Store Awin's awc click reference in a Braintree custom field when your server creates the transaction, then post the sale server-to-server on settlement with your order reference and the commissionable value. Braintree dispute webhooks carry those custom fields, so chargebacks after validation can be traced to the publisher. Keep order references identical between pixel and server post.
For Awin, the value of Braintree is that its records reflect money that actually moved, while the pixel on your confirmation page reflects a page load. Store the awc click reference from the Awin cookie in a Braintree custom field when your server creates the transaction, and post the sale server-to-server once it settles, with your order reference and the value your commission terms define, usually net of tax and shipping.
The timing problem specific to this pair is disputes. A customer can open a chargeback with their card issuer weeks or months after the purchase, often after your Awin validation period has closed and the publisher has been paid. Braintree raises a dispute webhook that carries the original custom fields, so the Awin sale can be identified; check what your Awin program allows for amending sales after validation, and record the loss per publisher either way.
PayPal- and Venmo-funded payments are where browser tracking loses Awin sales, because buyers approve payment away from your site and some never reach the confirmation page that fires the pixel. Those sales show up in Braintree with no Awin record, and the publisher queries them. Keep the order reference identical between pixel and server post, and use Awin's dedup flag on orders a paid channel already won.
Braintree → Awin · what breaks
Why this join usually fails — Braintree → Awin
- 01
The Awin click reference, awc never reaches Braintree
Braintree is a gateway, so it sees the payment and not the marketing. The identifier has to be attached at the point your application creates the transaction, through custom fields, or it never enters Braintree at all.
- 02
A gateway that knows nothing about marketing
Braintree sees a payment. Whether it can be tied to a click depends entirely on whether your own application attached the identifier when creating the transaction, and most do not.
- 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.
Braintree → Awin · the fix
What working looks like — Braintree → Awin
The Awin click reference, awc on every transaction
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
Braintree → Awin · architecture
How Braintree and Awin actually connect
- 1
Braintree holds the truth
Settled and authorised are different states. Authorisation reserves the funds; settlement is money moving, and reporting on the wrong one produces a persistent gap against your bank.
- 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 Braintree transaction.
- 4
The event source decides reliability
Fire on settlement rather than authorisation, and note that Braintree's PayPal and wallet flows redirect the buyer away — so the confirmation page is not a reliable trigger.
- 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.
Braintree → Awin · normal or broken
Working vs. broken, side by side — Braintree → Awin
Normal, not a fault
The Awin click reference, awc present on the transaction
Sent from the Braintree transaction settlement 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
Braintree is a gateway, so it sees the payment and not the marketing. The identifier has to be attached at the point your application creates the transaction, through custom fields, or it never enters Braintree at all.
Sent from the browser
Braintree sees a payment. Whether it can be tied to a click depends entirely on whether your own application attached the identifier when creating the transaction, and most do not.
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
Braintree → Awin · diagnose
Diagnostic order — Braintree → Awin
- 01
Count transactions carrying the Awin click reference, awc
- 02
Follow one real conversion end to end
- 03
Open a settled transaction and check its custom fields
If the identifier is not there, your application never attached it and nothing downstream can recover it.
- 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.
Braintree → Awin · prove
How it gets proven — Braintree → Awin
Source of truth
Braintree's transaction records, filtered to settled, for the same window.
- The Awin click reference, awc confirmed present on a live transaction.
- Validated sales reconciled per order reference against your own records, with voucher-sourced sales identified and the paid-media overlap stated.
- A PayPal-funded transaction confirmed to report even though the buyer was redirected away.
Braintree → Awin · free audit
What we check in the free audit
- Count transactions carrying the Awin click reference, awc
- Follow one real conversion end to end
- Open a settled transaction and check its custom fields
- Segment publishers by type and check where the click happened in the journey
- Read the match rate, not the success message
Checked against
Braintree's transaction records, filtered to settled, for the same window.
Free30 minutesNo obligation
Braintree → Awin · when not to buy
When you don't need this — Braintree → Awin
- Measure identifier coverage yourself first — pull your last hundred transactions and count how many carry the Awin click reference, awc.
- If your platform already reports orders accurately and Braintree is purely the funding rail, work at the order layer instead — it is closer to the customer.
- 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.
Braintree → Awin · what we deliver
What gets built — Braintree → Awin
Identifier capture into Braintree
Pass the click identifier into the transaction's custom fields when your server creates the charge. Braintree preserves them and they survive to the webhook and to any later refund.
Event source: the Braintree transaction settlement webhook
Fire on settlement rather than authorisation, and note that Braintree's PayPal and wallet flows redirect the buyer away — so the confirmation page is not a reliable trigger.
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
Braintree exposes refunds and disputes, both carrying the original custom fields, so reversals are straightforward.
Written guarantee
95%+ tracking accuracy
Measured against Braintree's transaction records, filtered to settled, for the same window.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Braintree → Awin questions, answered
PayPal buyers approve payment off your site and some never reach the confirmation page that fires Awin's pixel. Post the sale server-to-server from the settled Braintree transaction with the stored awc.
Braintree tells you through a dispute webhook, often after Awin's validation window. Check your program's terms for post-validation amendments and record the loss either way.
Almost always because the Awin click reference, awc never reached the Braintree transaction. Braintree is a gateway, so it sees the payment and not the marketing. The identifier has to be attached at the point your application creates the transaction, through custom fields, or it never enters Braintree at all. 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 Braintree transaction settlement webhook. Fire on settlement rather than authorisation, and note that Braintree's PayPal and wallet flows redirect the buyer away — so the confirmation page is not a reliable trigger.
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 Braintree → Awin
- Braintree → Google AdsConnecting Braintree to Google Ads
- Braintree → MetaConnecting Braintree to Meta Conversions API
- Braintree → GA4Connecting Braintree to GA4
RELATED GUIDES
Where Braintree → Awin fits in the rest of your tracking
- Ecwid → AwinConnecting Ecwid to Awin
- OpenCart → AwinConnecting OpenCart to Awin
- SureCart → AwinConnecting SureCart to Awin
- Braintree → ImpactConnecting Braintree to Impact.com
- Braintree → PartnerStackConnecting Braintree to PartnerStack
- FashionConversion tracking for fashion brands, reported net of returns
- nopCommerce → AwinConnecting nopCommerce to Awin
- EDD → AwinConnecting Easy Digital Downloads to Awin
Free · 30 min
Get Braintree and Awin joined properly
Free30 minutesNo obligation
