Skip to main content
PayPal → SnowflakeIntegration guide

Connecting PayPal to Snowflake

PayPal holds the settled transaction, and it is frequently the payment method that reports worst. Snowflake's distinguishing feature is that two organisations can join data without either copying it to the other, which turns measurement between partners from a legal negotiation into a query. The join between them succeeds or fails on one thing: whether whatever join key both parties agree on, usually a hashed identifier reaches the PayPal transaction before the conversion happens, because Snowflake can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

PayPal into Snowflake: webhooks for speed, reports for the truth

Land raw PayPal webhook payloads with event IDs in Snowflake for speed, plus daily Transaction Search or settlement reports as the complete reconciliation. Keep your order ID from custom_id or invoice_id alongside PayPal's order and capture IDs, store gross, fee, net and currency per capture, and schedule deduplication on event ID.

For Snowflake, PayPal offers two feeds, and you want both. Webhooks arrive within seconds but are delivered at least once, can arrive out of order, and occasionally never arrive. PayPal's transaction reporting, through the Transaction Search API or downloadable settlement reports, is slower but complete. Land raw webhook payloads in one table with PayPal's event ID kept, land the daily transactions in another, and treat the second as the reconciliation for the first.

The join key that matters is your own order ID, carried in the PayPal order's custom_id or invoice_id. PayPal's order ID and capture ID are different values, and refunds reference the capture, so keep all three on every row. That is what lets you join a PayPal refund back to the click identifier stored on your order, and from there to the ad platform that claimed the sale.

Store money as PayPal reports it: gross amount, PayPal fee, net amount and currency, per capture. Finance reconciles to net, marketing reports gross, and a warehouse that keeps only one makes the other team's number impossible. Write a deduplication step on PayPal's event ID and schedule it, because a retried webhook is a duplicate row nobody will notice until revenue disagrees with PayPal's own report.

PayPal → Snowflake · what breaks

Why this join usually fails — PayPal → Snowflake

  1. 01

    Whatever join key both parties agree on, usually a hashed identifier 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 clean room that answers a question nobody agreed on

    The technology makes the join possible; it does not make the definitions match. Two organisations measuring the same campaign will disagree about what a conversion is, which window applies and whose attribution model governs — and the query will return a confident number for whichever set of assumptions got written into the SQL.

  4. 04

    Nothing reconciles afterwards

    Snowflake will not tell you anything is wrong. Verify by querying against each party's own totals and checking for duplicate rows on the join key before trusting any aggregate.

PayPal → Snowflake · the fix

What working looks like — PayPal → Snowflake

  • Whatever join key both parties agree on, usually a hashed identifier on every transaction

  • Conversions arriving in Snowflake

    The row lands in a table you own, joinable to your own data and — through a share or clean room — to a partner's, without either party moving raw records.

  • Reconciled against the source

PayPal → Snowflake · architecture

How PayPal and Snowflake 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

    Snowflake needs a click to match

    A schema both sides agree on, consistent types, and identifiers normalised identically before hashing. The failure mode is not rejection but silent divergence — a timestamp in the wrong zone or a trimmed-versus-untrimmed email produces answers that look plausible.

  3. 3

    The identifier is the bridge

    Whatever join key both parties agree on, usually a hashed identifier, 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

    Nothing deduplicates for you. Loads are at-least-once, so a retried pipeline creates duplicate rows and the only protection is a deduplication step you write and actually schedule.

PayPal → Snowflake · normal or broken

Working vs. broken, side by side — PayPal → Snowflake

Normal, not a fault

  • Whatever join key both parties agree on, usually a hashed identifier present on the transaction

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

  • Deduplicated correctly

    Nothing deduplicates for you. Loads are at-least-once, so a retried pipeline creates duplicate rows and the only protection is a deduplication step you write and actually schedule.

  • Reconciles with the source

Actually broken

  • Whatever join key both parties agree on, usually a hashed identifier 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

    The technology makes the join possible; it does not make the definitions match. Two organisations measuring the same campaign will disagree about what a conversion is, which window applies and whose attribution model governs — and the query will return a confident number for whichever set of assumptions got written into the SQL.

  • Nobody has reconciled it

PayPal → Snowflake · diagnose

Diagnostic order — PayPal → Snowflake

  1. 01

    Count transactions carrying whatever join key both parties agree on, usually a hashed identifier

  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

    Write down both parties' conversion definitions before writing any query

    Definition mismatch, not technology, is what makes most partner measurement projects produce numbers neither side trusts.

  5. 05

    Read the match rate, not the success message

    Snowflake will not tell you anything is wrong. Verify by querying against each party's own totals and checking for duplicate rows on the join key before trusting any aggregate.

PayPal → Snowflake · prove

How it gets proven — PayPal → Snowflake

Source of truth

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

  • Whatever join key both parties agree on, usually a hashed identifier confirmed present on a live transaction.
  • Row counts and revenue reconciled against each source system for a closed window, with duplicates checked on the join key and both definitions documented.
  • A PayPal order where the buyer never returned to the site, confirmed to have reported anyway.

PayPal → Snowflake · free audit

What we check in the free audit

  • Count transactions carrying whatever join key both parties agree on, usually a hashed identifier
  • Follow one real conversion end to end
  • Compare completed PayPal transactions against confirmation-page loads
  • Write down both parties' conversion definitions before writing any query
  • 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 → Snowflake · when not to buy

When you don't need this — PayPal → Snowflake

  • Measure identifier coverage yourself first — pull your last hundred transactions and count how many carry whatever join key both parties agree on, usually a hashed identifier.
  • If PayPal is under a few percent of your orders, fixing the whole flow may not move a decision. Measure the share first.
  • If you have no partner to share data with and one cloud, a warehouse you already run does the same job. The sharing capability is what justifies this one.

PayPal → Snowflake · what we deliver

What gets built — PayPal → Snowflake

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

    Batch or streaming loads from your order system, with the raw event retained alongside anything you derive from it.

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

Both. Webhooks for timely data, PayPal's transaction reports to catch anything the webhooks missed or duplicated.

Free · 30 min

Get PayPal and Snowflake joined properly

Free30 minutesNo obligation