Skip to main content
Braintree → PartnerStackIntegration guide

Connecting Braintree to PartnerStack

Braintree is a payment gateway rather than a storefront, so it sits underneath whatever is taking the order and holds the transaction itself. PartnerStack commissions partners on recurring subscription revenue rather than on a single order, which makes it the one destination here where a conversion you send creates a payment obligation that repeats every month. The join between them succeeds or fails on one thing: whether the PartnerStack referral key reaches the Braintree transaction before the conversion happens, because PartnerStack can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Braintree subscriptions to PartnerStack: renewals and cancels

Store the PartnerStack referral key on your customer and in a Braintree custom field, then post to PartnerStack from your server as subscription webhooks arrive, unless a native connection exists. Report each successful charge at the amount actually billed, end commission on cancel or expiry, hold past-due subscriptions, and reduce commission for refunds and lost disputes.

PartnerStack fits Braintree merchants who sell software subscriptions through Braintree's recurring billing and pay partners a share of that revenue. Check whether PartnerStack offers a native Braintree connection for your account; if it does not, the usual route is posting to PartnerStack from your own server as Braintree webhooks arrive.

Store the PartnerStack referral key on your customer at signup, and in a Braintree custom field on the customer or subscription. Then map Braintree's subscription webhooks directly: a successful charge reports revenue for the period, a canceled or expired subscription ends the commission, and a subscription that goes past due should be held rather than commissioned until it either recovers or cancels. The past-due state is the one most implementations miss, and it is where partners get paid on revenue you never collected.

Upgrades, downgrades and proration produce charges that differ from the plan price, so report the amount Braintree actually charged rather than the list price. Refunds issued from your admin and lost disputes should reduce the partner's commissionable revenue for that period; Braintree's dispute webhooks carry the original custom fields, so the referral key can be found without a manual lookup.

Braintree → PartnerStack · what breaks

Why this join usually fails — Braintree → PartnerStack

  1. 01

    The PartnerStack referral 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

    A commission that recurs on revenue that stopped

    The mirror of the usual problem. If cancellations are not reported back, partners keep earning on subscriptions that churned months ago. Every conversion pipeline needs reversals; this one needs them because real money leaves the building otherwise.

  4. 04

    Nothing reconciles afterwards

    PartnerStack shows attributed customers and accruing commission per partner. Reconcile the commissionable revenue against your billing system's active subscriptions, not against its historical sales.

Braintree → PartnerStack · the fix

What working looks like — Braintree → PartnerStack

  • The PartnerStack referral key on every transaction

  • Conversions arriving in PartnerStack

    The customer is attributed to a partner, and commission accrues against the recognized revenue on the schedule you configured.

  • Reconciled against the source

Braintree → PartnerStack · architecture

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

    PartnerStack needs a click to match

    PartnerStack needs the referral key, the customer identifier and the subscription value. Recurring commission also needs the ongoing revenue reported, not just the first payment.

  3. 3

    The identifier is the bridge

    The PartnerStack referral 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

    Deduplication is on your customer identifier. Reporting the same subscription twice creates two commissionable relationships against one paying customer, and the error compounds monthly rather than once.

Braintree → PartnerStack · normal or broken

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

Normal, not a fault

  • The PartnerStack referral key present on the transaction

  • Sent from the Braintree transaction settlement webhook

  • Deduplicated correctly

    Deduplication is on your customer identifier. Reporting the same subscription twice creates two commissionable relationships against one paying customer, and the error compounds monthly rather than once.

  • Reconciles with the source

Actually broken

  • The PartnerStack referral 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

    The mirror of the usual problem. If cancellations are not reported back, partners keep earning on subscriptions that churned months ago. Every conversion pipeline needs reversals; this one needs them because real money leaves the building otherwise.

  • Nobody has reconciled it

Braintree → PartnerStack · diagnose

Diagnostic order — Braintree → PartnerStack

  1. 01

    Count transactions carrying the PartnerStack referral 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

    Check whether churn events reach PartnerStack at all

    In most implementations the new-subscription path was built and the cancellation path was not, because only one of them is exciting.

  5. 05

    Read the match rate, not the success message

    PartnerStack shows attributed customers and accruing commission per partner. Reconcile the commissionable revenue against your billing system's active subscriptions, not against its historical sales.

Braintree → PartnerStack · prove

How it gets proven — Braintree → PartnerStack

Source of truth

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

  • The PartnerStack referral key confirmed present on a live transaction.
  • Commissionable recurring revenue reconciled against active subscriptions in billing, with cancellations proven to reverse.
  • A PayPal-funded transaction confirmed to report even though the buyer was redirected away.

Braintree → PartnerStack · free audit

What we check in the free audit

  • Count transactions carrying the PartnerStack referral key
  • Follow one real conversion end to end
  • Open a settled transaction and check its custom fields
  • Check whether churn events reach PartnerStack at all
  • 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 → PartnerStack · when not to buy

When you don't need this — Braintree → PartnerStack

  • Measure identifier coverage yourself first — pull your last hundred transactions and count how many carry the PartnerStack referral 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 run no partner or affiliate programme, there is nothing to send here. If you run one on one-off sales rather than subscriptions, the recurring-commission complexity does not apply to you.

Braintree → PartnerStack · what we deliver

What gets built — Braintree → PartnerStack

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

    Server-side reporting from your billing system, with the referral key, customer identifier and the recurring revenue as it is recognized.

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

Check PartnerStack's current integration list; if Braintree is not there, post subscription events from your server to PartnerStack using Braintree's recurring billing webhooks.

Free · 30 min

Get Braintree and PartnerStack joined properly

Free30 minutesNo obligation