Skip to main content
PayPal → Customer.ioIntegration guide

Connecting PayPal to Customer.io

PayPal holds the settled transaction, and it is frequently the payment method that reports worst. Customer.io triggers messages from behaviour, which means an event you send is not recorded — it is acted on, usually within seconds, by sending something to a real person. The join between them succeeds or fails on one thing: whether the person identifier you assign reaches the PayPal transaction before the conversion happens, because Customer.io can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

PayPal into Customer.io: trigger on cleared payments, not pending

Trigger the Customer.io purchase event on PAYMENT.CAPTURE.COMPLETED, not the first webhook, because eCheck or reviewed payments can stay pending and fail. Identify people by your own ID passed through custom_id, include every attribute your templates reference, and send refund and dispute events as campaign exit conditions. Test with PayPal sandbox.

Customer.io acts on events the moment they arrive, which makes PayPal's payment states matter. A capture funded by an eCheck or under review sits as pending for days before it completes, and some can fail. If your order-confirmation or onboarding campaign triggers on the first PayPal webhook it sees, people whose payment later fails still get the welcome sequence. Trigger the purchase event on PAYMENT.CAPTURE.COMPLETED and send pending payments as a separate event, if you send them at all.

Identify the person with the ID you already use in Customer.io, passed through the PayPal order as custom_id, and include every attribute the campaign template references: order number, item names, total in the currency the buyer paid. An event missing an attribute still triggers, and the email goes out with a blank where the order number should be.

Reversals matter more here than in reporting tools because they stop future sends. Send a refund event off PAYMENT.CAPTURE.REFUNDED and a dispute event when a PayPal dispute opens, and use both as exit conditions on review requests, cross-sell sequences and loyalty campaigns. Test the whole thing by paying with a PayPal sandbox account into a non-production workspace; sandbox webhooks are separate from live ones.

PayPal → Customer.io · what breaks

Why this join usually fails — PayPal → Customer.io

  1. 01

    The person identifier you assign 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

    A test event sending a real email

    Because campaigns evaluate on arrival, there is no safe place to test in production. A malformed purchase event fired during development against a live workspace will send a real order confirmation to a real person, and that cannot be recalled.

  4. 04

    Nothing reconciles afterwards

    Customer.io shows the event and the resulting campaign activity on the person's timeline. Check what the event triggered, not just that it arrived.

PayPal → Customer.io · the fix

What working looks like — PayPal → Customer.io

  • The person identifier you assign on every transaction

  • Conversions arriving in Customer.io

    The event lands on the person, evaluates against every campaign trigger and segment condition, and may send immediately.

  • Reconciled against the source

PayPal → Customer.io · architecture

How PayPal and Customer.io 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

    Customer.io needs a click to match

    Customer.io needs the person identifier, the event name and any attributes the campaign conditions reference. An event whose attributes are missing will still trigger a campaign, which may then send a message with an empty placeholder in it.

  3. 3

    The identifier is the bridge

    The person identifier you assign, 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

    Customer.io does not deduplicate events. A purchase sent twice can enter a workflow twice and send two emails, and unlike a reporting duplicate the customer sees this one.

PayPal → Customer.io · normal or broken

Working vs. broken, side by side — PayPal → Customer.io

Normal, not a fault

  • The person identifier you assign present on the transaction

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

  • Deduplicated correctly

    Customer.io does not deduplicate events. A purchase sent twice can enter a workflow twice and send two emails, and unlike a reporting duplicate the customer sees this one.

  • Reconciles with the source

Actually broken

  • The person identifier you assign 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

    Because campaigns evaluate on arrival, there is no safe place to test in production. A malformed purchase event fired during development against a live workspace will send a real order confirmation to a real person, and that cannot be recalled.

  • Nobody has reconciled it

PayPal → Customer.io · diagnose

Diagnostic order — PayPal → Customer.io

  1. 01

    Count transactions carrying the person identifier you assign

  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

    Confirm which workspace you are writing to before sending anything

    Environment separation is the whole safety mechanism in behaviour-triggered tools, and it is the thing most often skipped.

  5. 05

    Read the match rate, not the success message

    Customer.io shows the event and the resulting campaign activity on the person's timeline. Check what the event triggered, not just that it arrived.

PayPal → Customer.io · prove

How it gets proven — PayPal → Customer.io

Source of truth

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

  • The person identifier you assign confirmed present on a live transaction.
  • Events confirmed on person profiles with the triggered campaign activity verified, in a test workspace before production.
  • A PayPal order where the buyer never returned to the site, confirmed to have reported anyway.

PayPal → Customer.io · free audit

What we check in the free audit

  • Count transactions carrying the person identifier you assign
  • Follow one real conversion end to end
  • Compare completed PayPal transactions against confirmation-page loads
  • Confirm which workspace you are writing to before sending anything
  • 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 → Customer.io · when not to buy

When you don't need this — PayPal → Customer.io

  • Measure identifier coverage yourself first — pull your last hundred transactions and count how many carry the person identifier you assign.
  • If PayPal is under a few percent of your orders, fixing the whole flow may not move a decision. Measure the share first.
  • If your messaging is scheduled rather than behavioural, a simpler email platform does the job and removes the whole class of accidental-send risk.

PayPal → Customer.io · what we deliver

What gets built — PayPal → Customer.io

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

    The Customer.io Track API, posted server-side from your order or product system with the person identifier and event attributes.

  • 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 → Customer.io questions, answered

PAYMENT.CAPTURE.COMPLETED for anything that assumes the buyer has paid. Pending captures can still fail.

Free · 30 min

Get PayPal and Customer.io joined properly

Free30 minutesNo obligation