Skip to main content
Worldpay → AmplitudeIntegration guide

Connecting Worldpay to Amplitude

Worldpay spans online and in-person payments for large merchants, which means one provider covers two channels with completely different attribution potential. Amplitude is built around behavioural cohorts, which makes the identity resolution and the event taxonomy load-bearing in a way they never are for an ad pixel. The join between them succeeds or fails on one thing: whether the user ID and device ID pair reaches the Worldpay transaction before the conversion happens, because Amplitude can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Worldpay into Amplitude: revenue on settlement, same user ID

Send revenue to Amplitude from your server on Worldpay's settlement notification, using the user ID or device ID stored on the order against the merchant reference at payment creation. Set price and quantity so revenue charts populate. Send refunds and chargebacks as negative revenue with the original order reference, and include card-present sales only with a loyalty ID.

Amplitude matters to a Worldpay merchant when product or growth teams study purchase behavior over time: repeat orders, time to second purchase, revenue per cohort. Worldpay's job is to make that revenue real. The browser fires an order event on the redirect back from the hosted payment page, if the shopper comes back; the settled payment comes from Worldpay's notification, and that is the one that should carry revenue.

So the revenue event comes from your server, and it must use the same user ID or device ID as the browser SDK. Store Amplitude's IDs on your order when the payment is created, keyed to the merchant reference you send to Worldpay, and look them up when the notification arrives. Set price and quantity on the event, or Amplitude's revenue charts stay empty while events keep arriving.

Refunds and chargebacks arrive later against the original transaction; send them as negative revenue under the same user, with the original order reference, so cohort revenue drops when money goes back. Card-present sales belong in Amplitude only if a loyalty or account ID identifies the shopper at the terminal; otherwise leave them out, since an anonymous in-store sale creates a user who never existed online.

Worldpay → Amplitude · what breaks

Why this join usually fails — Worldpay → Amplitude

  1. 01

    The user ID and device ID pair 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.

  2. 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.

  3. 03

    Revenue events that carry no revenue

    Amplitude will happily accept a purchase event with no price field. The event count looks correct, the funnel looks correct, and the revenue reporting stays at zero — which people usually discover a quarter later when someone asks what a cohort is worth.

  4. 04

    Nothing reconciles afterwards

    Amplitude shows the event in the user's activity stream with its properties expanded. Read the properties, because an event that arrives without its revenue fields still looks like a success.

Worldpay → Amplitude · the fix

What working looks like — Worldpay → Amplitude

  • The user ID and device ID pair on every transaction

  • Conversions arriving in Amplitude

    The event lands on the user, joins their behavioural history, and becomes available for cohorts, funnels and retention.

  • Reconciled against the source

Worldpay → Amplitude · architecture

How Worldpay and Amplitude actually connect

  1. 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. 2

    Amplitude needs a click to match

    Amplitude needs a device or user identifier, an event type and its properties. Revenue events need the price and quantity fields specifically, or the revenue reporting stays empty while events flow normally.

  3. 3

    The identifier is the bridge

    The user ID and device ID pair, captured at the visit and carried into the Worldpay transaction.

  4. 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. 5

    Deduplication at the destination

    Amplitude deduplicates on insert_id. Omit it and a retried batch is counted twice, which shows up as a phantom spike that someone will eventually build a hypothesis on.

Worldpay → Amplitude · normal or broken

Working vs. broken, side by side — Worldpay → Amplitude

Normal, not a fault

  • The user ID and device ID pair present on the transaction

  • Sent from the Worldpay payment notification

  • Deduplicated correctly

    Amplitude deduplicates on insert_id. Omit it and a retried batch is counted twice, which shows up as a phantom spike that someone will eventually build a hypothesis on.

  • Reconciles with the source

Actually broken

  • The user ID and device ID pair 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

    Amplitude will happily accept a purchase event with no price field. The event count looks correct, the funnel looks correct, and the revenue reporting stays at zero — which people usually discover a quarter later when someone asks what a cohort is worth.

  • Nobody has reconciled it

Worldpay → Amplitude · diagnose

Diagnostic order — Worldpay → Amplitude

  1. 01

    Count transactions carrying the user ID and device ID pair

  2. 02

    Follow one real conversion end to end

  3. 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.

  4. 04

    Check a purchase event for the price and quantity fields specifically

    Not whether the event arrived — whether the revenue fields are populated, in the exact names Amplitude expects.

  5. 05

    Read the match rate, not the success message

    Amplitude shows the event in the user's activity stream with its properties expanded. Read the properties, because an event that arrives without its revenue fields still looks like a success.

Worldpay → Amplitude · prove

How it gets proven — Worldpay → Amplitude

Source of truth

Worldpay's settled transactions by date, split by channel — ecommerce and card-present are different questions.

  • The user ID and device ID pair confirmed present on a live transaction.
  • Revenue reconciled per transaction against your billing system, with identity merge behaviour verified across signup.
  • Ecommerce transactions reconciled separately from card-present, with the split stated.

Worldpay → Amplitude · free audit

What we check in the free audit

  • Count transactions carrying the user ID and device ID pair
  • Follow one real conversion end to end
  • Split settled volume by channel before anything else
  • Check a purchase event for the price and quantity fields specifically
  • 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.

Get my free conversion tracking audit

Free30 minutesNo obligation

Worldpay → Amplitude · when not to buy

When you don't need this — Worldpay → Amplitude

  • Measure identifier coverage yourself first — pull your last hundred transactions and count how many carry the user ID and device ID pair.
  • If nearly all your Worldpay volume is card-present, there is very little for click attribution to reach.
  • If nobody is building cohorts or retention analysis, this is a large amount of instrumentation for reporting a dashboard already gives you.

Worldpay → Amplitude · what we deliver

What gets built — Worldpay → Amplitude

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

    The Amplitude HTTP V2 API, posted server-side with the identity, event type and properties.

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

Get my free conversion tracking audit

From $400 · See packages

FAQ

Worldpay → Amplitude questions, answered

From Worldpay's settlement notification, sent server-side under the same user ID the browser uses. The browser event on the redirect misses shoppers who never return from the hosted page.

Free · 30 min

Get Worldpay and Amplitude joined properly

Free30 minutesNo obligation