Skip to main content
Worldpay → BigQueryIntegration guide

Connecting Worldpay to BigQuery

Worldpay spans online and in-person payments for large merchants, which means one provider covers two channels with completely different attribution potential. BigQuery has no attribution model, no deduplication rules and no opinion about your data — which makes it the only destination on this site where every number is exactly as good as the query that produced it. The join between them succeeds or fails on one thing: whether whatever join key you decide on reaches the Worldpay transaction before the conversion happens, because BigQuery can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Worldpay in BigQuery: ecommerce and card-present split first

Load settled Worldpay transactions into BigQuery with channel as a column, merchant reference, amount, currency and settlement date, then join on the merchant reference to your order table holding the click IDs. Model refunds and chargebacks as separate rows keyed to the original reference, don't count card-present non-matches as failures, and convert currencies in a view.

BigQuery is the natural home for Worldpay data because the first job, splitting settled volume by channel, is a query rather than a dashboard setting. Load settled transactions with channel, merchant reference, amount, currency and settlement date, and keep card-present versus ecommerce as a column, not as two tables someone later unions without thinking.

The join key is the merchant reference you set at payment creation. Your own order table, written when the shopper started checkout, holds the click IDs (gclid, fbclid, ttclid) and the same reference, so attribution is a join between your orders and Worldpay's settled transactions. Ecommerce transactions with no matching order row are a capture problem worth counting; card-present transactions will never match and should not be counted as failures.

Refunds and chargebacks are recorded against the original transaction, often weeks later, so model them as separate rows keyed to the original reference rather than editing the sale. Check whether your Worldpay product delivers settlement data as report files, through an API, or both, since that decides how current the warehouse can be. Large merchants often settle in several currencies; store the settled currency and convert in a view, not on load.

Worldpay → BigQuery · what breaks

Why this join usually fails — Worldpay → BigQuery

  1. 01

    Whatever join key you decide on 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

    The warehouse quietly disagreeing with every platform

    This is not a bug — it is the point. Your warehouse counts orders; Google counts click-attributed conversions in its window; Meta counts differently again. When the four numbers differ, the warehouse is usually right about revenue and wrong about attribution, and knowing which question you are answering is the whole skill.

  4. 04

    Nothing reconciles afterwards

    BigQuery will not tell you anything is wrong. Verify by querying the table directly against your source system's own totals, and check for duplicate rows on the join key before trusting any aggregate.

Worldpay → BigQuery · the fix

What working looks like — Worldpay → BigQuery

  • Whatever join key you decide on on every transaction

  • Conversions arriving in BigQuery

    The row lands in a table you own, joinable to every other table you own, with no window and no expiry.

  • Reconciled against the source

Worldpay → BigQuery · architecture

How Worldpay and BigQuery 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

    BigQuery needs a click to match

    BigQuery needs a schema and consistent types. The failure mode is not rejection, it is silent divergence: a column that arrives as a string in one load and an integer in the next, or a timestamp in the wrong zone, which produces answers that look plausible and are not.

  3. 3

    The identifier is the bridge

    Whatever join key you decide on, 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

    Nothing deduplicates for you. Streaming inserts are at-least-once, so a retried load can create duplicate rows, and the only protection is a deduplication step you write and actually run.

Worldpay → BigQuery · normal or broken

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

Normal, not a fault

  • Whatever join key you decide on present on the transaction

  • Sent from the Worldpay payment notification

  • Deduplicated correctly

    Nothing deduplicates for you. Streaming inserts are at-least-once, so a retried load can create duplicate rows, and the only protection is a deduplication step you write and actually run.

  • Reconciles with the source

Actually broken

  • Whatever join key you decide on 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

    This is not a bug — it is the point. Your warehouse counts orders; Google counts click-attributed conversions in its window; Meta counts differently again. When the four numbers differ, the warehouse is usually right about revenue and wrong about attribution, and knowing which question you are answering is the whole skill.

  • Nobody has reconciled it

Worldpay → BigQuery · diagnose

Diagnostic order — Worldpay → BigQuery

  1. 01

    Count transactions carrying whatever join key you decide on

  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

    Reconcile warehouse order counts against each platform for one closed window

    The gaps localize the problem: a gap against all platforms is a collection issue, a gap against one is that platform's window or matching.

  5. 05

    Read the match rate, not the success message

    BigQuery will not tell you anything is wrong. Verify by querying the table directly against your source system's own totals, and check for duplicate rows on the join key before trusting any aggregate.

Worldpay → BigQuery · prove

How it gets proven — Worldpay → BigQuery

Source of truth

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

  • Whatever join key you decide on confirmed present on a live transaction.
  • Warehouse order counts and revenue reconciled against the source system for a fully closed window, with duplicates checked on the join key.
  • Ecommerce transactions reconciled separately from card-present, with the split stated.

Worldpay → BigQuery · free audit

What we check in the free audit

  • Count transactions carrying whatever join key you decide on
  • Follow one real conversion end to end
  • Split settled volume by channel before anything else
  • Reconcile warehouse order counts against each platform for one closed window
  • 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 → BigQuery · when not to buy

When you don't need this — Worldpay → BigQuery

  • Measure identifier coverage yourself first — pull your last hundred transactions and count how many carry whatever join key you decide on.
  • If nearly all your Worldpay volume is card-present, there is very little for click attribution to reach.
  • If you have one store and one ad platform, a warehouse is infrastructure you will maintain for a reconciliation you could do in a spreadsheet.

Worldpay → BigQuery · what we deliver

What gets built — Worldpay → BigQuery

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

    Streaming inserts or scheduled batch loads from your order system, with the raw event retained alongside whatever you derive from it.

  • 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 → BigQuery questions, answered

Store click IDs on your own order record with the same merchant reference you pass to Worldpay, then join settled transactions to orders on that reference. Card-present transactions will not match by design.

Free · 30 min

Get Worldpay and BigQuery joined properly

Free30 minutesNo obligation