Skip to main content
Checkout.com → PostHogIntegration guide

Connecting Checkout.com to PostHog

Checkout.com is an enterprise processor built for cross-border volume, which puts currency and multiple entities at the centre of any reconciliation. PostHog can be self-hosted, which changes the calculus entirely: the data stays on infrastructure you control, and so does the responsibility for everything that goes wrong with it. The join between them succeeds or fails on one thing: whether the distinct_id reaches the Checkout.com payment before the conversion happens, because PostHog can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Checkout.com to PostHog: payment outcomes as product events

PostHog is useful for seeing where Checkout.com payments fail. Put the distinct_id in payment metadata, then send captures, declines and failed authentications as separate events, with amount, currency and entity as properties. Derive the event UUID from the Checkout.com event ID so webhook retries do not duplicate, and keep a converted-currency property for sums.

PostHog is useful here for something the ad destinations ignore: where payments fail. Checkout.com distinguishes declines, failed authentications and captures, and sending each to PostHog against the same distinct_id lets a funnel insight show how many people start a payment, hit 3-D Secure, drop at the bank, and complete. For a cross-border merchant, breaking that down by country usually turns up one market where authentication or a missing local payment method is losing buyers.

Put the PostHog distinct_id in the payment metadata when the payment is created. Send a captured-payment event from the webhook with amount, currency and processing entity as properties, and send declines and failed authentications as separate events. Use a UUID derived from the Checkout.com event ID as the PostHog event UUID, so webhook retries, which Checkout.com makes when your endpoint is slow or errors, do not create duplicates.

Keep amounts in the original currency plus a converted property; PostHog sums whatever property an insight points at, and mixed currencies in one sum produce a confident wrong number. If PostHog is self-hosted, queue webhook-sourced events when ingestion is down instead of dropping them: Checkout.com retries delivery to your endpoint, but the forward to PostHog is your responsibility alone.

Checkout.com → PostHog · what breaks

Why this join usually fails — Checkout.com → PostHog

  1. 01

    The distinct_id never reaches Checkout.com

    The gateway sees the payment and nothing else. 3-D Secure adds a redirect step that a share of customers abandon on the return, so anything page-based loses them.

  2. 02

    3-D Secure abandonment on the return leg

    The customer authenticates with their bank and a share do not complete the journey back. The payment is captured and the confirmation page never loads.

  3. 03

    Self-hosting the analytics and the outage together

    The advantage of owning the pipeline is that nothing blocks it. The cost is that when the ingestion instance fills its disk on a Saturday, the events are gone and nobody is paged. Hosted tools fail differently and more visibly.

  4. 04

    Nothing reconciles afterwards

    PostHog shows events in the activity view within moments. On a self-hosted instance, check the ingestion lag as well — events that are queued are not events that are lost, and the two need different responses.

Checkout.com → PostHog · the fix

What working looks like — Checkout.com → PostHog

  • The distinct_id on every payment

  • Conversions arriving in PostHog

    The event lands on the person profile and becomes available in insights, funnels and session replay.

  • Reconciled against the source

Checkout.com → PostHog · architecture

How Checkout.com and PostHog actually connect

  1. 1

    Checkout.com holds the truth

    Cross-border merchants frequently run several processing entities and settle in several currencies. Which entity and which currency a figure came from has to be explicit or nothing reconciles.

  2. 2

    PostHog needs a click to match

    PostHog needs a distinct_id, an event name and its properties. Self-hosted instances additionally need the ingestion endpoint reachable and the project API key correct, which is a class of failure hosted tools do not have.

  3. 3

    The identifier is the bridge

    The distinct_id, captured at the visit and carried into the Checkout.com payment.

  4. 4

    The event source decides reliability

    Fire on capture, from the webhook. 3-D Secure means the return journey is not guaranteed and should not be the trigger.

  5. 5

    Deduplication at the destination

    PostHog deduplicates on the event UUID where supplied. Without one, a retried batch duplicates, and on a self-hosted instance there is no vendor support desk to notice it for you.

Checkout.com → PostHog · normal or broken

Working vs. broken, side by side — Checkout.com → PostHog

Normal, not a fault

  • The distinct_id present on the payment

  • Sent from the Checkout.com payment_captured webhook

  • Deduplicated correctly

    PostHog deduplicates on the event UUID where supplied. Without one, a retried batch duplicates, and on a self-hosted instance there is no vendor support desk to notice it for you.

  • Reconciles with the source

Actually broken

  • The distinct_id missing on most records

    The gateway sees the payment and nothing else. 3-D Secure adds a redirect step that a share of customers abandon on the return, so anything page-based loses them.

  • Sent from the browser

    The customer authenticates with their bank and a share do not complete the journey back. The payment is captured and the confirmation page never loads.

  • Counted twice, or not at all

    The advantage of owning the pipeline is that nothing blocks it. The cost is that when the ingestion instance fills its disk on a Saturday, the events are gone and nobody is paged. Hosted tools fail differently and more visibly.

  • Nobody has reconciled it

Checkout.com → PostHog · diagnose

Diagnostic order — Checkout.com → PostHog

  1. 01

    Count payments carrying the distinct_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Compare captured payments against confirmation loads, split by whether 3DS was invoked

    The gap concentrates in the authenticated flows, which tells you where the loss is.

  4. 04

    Check ingestion health and disk before debugging any missing event

    On self-hosted instances the answer is infrastructure far more often than it is instrumentation.

  5. 05

    Read the match rate, not the success message

    PostHog shows events in the activity view within moments. On a self-hosted instance, check the ingestion lag as well — events that are queued are not events that are lost, and the two need different responses.

Checkout.com → PostHog · prove

How it gets proven — Checkout.com → PostHog

Source of truth

Checkout.com's captured payments by date, per processing currency and entity.

  • The distinct_id confirmed present on a live payment.
  • Purchase events reconciled per transaction against your billing system, with ingestion lag checked over the same window.
  • A 3-D Secure payment abandoned on return, confirmed to still report.

Checkout.com → PostHog · free audit

What we check in the free audit

  • Count payments carrying the distinct_id
  • Follow one real conversion end to end
  • Compare captured payments against confirmation loads, split by whether 3DS was invoked
  • Check ingestion health and disk before debugging any missing event
  • Read the match rate, not the success message

Checked against

Checkout.com's captured payments by date, per processing currency and entity.

Get my free conversion tracking audit

Free30 minutesNo obligation

Checkout.com → PostHog · when not to buy

When you don't need this — Checkout.com → PostHog

  • Measure identifier coverage yourself first — pull your last hundred payments and count how many carry the distinct_id.
  • If you process in one currency through one entity, most of the reconciliation complexity here does not apply.
  • If you have no reason to keep the data on your own infrastructure and no team to run it, the hosted product removes the only real downside of this one.

Checkout.com → PostHog · what we deliver

What gets built — Checkout.com → PostHog

  • Identifier capture into Checkout.com

    Pass the click identifier into the payment request's metadata when creating it server-side, so it survives 3-D Secure and reaches the webhook.

  • Event source: the Checkout.com payment_captured webhook

    Fire on capture, from the webhook. 3-D Secure means the return journey is not guaranteed and should not be the trigger.

  • Dispatch to PostHog

    The PostHog capture API, posted server-side from your backend to your own instance or to PostHog Cloud.

  • Reversals where they exist

    Refunds, voids and disputes are all exposed and carry the original metadata.

Written guarantee

95%+ tracking accuracy

Measured against Checkout.com's captured payments by date, per processing currency and entity.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Checkout.com → PostHog questions, answered

Store the distinct_id in the payment metadata, then forward captured, declined and failed-authentication outcomes from the webhook to PostHog's capture API with a stable event UUID.

Free · 30 min

Get Checkout.com and PostHog joined properly

Free30 minutesNo obligation