Skip to main content
Braintree → MetaIntegration guide

Connecting Braintree to Meta Conversions API

Braintree is a payment gateway rather than a storefront, so it sits underneath whatever is taking the order and holds the transaction itself. Meta's pixel loses a large share of conversions to Safari, ad blockers and iOS, and the Conversions API exists because of it. The join between them succeeds or fails on one thing: whether the fbc and fbp values reaches the Braintree transaction before the conversion happens, because Meta can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Braintree to Meta: Purchase events from settled transactions

Send Meta Purchase events from settled Braintree transactions, with _fbc and _fbp stored in custom fields at transaction.sale and hashed email and billing details, including PayPal payer email. Generate one event_id before the sale, pass it to the confirmation page and a custom field so pixel and server deduplicate. Mind Meta's 7-day event age limit.

Meta matches on fbc, fbp and hashed customer data, and a Braintree transaction can carry all of it if your server puts it there. Write _fbc and _fbp into custom fields when you call transaction.sale, and take email and billing address from the transaction's customer and billing details for hashing. PayPal-funded transactions also carry the PayPal payer email, which is often a better match key than whatever was typed at checkout.

The event_id is the trap. The pixel fires Purchase on your confirmation page, which PayPal and wallet buyers may never reach, and the server sends Purchase on settlement. Generate one ID before the sale (your own order ID works), pass it to the confirmation page, store it in a custom field, and send that same value with the server event. Using the Braintree transaction ID only works if the confirmation page knows it, and after a PayPal handoff it often does not.

Settlement timing matters against Meta's 7-day limit on website events. Card transactions normally settle within a day, but if your settlement job stalls, or you hold authorizations and capture later, events can arrive too old to be accepted. The Conversions API has no way to retract a Purchase, so log Braintree refunds against the original transaction in your own reporting rather than expecting Meta to reverse the revenue.

Braintree → Meta · what breaks

Why this join usually fails — Braintree → Meta

  1. 01

    The fbc and fbp values 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.

  2. 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.

  3. 03

    Double counting from broken deduplication

    Server and browser both fire, the event_id does not match, and Meta counts two purchases. Reported ROAS goes up, the business does not, and it can run for months before anyone reconciles against the store.

  4. 04

    Nothing reconciles afterwards

    Events Manager shows received events, the deduplication state and an Event Match Quality score per event. Events arriving is not the test — deduplicated, well-matched events arriving is. Compare Meta's reported purchases against your store's order count for the same window.

Braintree → Meta · the fix

What working looks like — Braintree → Meta

  • The fbc and fbp values on every transaction

  • Conversions arriving in Meta

    Events appear in Events Manager with an Event Match Quality score, deduplicated against the pixel, and become usable for optimization and attribution.

  • Reconciled against the source

Braintree → Meta · architecture

How Braintree and Meta actually connect

  1. 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. 2

    Meta Conversions API needs a click to match

    Meta matches server events to people using whatever identifiers you send, hashed with SHA-256 where required. There is no single mandatory key, which is why quality varies so much between implementations — a poorly matched event is accepted, reported, and worth much less than it appears.

  3. 3

    The identifier is the bridge

    The fbc and fbp values, captured at the visit and carried into the Braintree transaction.

  4. 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. 5

    Deduplication at the destination

    Meta deduplicates on the pair of event_name and event_id. The browser pixel and the server event must send the same event_id for the same conversion, within the deduplication window. Get this wrong and every purchase counts twice — which is by far the most common Conversions API failure and it inflates reported ROAS rather than reducing it.

Braintree → Meta · normal or broken

Working vs. broken, side by side — Braintree → Meta

Normal, not a fault

  • The fbc and fbp values present on the transaction

  • Sent from the Braintree transaction settlement webhook

  • Deduplicated correctly

    Meta deduplicates on the pair of event_name and event_id. The browser pixel and the server event must send the same event_id for the same conversion, within the deduplication window. Get this wrong and every purchase counts twice — which is by far the most common Conversions API failure and it inflates reported ROAS rather than reducing it.

  • Reconciles with the source

Actually broken

  • The fbc and fbp values 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

    Server and browser both fire, the event_id does not match, and Meta counts two purchases. Reported ROAS goes up, the business does not, and it can run for months before anyone reconciles against the store.

  • Nobody has reconciled it

Braintree → Meta · diagnose

Diagnostic order — Braintree → Meta

  1. 01

    Count transactions carrying the fbc and fbp values

  2. 02

    Follow one real conversion end to end

  3. 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.

  4. 04

    Read Event Match Quality and the deduplication indicator

    In Events Manager, open the event and check both. A low match quality means weak identifiers; a missing deduplication indicator means your event_id pairing is broken.

  5. 05

    Read the match rate, not the success message

    Events Manager shows received events, the deduplication state and an Event Match Quality score per event. Events arriving is not the test — deduplicated, well-matched events arriving is. Compare Meta's reported purchases against your store's order count for the same window.

Braintree → Meta · prove

How it gets proven — Braintree → Meta

Source of truth

Braintree's transaction records, filtered to settled, for the same window.

  • The fbc and fbp values confirmed present on a live transaction.
  • Deduplication confirmed in Events Manager on a real purchase, with the browser and server events visibly paired rather than counted twice.
  • A PayPal-funded transaction confirmed to report even though the buyer was redirected away.

Braintree → Meta · free audit

What we check in the free audit

  • Count transactions carrying the fbc and fbp values
  • Follow one real conversion end to end
  • Open a settled transaction and check its custom fields
  • Read Event Match Quality and the deduplication indicator
  • Read the match rate, not the success message

Checked against

Braintree's transaction records, filtered to settled, for the same window.

Get my free conversion tracking audit

Free30 minutesNo obligation

Braintree → Meta · when not to buy

When you don't need this — Braintree → Meta

  • Measure identifier coverage yourself first — pull your last hundred transactions and count how many carry the fbc and fbp values.
  • 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 are not running Meta ads at meaningful spend, the Conversions API is effort without payoff. It earns its cost when the optimization signal is worth improving.

Braintree → Meta · what we deliver

What gets built — Braintree → Meta

  • 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 Meta

    Server-side events to the Conversions API with the event_id matched to the pixel, action_source set correctly, and customer data hashed before it leaves your infrastructure.

  • 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.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Braintree → Meta questions, answered

Usually the server event carries only fbp. Add hashed email, phone and billing ZIP from the Braintree transaction, and confirm fbc was written into a custom field at sale time.

Free · 30 min

Get Braintree and Meta joined properly

Free30 minutesNo obligation