Skip to main content
Braintree → Marketing CloudIntegration guide

Connecting Braintree to Salesforce Marketing Cloud

Braintree is a payment gateway rather than a storefront, so it sits underneath whatever is taking the order and holds the transaction itself. Marketing Cloud is a different product from Salesforce CRM with a different identity model, which catches out almost everyone who assumes a contact in one is a contact in the other. The join between them succeeds or fails on one thing: whether the Subscriber Key reaches the Braintree transaction before the conversion happens, because Marketing Cloud can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Braintree into Marketing Cloud: billing events by Subscriber Key

Resolve each Braintree recurring billing webhook (charge succeeded, failed, past due, canceled) to your customer record and Subscriber Key, then insert it into the data extension a billing journey listens to, with plan, amount, currency and next billing date. Send successful retries so dunning journeys exit, decide which system owns receipts, and keep card details out.

Marketing Cloud sits next to Braintree mostly at larger subscription businesses that bill through Braintree's recurring billing and run lifecycle email from Salesforce. The data worth sending is billing state: a charge that succeeded, failed, went past due or was canceled. None of it carries a Subscriber Key, and the Braintree customer ID will not match one unless someone deliberately made it so.

Resolve each Braintree webhook to your customer record, then to the Subscriber Key your org uses, and insert into the data extension a billing journey listens to. Include plan, amount, currency and the next billing date so a past-due journey can say what is owed, and send the successful retry as well, so the journey can exit. Without that success row, customers who already paid keep receiving dunning messages.

Receipts are a separate decision. Braintree can email receipts itself and your application may send its own, so a Marketing Cloud receipt triggered by the same transaction gives the customer two or three per charge. Decide which system owns receipts and keep Marketing Cloud to messages that need consent checks and journey logic. Card details and full billing addresses do not belong in a data extension marketers can export.

Braintree → Marketing Cloud · what breaks

Why this join usually fails — Braintree → Marketing Cloud

  1. 01

    The Subscriber Key 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

    Two identity models treated as one

    Marketing Cloud's Subscriber Key and CRM's Contact ID are separate concepts, and Contact Builder's configuration decides whether they relate at all. Getting this wrong does not produce an error — it produces a customer who exists twice, receives everything twice, and appears in reporting as two people.

  4. 04

    Nothing reconciles afterwards

    Check the subscriber record and the journey history, not the API response. A successful insert into an unwatched data extension looks identical to a successful one into the right extension.

Braintree → Marketing Cloud · the fix

What working looks like — Braintree → Marketing Cloud

  • The Subscriber Key on every transaction

  • Conversions arriving in Marketing Cloud

    The record lands in the data extension, the journey's entry criteria evaluate on its schedule, and sends follow.

  • Reconciled against the source

Braintree → Marketing Cloud · architecture

How Braintree and Marketing Cloud 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

    Salesforce Marketing Cloud needs a click to match

    The Subscriber Key, the data extension the journey listens to, and the fields its decision splits reference. An event landing in the wrong data extension will be stored correctly and trigger nothing.

  3. 3

    The identifier is the bridge

    The Subscriber Key, 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

    Marketing Cloud does not deduplicate journey entries for you. A record inserted twice can enter a journey twice, and because journeys span email, SMS and push the duplicate reaches the customer more than once.

Braintree → Marketing Cloud · normal or broken

Working vs. broken, side by side — Braintree → Marketing Cloud

Normal, not a fault

  • The Subscriber Key present on the transaction

  • Sent from the Braintree transaction settlement webhook

  • Deduplicated correctly

    Marketing Cloud does not deduplicate journey entries for you. A record inserted twice can enter a journey twice, and because journeys span email, SMS and push the duplicate reaches the customer more than once.

  • Reconciles with the source

Actually broken

  • The Subscriber Key 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

    Marketing Cloud's Subscriber Key and CRM's Contact ID are separate concepts, and Contact Builder's configuration decides whether they relate at all. Getting this wrong does not produce an error — it produces a customer who exists twice, receives everything twice, and appears in reporting as two people.

  • Nobody has reconciled it

Braintree → Marketing Cloud · diagnose

Diagnostic order — Braintree → Marketing Cloud

  1. 01

    Count transactions carrying the Subscriber Key

  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

    Confirm what Subscriber Key is actually set to in this org

    Before sending anything. It is a configuration decision made once, often years ago, and every integration built afterwards inherits it.

  5. 05

    Read the match rate, not the success message

    Check the subscriber record and the journey history, not the API response. A successful insert into an unwatched data extension looks identical to a successful one into the right extension.

Braintree → Marketing Cloud · prove

How it gets proven — Braintree → Marketing Cloud

Source of truth

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

  • The Subscriber Key confirmed present on a live transaction.
  • Records confirmed on single subscriber records in the correct data extension, with the triggered journey verified in a non-production business unit first.
  • A PayPal-funded transaction confirmed to report even though the buyer was redirected away.

Braintree → Marketing Cloud · free audit

What we check in the free audit

  • Count transactions carrying the Subscriber Key
  • Follow one real conversion end to end
  • Open a settled transaction and check its custom fields
  • Confirm what Subscriber Key is actually set to in this org
  • 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 → Marketing Cloud · when not to buy

When you don't need this — Braintree → Marketing Cloud

  • Measure identifier coverage yourself first — pull your last hundred transactions and count how many carry the Subscriber Key.
  • 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 on Salesforce CRM but sending email through a simpler platform, adding Marketing Cloud brings an identity model to reconcile that you currently do not have to think about.

Braintree → Marketing Cloud · what we deliver

What gets built — Braintree → Marketing Cloud

  • 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 Marketing Cloud

    A server-side insert into the data extension the journey is configured against, keyed on Subscriber Key.

  • 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 → Marketing Cloud questions, answered

Receive Braintree webhooks on your server, map the customer to their Subscriber Key, and insert a row into the data extension the journey uses.

Free · 30 min

Get Braintree and Marketing Cloud joined properly

Free30 minutesNo obligation