Skip to main content
PayPal → BranchIntegration guide

Connecting PayPal to Branch

PayPal holds the settled transaction, and it is frequently the payment method that reports worst. Branch's real job is the web-to-app seam — a person clicks a link in a browser, installs the app, and something has to carry the context across an install that destroys every cookie involved. The join between them succeeds or fails on one thing: whether the Branch link click identifier and the deferred deep link payload reaches the PayPal transaction before the conversion happens, because Branch can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

PayPal and Branch: only worth it where an app checkout exists

PayPal matters for Branch only when purchases happen inside a Branch-attributed app. Send a PURCHASE event from your backend when PayPal reports the capture, with the developer identity your app set after login and your order ID as transaction reference. Guest buyers need a stored Branch identifier; mobile-web PayPal sales belong elsewhere.

Branch carries a campaign across the web-to-app install, so PayPal only matters here if purchases happen inside an app that Branch attributed. In that case, the event to send is a PURCHASE from your backend when PayPal reports the capture, with the same developer identity your app set in the Branch SDK after login, and with your order ID as the event's transaction reference so the SDK and server versions can be told apart.

Guest buyers are the gap. Many PayPal buyers in an app never create an account, so there is no user identity for a server event to attach to, and the event can land unattributed even though the install came through a Branch link. If guest checkout matters to you, store whatever Branch identifier your setup exposes on the order at creation time, and confirm with Branch's documentation which identifier its server-to-server events API accepts for anonymous users.

If your PayPal revenue is all on the mobile web, Branch is the wrong destination for it. Branch's job there is getting someone from a web page into the app, and a purchase completed in the browser should go to your web ad platforms. A quick check: compare in-app PayPal captures against total PayPal captures for a month before building anything.

PayPal → Branch · what breaks

Why this join usually fails — PayPal → Branch

  1. 01

    The Branch link click identifier and the deferred deep link payload never reaches PayPal

    The classic PayPal flow bounces the buyer to paypal.com and back. If the buyer abandons the return, your site never runs the thank-you page and never fires anything, but PayPal has already taken the money. This is why PayPal-heavy stores routinely under-report: the sale is real and the tracking event does not exist.

  2. 02

    The buyer never comes back from PayPal

    Money moves, the confirmation page never loads, and the conversion is invisible. It is the single biggest reason PayPal-heavy stores see paid channels look worse than they are.

  3. 03

    The install that erases the campaign

    Someone clicks a paid ad on the mobile web, hits the app store, installs, and opens the app as a brand new anonymous user. Without deferred deep linking that campaign produced an organic install, and the ad account shows nothing for a conversion it genuinely caused.

  4. 04

    Nothing reconciles afterwards

    Branch shows the attributed link and campaign on the event in its dashboard. Check that the install carries a link click rather than showing as organic, which is the failure this product exists to prevent.

PayPal → Branch · the fix

What working looks like — PayPal → Branch

  • The Branch link click identifier and the deferred deep link payload on every transaction

  • Conversions arriving in Branch

    The event is attributed to the originating link and campaign, and forwarded to any configured downstream partners.

  • Reconciled against the source

PayPal → Branch · architecture

How PayPal and Branch actually connect

  1. 1

    PayPal holds the truth

    The transaction record carries the amount, currency and a transaction ID. It is also the record that survives when the buyer is redirected out to PayPal and never returns to your confirmation page.

  2. 2

    Branch needs a click to match

    Branch needs the link click context matched to the app open, plus the event and its revenue. Without the deferred deep link payload there is nothing to join the install to.

  3. 3

    The identifier is the bridge

    The Branch link click identifier and the deferred deep link payload, captured at the visit and carried into the PayPal transaction.

  4. 4

    The event source decides reliability

    Listen for PAYMENT.CAPTURE.COMPLETED and send from your server. Firing on the return URL loses every buyer who closes the tab at PayPal, which is a much larger share than most merchants expect.

  5. 5

    Deduplication at the destination

    Branch deduplicates on the event identifier you supply. Firing a purchase from both the SDK and your server without a shared identifier double-counts, and Branch forwards to downstream partners, so the duplicate propagates.

PayPal → Branch · normal or broken

Working vs. broken, side by side — PayPal → Branch

Normal, not a fault

  • The Branch link click identifier and the deferred deep link payload present on the transaction

  • Sent from the PayPal webhook (or your order record when the IPN lands)

  • Deduplicated correctly

    Branch deduplicates on the event identifier you supply. Firing a purchase from both the SDK and your server without a shared identifier double-counts, and Branch forwards to downstream partners, so the duplicate propagates.

  • Reconciles with the source

Actually broken

  • The Branch link click identifier and the deferred deep link payload missing on most records

    The classic PayPal flow bounces the buyer to paypal.com and back. If the buyer abandons the return, your site never runs the thank-you page and never fires anything, but PayPal has already taken the money. This is why PayPal-heavy stores routinely under-report: the sale is real and the tracking event does not exist.

  • Sent from the browser

    Money moves, the confirmation page never loads, and the conversion is invisible. It is the single biggest reason PayPal-heavy stores see paid channels look worse than they are.

  • Counted twice, or not at all

    Someone clicks a paid ad on the mobile web, hits the app store, installs, and opens the app as a brand new anonymous user. Without deferred deep linking that campaign produced an organic install, and the ad account shows nothing for a conversion it genuinely caused.

  • Nobody has reconciled it

PayPal → Branch · diagnose

Diagnostic order — PayPal → Branch

  1. 01

    Count transactions carrying the Branch link click identifier and the deferred deep link payload

  2. 02

    Follow one real conversion end to end

  3. 03

    Compare completed PayPal transactions against confirmation-page loads

    For the same day. The gap between the two is the share of PayPal revenue your browser-side setup is structurally unable to see.

  4. 04

    Measure your organic install share and ask whether it is plausible

    An implausibly large organic share is usually broken attribution rather than genuine word of mouth.

  5. 05

    Read the match rate, not the success message

    Branch shows the attributed link and campaign on the event in its dashboard. Check that the install carries a link click rather than showing as organic, which is the failure this product exists to prevent.

PayPal → Branch · prove

How it gets proven — PayPal → Branch

Source of truth

PayPal's Activity report, filtered to completed payments for the same window.

  • The Branch link click identifier and the deferred deep link payload confirmed present on a live transaction.
  • Attributed installs and in-app purchases reconciled against your own user records, with the unattributed share stated.
  • A PayPal order where the buyer never returned to the site, confirmed to have reported anyway.

PayPal → Branch · free audit

What we check in the free audit

  • Count transactions carrying the Branch link click identifier and the deferred deep link payload
  • Follow one real conversion end to end
  • Compare completed PayPal transactions against confirmation-page loads
  • Measure your organic install share and ask whether it is plausible
  • Read the match rate, not the success message

Checked against

PayPal's Activity report, filtered to completed payments for the same window.

Get my free conversion tracking audit

Free30 minutesNo obligation

PayPal → Branch · when not to buy

When you don't need this — PayPal → Branch

  • Measure identifier coverage yourself first — pull your last hundred transactions and count how many carry the Branch link click identifier and the deferred deep link payload.
  • If PayPal is under a few percent of your orders, fixing the whole flow may not move a decision. Measure the share first.
  • If you have no app, or no web surface driving app installs, there is no seam here to bridge and the integration solves nothing.

PayPal → Branch · what we deliver

What gets built — PayPal → Branch

  • Identifier capture into PayPal

    Capture the click identifier before checkout and store it against the order in your own database, keyed by the PayPal order ID. PayPal's own custom_id / invoice_id fields can carry your order reference so the two records can always be re-joined server-side.

  • Event source: the PayPal webhook (or your order record when the IPN lands)

    Listen for PAYMENT.CAPTURE.COMPLETED and send from your server. Firing on the return URL loses every buyer who closes the tab at PayPal, which is a much larger share than most merchants expect.

  • Dispatch to Branch

    The Branch server-to-server events API, posted from your backend with the user identity and event data.

  • Reversals where they exist

    PAYMENT.CAPTURE.REFUNDED and the dispute webhooks exist and carry the same reference, so reversals can be wired properly.

Written guarantee

95%+ tracking accuracy

Measured against PayPal's Activity report, filtered to completed payments for the same window.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

PayPal → Branch questions, answered

Yes, if your backend sends the purchase with the user identity the app set in the Branch SDK. Guest checkouts without an identity are the usual gap.

Free · 30 min

Get PayPal and Branch joined properly

Free30 minutesNo obligation