Connecting Stripe to Customer.io
Stripe knows exactly what was paid, by whom, and when — down to the cent, including the refund three weeks later. 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 Stripe Customer or PaymentIntent 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
Stripe payments into Customer.io without a second profile
Store your Customer.io person ID on the Stripe Customer at checkout, or send by email if your workspace uses email, never mixing both. From the webhook, retrieve the Checkout Session line items and send one order event with order ID, total converted from minor units, currency and product names. Make the handler idempotent on the Stripe event ID.
Customer.io decides who a Stripe payment belongs to by the ID you send, and Stripe's natural key, the cus_ customer ID, is not the one your workspace uses. Either store your Customer.io person ID on the Stripe Customer when checkout starts, or send by email if your workspace identifies people by email. Mixing the two is how one buyer becomes two people, each enrolled in half a campaign.
In the webhook handler, retrieve the Checkout Session with its line items and send one order event carrying everything your templates reference: order ID, total, currency, product names. Stripe amounts are in the smallest currency unit, so an email reading $4999.00 for a $49.99 order is the classic sign of a missed division, and zero-decimal currencies such as JPY must skip it. Campaigns fire on arrival, so a field you forgot ships as a blank in a real email.
Stripe retries any webhook that does not get a 2xx response, and Customer.io treats each forwarded retry as a new event that can enter the campaign again. Make the handler idempotent on the Stripe event ID. For testing, pair Stripe test mode with a separate Customer.io workspace; never point test-mode webhooks at production.
Stripe → Customer.io · what breaks
Why this join usually fails — Stripe → Customer.io
- 01
The person identifier you assign never reaches Stripe
Stripe Checkout runs on checkout.stripe.com, a different origin from your site, so nothing you set in a first-party cookie travels with the customer. The identifier has to be put into PaymentIntent metadata (or the Checkout Session's metadata) at the moment you create the session, server-side. If you create sessions from a price link or a Buy Button, there is no server step and no metadata — that setup cannot be joined to advertising at all without changing how sessions are created.
- 02
Checkout is on Stripe's domain, so the browser loses the thread
The customer leaves your site, pays somewhere else, and comes back to a thank-you page. Anything relying on browser continuity across that hop is unreliable, and on Safari it is worse than unreliable.
- 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.
- 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.
Stripe → Customer.io · the fix
What working looks like — Stripe → Customer.io
The person identifier you assign on every payment
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
Stripe → Customer.io · architecture
How Stripe and Customer.io actually connect
- 1
Stripe holds the truth
Every succeeded PaymentIntent is a real conversion with a real amount and currency. No sampling, no modeling, no consent gate. This is the number the business actually banked, which is why it is the reference rather than anything either ad platform reports.
- 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
The identifier is the bridge
The person identifier you assign, captured at the visit and carried into the Stripe Customer or PaymentIntent.
- 4
The event source decides reliability
Subscribe to payment_intent.succeeded (or checkout.session.completed) and send from your server when Stripe fires it. Reading a payment from the thank-you page instead means every customer who closes the tab on the redirect is a conversion you never counted, and Stripe redirects after taking money, not before.
- 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.
Stripe → Customer.io · normal or broken
Working vs. broken, side by side — Stripe → Customer.io
Normal, not a fault
The person identifier you assign present on the payment
Sent from the Stripe webhook
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
Stripe Checkout runs on checkout.stripe.com, a different origin from your site, so nothing you set in a first-party cookie travels with the customer. The identifier has to be put into PaymentIntent metadata (or the Checkout Session's metadata) at the moment you create the session, server-side. If you create sessions from a price link or a Buy Button, there is no server step and no metadata — that setup cannot be joined to advertising at all without changing how sessions are created.
Sent from the browser
The customer leaves your site, pays somewhere else, and comes back to a thank-you page. Anything relying on browser continuity across that hop is unreliable, and on Safari it is worse than unreliable.
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
Stripe → Customer.io · diagnose
Diagnostic order — Stripe → Customer.io
- 01
Count payments carrying the person identifier you assign
- 02
Follow one real conversion end to end
- 03
Open one succeeded PaymentIntent in the Stripe dashboard
Look at its Metadata section. If the identifier is not there, nothing downstream can fix it — the join is broken at the source and every other check is wasted effort.
- 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.
- 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.
Stripe → Customer.io · prove
How it gets proven — Stripe → Customer.io
Source of truth
The Stripe dashboard — Payments, filtered to succeeded, for the same window.
- The person identifier you assign confirmed present on a live payment.
- Events confirmed on person profiles with the triggered campaign activity verified, in a test workspace before production.
- A refunded payment confirmed to reverse, not just the sale confirmed to send.
Stripe → Customer.io · free audit
What we check in the free audit
- Count payments carrying the person identifier you assign
- Follow one real conversion end to end
- Open one succeeded PaymentIntent in the Stripe dashboard
- Confirm which workspace you are writing to before sending anything
- Read the match rate, not the success message
Checked against
The Stripe dashboard — Payments, filtered to succeeded, for the same window.
Free30 minutesNo obligation
Stripe → Customer.io · when not to buy
When you don't need this — Stripe → Customer.io
- Measure identifier coverage yourself first — pull your last hundred payments and count how many carry the person identifier you assign.
- If you take payment through a hosted Payment Link or Buy Button and have no server creating sessions, this needs a development change on your side before any tracking work is worth commissioning. Worth knowing before you pay for tracking.
- If your messaging is scheduled rather than behavioural, a simpler email platform does the job and removes the whole class of accidental-send risk.
Stripe → Customer.io · what we deliver
What gets built — Stripe → Customer.io
Identifier capture into Stripe
Read the click identifier from the landing page, persist it in a first-party cookie, and pass it into the create-session call as metadata. Stripe carries metadata onto the resulting PaymentIntent and Charge, so it survives to the webhook and to any later refund.
Event source: the Stripe webhook
Subscribe to payment_intent.succeeded (or checkout.session.completed) and send from your server when Stripe fires it. Reading a payment from the thank-you page instead means every customer who closes the tab on the redirect is a conversion you never counted, and Stripe redirects after taking money, not before.
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
Stripe fires charge.refunded and charge.dispute.created. Both carry the original metadata, so a refund can be sent as a negative or a retraction wherever the destination supports it. Most setups never wire this and quietly overstate revenue by the refund rate.
Written guarantee
95%+ tracking accuracy
Measured against The Stripe dashboard — Payments, filtered to succeeded, for the same window.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Stripe → Customer.io questions, answered
Stripe reports amounts in the smallest currency unit, so $49.99 arrives as 4999. Divide before sending, and skip the division for zero-decimal currencies such as JPY.
Yes, if every retry is forwarded. Deduplicate on the Stripe event ID before posting to Customer.io.
Almost always because the person identifier you assign never reached the Stripe Customer or PaymentIntent. Stripe Checkout runs on checkout.stripe.com, a different origin from your site, so nothing you set in a first-party cookie travels with the customer. The identifier has to be put into PaymentIntent metadata (or the Checkout Session's metadata) at the moment you create the session, server-side. If you create sessions from a price link or a Buy Button, there is no server step and no metadata — that setup cannot be joined to advertising at all without changing how sessions are created. Measure coverage before debugging the dispatch.
Customer.io identifies people by an ID you control, with email as a common choice. Anonymous events can be sent and later merged, but a mismatch creates a second profile — and a second profile means a second copy of every campaign that person is enrolled in.
The Stripe webhook. Subscribe to payment_intent.succeeded (or checkout.session.completed) and send from your server when Stripe fires it. Reading a payment from the thank-you page instead means every customer who closes the tab on the redirect is a conversion you never counted, and Stripe redirects after taking money, not before.
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.
More on Stripe → Customer.io
- Stripe Billing → Customer.ioConnecting Stripe Billing to Customer.io
- PayPal → Customer.ioConnecting PayPal to Customer.io
- Shopify → Customer.ioConnecting Shopify to Customer.io
RELATED GUIDES
Where Stripe → Customer.io fits in the rest of your tracking
- Stripe Billing → Customer.ioConnecting Stripe Billing to Customer.io
- PayPal → Customer.ioConnecting PayPal to Customer.io
- Stripe → Marketing CloudConnecting Stripe to Salesforce Marketing Cloud
- Stripe → AttentiveConnecting Stripe to Attentive
- SubscriptionsConversion tracking for subscription businesses, across the whole lifecycle
- PayPal → KlaviyoConnecting PayPal to Klaviyo
- Stripe Billing → BrazeConnecting Stripe Billing to Braze
- Stripe Billing → KlaviyoConnecting Stripe Billing to Klaviyo
Free · 30 min
Get Stripe and Customer.io joined properly
Free30 minutesNo obligation
