Skip to main content
Braintree → AttentiveIntegration guide

Connecting Braintree to Attentive

Braintree is a payment gateway rather than a storefront, so it sits underneath whatever is taking the order and holds the transaction itself. Attentive is SMS, where the identifier is a phone number, the consent rules are legal rather than advisory, and a mistake reaches the customer's pocket within seconds. The join between them succeeds or fails on one thing: whether the subscriber's phone number reaches the Braintree transaction before the conversion happens, because Attentive can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Braintree purchases to Attentive: phone and SMS consent first

Attentive keys on a phone number with SMS consent, which comes from your storefront signup, not a Braintree billing phone. Use Braintree to confirm settlement, so declined payments trigger nothing, and for recurring billing events such as past-due subscriptions and cancellations. Look subscribers up by your own customer ID, and skip Braintree purchases if your storefront already sends orders.

Attentive keys on a phone number, and a Braintree transaction is a poor place to find one. The Braintree customer record has a phone field, but many checkouts leave it empty, and a billing phone typed into a card form is not consent to receive marketing texts. The phone number and the opt-in come from your storefront's SMS signup, which Attentive already holds; Braintree's job here is only to confirm the money arrived.

The useful events are the ones your store layer does not see well. Send purchases at settlement so a declined or voided card payment never triggers a post-purchase text, and if you bill subscriptions through Braintree, use its recurring billing webhooks: a subscription going past due is the moment for a consented reminder to update the card, and a cancellation should end any upsell journey immediately.

Look up the subscriber by your own customer ID and use the phone already on the Attentive profile, rather than whatever was typed at checkout. A PayPal-funded payment can carry the details of whoever owns the PayPal account, which may be a different person in the household. If your storefront platform already sends orders to Attentive, do not add Braintree as a second source of the same purchase.

Braintree → Attentive · what breaks

Why this join usually fails — Braintree → Attentive

  1. 01

    The subscriber's phone number 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

    Consent state treated as a tracking detail rather than a legal one

    Sending an event is not the same as being allowed to message the person it describes. US SMS marketing is governed by express written consent requirements with statutory damages per message, and "the integration sent it" is not a defence. Consent state has to be checked at send time, in Attentive, not inferred from the fact that an event arrived.

  4. 04

    Nothing reconciles afterwards

    Attentive shows the event on the subscriber record and the journey it triggered. Check the subscriber's consent status alongside, because that is the field that decides whether anything should have happened.

Braintree → Attentive · the fix

What working looks like — Braintree → Attentive

  • The subscriber's phone number on every transaction

  • Conversions arriving in Attentive

    The event lands on the subscriber, triggers the journeys that depend on it, and becomes available for segmentation.

  • Reconciled against the source

Braintree → Attentive · architecture

How Braintree and Attentive 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

    Attentive needs a click to match

    Attentive needs the subscriber's phone number, the event name and its properties. It also needs the subscriber to have consented — an event about someone who never opted in cannot legally be messaged, whatever the event says.

  3. 3

    The identifier is the bridge

    The subscriber's phone number, 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

    Attentive does not deduplicate for you. A purchase sent twice can trigger a journey twice, and the customer receives two texts. Unlike an email, a duplicate SMS costs you money per send and irritates the recipient measurably more.

Braintree → Attentive · normal or broken

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

Normal, not a fault

  • The subscriber's phone number present on the transaction

  • Sent from the Braintree transaction settlement webhook

  • Deduplicated correctly

    Attentive does not deduplicate for you. A purchase sent twice can trigger a journey twice, and the customer receives two texts. Unlike an email, a duplicate SMS costs you money per send and irritates the recipient measurably more.

  • Reconciles with the source

Actually broken

  • The subscriber's phone number 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

    Sending an event is not the same as being allowed to message the person it describes. US SMS marketing is governed by express written consent requirements with statutory damages per message, and "the integration sent it" is not a defence. Consent state has to be checked at send time, in Attentive, not inferred from the fact that an event arrived.

  • Nobody has reconciled it

Braintree → Attentive · diagnose

Diagnostic order — Braintree → Attentive

  1. 01

    Count transactions carrying the subscriber's phone number

  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

    Verify that events for non-consented customers cannot trigger a send

    Check the journey's entry conditions, not the event pipeline. The pipeline will happily deliver an event about someone who never opted in; the journey is what must refuse to act on it.

  5. 05

    Read the match rate, not the success message

    Attentive shows the event on the subscriber record and the journey it triggered. Check the subscriber's consent status alongside, because that is the field that decides whether anything should have happened.

Braintree → Attentive · prove

How it gets proven — Braintree → Attentive

Source of truth

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

  • The subscriber's phone number confirmed present on a live transaction.
  • Events confirmed on subscriber records with consent state verified, and a test proving a non-consented profile does not trigger a send.
  • A PayPal-funded transaction confirmed to report even though the buyer was redirected away.

Braintree → Attentive · free audit

What we check in the free audit

  • Count transactions carrying the subscriber's phone number
  • Follow one real conversion end to end
  • Open a settled transaction and check its custom fields
  • Verify that events for non-consented customers cannot trigger a send
  • 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 → Attentive · when not to buy

When you don't need this — Braintree → Attentive

  • Measure identifier coverage yourself first — pull your last hundred transactions and count how many carry the subscriber's phone number.
  • 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 do not have a consented SMS list, the integration is the least of the work. Building the list compliantly comes first, and no event pipeline substitutes for it.

Braintree → Attentive · what we deliver

What gets built — Braintree → Attentive

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

    The Attentive events API, posted server-side from your order system with the subscriber's phone number and the event properties.

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

Yes, through Attentive's events API from your server, keyed on the subscriber's phone, but only for people who opted into SMS in Attentive. A phone number on a Braintree transaction is not consent.

Free · 30 min

Get Braintree and Attentive joined properly

Free30 minutesNo obligation