Connecting Worldpay to Segment
Worldpay spans online and in-person payments for large merchants, which means one provider covers two channels with completely different attribution potential. Segment is a customer data platform rather than an ad network, so sending to it is not about matching a conversion — it is about putting one clean event where every other destination can read it. The join between them succeeds or fails on one thing: whether the userId and anonymousId reaches the Worldpay transaction before the conversion happens, because Segment can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Worldpay through Segment: one settled Order Completed for all
Send Segment Order Completed server-side when Worldpay's notification confirms payment, with the merchant reference as order ID and messageId, plus the anonymousId and userId stored on the order, click IDs and consent state. Give card-present sales a separate event or channel property routed away from ad destinations, and send refunds as Order Refunded.
A large merchant on Worldpay usually feeds purchases to several ad platforms, an email tool and a warehouse, which is the fan-out Segment exists for. The point is to define the purchase once, from the settled payment, rather than letting each tool read its own browser event from a return page that some shoppers never reach after the hosted payment step.
Send Order Completed server-side when Worldpay's notification confirms the payment, with the merchant reference as order ID and as messageId, so a repeated notification is dropped instead of fanned out twice. The identity has to be the browser's: store Segment's anonymousId and any userId on the order at payment creation and send them with the event, alongside the click IDs and the shopper's consent state as properties.
Card-present transactions are the real decision. Sending them through the same Order Completed event pushes in-store sales into ad destinations that will try to match them to clicks that never happened. Use a separate event name or a channel property, route it to the warehouse and loyalty tools, and filter it from ad destinations. Refunds and chargebacks should go as Order Refunded with the original reference, so every destination gets the reversal.
Worldpay → Segment · what breaks
Why this join usually fails — Worldpay → Segment
- 01
The userId and anonymousId never reaches Worldpay
The hosted payment pages redirect the shopper off-site, and card-present terminals have no marketing context at all. Only the ecommerce channel is joinable, and only if the identifier was attached at payment creation.
- 02
Two channels reported as one number
Card-present revenue cannot be attributed to a click and will make ecommerce performance look far worse than it is if the two are summed.
- 03
One bad event multiplied across every destination
Segment's value is fan-out, which is also its risk. An inconsistent identity or a duplicated event does not break one report — it breaks every connected tool simultaneously, and tracing it back is harder than debugging a direct integration.
- 04
Nothing reconciles afterwards
Segment's debugger shows events arriving and which destinations accepted them. Arriving is not the test — check a destination you care about and confirm the event landed there with the identity intact, then reconcile against your own records.
Worldpay → Segment · the fix
What working looks like — Worldpay → Segment
The userId and anonymousId on every transaction
Conversions arriving in Segment
Events land in Segment and forward to every connected destination, warehouse included, on one shared definition.
Reconciled against the source
Worldpay → Segment · architecture
How Worldpay and Segment actually connect
- 1
Worldpay holds the truth
Card-present transactions have no click and no session by construction. Splitting the channels before comparing anything is the first requirement of an honest number here.
- 2
Segment needs a click to match
Segment needs a consistent identity model — the same userId everywhere, an alias when an anonymous visitor becomes known, and event names that follow one spec. Feeding it inconsistent identities pushes the mess to every connected destination at once.
- 3
The identifier is the bridge
The userId and anonymousId, captured at the visit and carried into the Worldpay transaction.
- 4
The event source decides reliability
Fire on settlement from the notification rather than a return URL, since hosted pages mean the shopper may not come back.
- 5
Deduplication at the destination
Segment deduplicates on messageId within a window. Because it fans out to many destinations, a duplicate here becomes a duplicate everywhere, which makes idempotent messageIds more important than in any single-destination integration.
Worldpay → Segment · normal or broken
Working vs. broken, side by side — Worldpay → Segment
Normal, not a fault
The userId and anonymousId present on the transaction
Sent from the Worldpay payment notification
Deduplicated correctly
Segment deduplicates on messageId within a window. Because it fans out to many destinations, a duplicate here becomes a duplicate everywhere, which makes idempotent messageIds more important than in any single-destination integration.
Reconciles with the source
Actually broken
The userId and anonymousId missing on most records
The hosted payment pages redirect the shopper off-site, and card-present terminals have no marketing context at all. Only the ecommerce channel is joinable, and only if the identifier was attached at payment creation.
Sent from the browser
Card-present revenue cannot be attributed to a click and will make ecommerce performance look far worse than it is if the two are summed.
Counted twice, or not at all
Segment's value is fan-out, which is also its risk. An inconsistent identity or a duplicated event does not break one report — it breaks every connected tool simultaneously, and tracing it back is harder than debugging a direct integration.
Nobody has reconciled it
Worldpay → Segment · diagnose
Diagnostic order — Worldpay → Segment
- 01
Count transactions carrying the userId and anonymousId
- 02
Follow one real conversion end to end
- 03
Split settled volume by channel before anything else
Every subsequent number depends on that split, and it is usually the first thing nobody has done.
- 04
Check identity resolution before checking anything downstream
If anonymousId is never aliased to userId, every destination sees two people where there is one, and no downstream fix helps.
- 05
Read the match rate, not the success message
Segment's debugger shows events arriving and which destinations accepted them. Arriving is not the test — check a destination you care about and confirm the event landed there with the identity intact, then reconcile against your own records.
Worldpay → Segment · prove
How it gets proven — Worldpay → Segment
Source of truth
Worldpay's settled transactions by date, split by channel — ecommerce and card-present are different questions.
- The userId and anonymousId confirmed present on a live transaction.
- An anonymous session confirmed aliased to a known user, with the event visible in at least one downstream destination.
- Ecommerce transactions reconciled separately from card-present, with the split stated.
Worldpay → Segment · free audit
What we check in the free audit
- Count transactions carrying the userId and anonymousId
- Follow one real conversion end to end
- Split settled volume by channel before anything else
- Check identity resolution before checking anything downstream
- Read the match rate, not the success message
Checked against
Worldpay's settled transactions by date, split by channel — ecommerce and card-present are different questions.
Free30 minutesNo obligation
Worldpay → Segment · when not to buy
When you don't need this — Worldpay → Segment
- Measure identifier coverage yourself first — pull your last hundred transactions and count how many carry the userId and anonymousId.
- If nearly all your Worldpay volume is card-present, there is very little for click attribution to reach.
- If you send to one or two destinations, Segment is infrastructure you do not need — direct integrations are simpler and cheaper. It earns its place at genuine fan-out.
Worldpay → Segment · what we deliver
What gets built — Worldpay → Segment
Identifier capture into Worldpay
Pass the identifier into the transaction's custom or merchant reference fields on the ecommerce channel, and treat card-present volume as a separate, unattributable line.
Event source: the Worldpay payment notification
Fire on settlement from the notification rather than a return URL, since hosted pages mean the shopper may not come back.
Dispatch to Segment
Server-side track and identify calls with a stable messageId, consistent userId, and the click identifier carried as a trait or property.
Reversals where they exist
Refunds and chargebacks are recorded against the original transaction.
Written guarantee
95%+ tracking accuracy
Measured against Worldpay's settled transactions by date, split by channel — ecommerce and card-present are different questions.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Worldpay → Segment questions, answered
Send Order Completed from your server when Worldpay's payment notification confirms the payment, using the merchant reference as order ID and messageId, with the anonymousId stored on the order.
Yes, but as a separate event or with a channel property, filtered from ad destinations. Mixing them with online orders sends unattributable sales to ad platforms.
Almost always because the userId and anonymousId never reached the Worldpay transaction. The hosted payment pages redirect the shopper off-site, and card-present terminals have no marketing context at all. Only the ecommerce channel is joinable, and only if the identifier was attached at payment creation. Measure coverage before debugging the dispatch.
Segment identifies people by anonymousId before they are known and userId afterwards, and the alias between them is what stitches a session to a customer. Click identifiers travel as event properties or traits rather than as a matching key — Segment does not match anything itself, it forwards. That distinction changes the whole design: get the identity resolution right and every downstream destination inherits it.
The Worldpay payment notification. Fire on settlement from the notification rather than a return URL, since hosted pages mean the shopper may not come back.
Segment's debugger shows events arriving and which destinations accepted them. Arriving is not the test — check a destination you care about and confirm the event landed there with the identity intact, then reconcile against your own records.
More on Worldpay → Segment
- Stripe → SegmentConnecting Stripe to Segment
- PayPal → SegmentConnecting PayPal to Segment
- Shopify → SegmentConnecting Shopify to Segment
RELATED GUIDES
Where Worldpay → Segment fits in the rest of your tracking
- Recurly → SegmentConnecting Recurly to Segment
- Chargebee → SegmentConnecting Chargebee to Segment
- Zip → SegmentConnecting Zip to Segment
- Worldpay → BigQueryConnecting Worldpay to BigQuery
- Financial servicesConversion tracking for financial services, built for the compliance review
- Sezzle → SegmentConnecting Sezzle to Segment
- Checkout.com → SegmentConnecting Checkout.com to Segment
- Affirm → SegmentConnecting Affirm to Segment
Free · 30 min
Get Worldpay and Segment joined properly
Free30 minutesNo obligation
