Aligning ad conversion callbacks with payment success

Conversion callbacks and payment success rarely match: timing gaps, duplicate sends, and correction after refunds. Separate the three definitions before judging what ads actually brought.

The growth team counts conversions, the payments team counts successful transactions, and finance counts what actually stayed after refunds. The three numbers rarely agree, and every team can prove its own number is right.

The problem is not that someone miscalculated. It is that the three definitions differ in timing, deduplication and state. This separates them, so you can tell normal lag from real loss — and design the callback so it does not get messier with every fix.

Why the three numbers should never be equal

A conversion event happens when the user completes some action, usually submitting an order or seeing a success page. Its purpose is a signal for the ad model, not bookkeeping.

Payment success happens when the acquirer returns a positive result. Stricter than a conversion event, but still not money received.

Collected revenue happens after clearing and settlement, net of provider fees and refunds. That is what finance recognises.

The three are separated by timing and by definition. Demanding they line up means demanding three different steps finish in the same second — neither realistic nor necessary.

Timing: expected lag versus anomalous lag

Expected lag is predictable: a callback needs a round trip, statements arrive in batches, platforms ingest data with delay.

Anomalous lag is a signal. If callback time moves from a two-second average to two minutes, something is backed up — a queue, a callback backlog, a rate limit. That change is more diagnostic than the absolute value and deserves its own monitoring.

Practically, record two timestamps: when the user completed payment, and when the platform received the callback. When the distribution of the difference shifts, check the system before touching the campaign.

Duplicates: be idempotent, do not rely on luck

Duplicates come from many places: a refreshed success page, retried callbacks, front end and back end both reporting, and attribution recomputation on the platform side.

The principle is idempotency, not best-effort avoidance. Give each conversion a stable identifier derived from the business reference so the platform can recognise repeats. If the platform has no dedupe key, keep a send record server-side so the same transaction goes out once.

Worth knowing: platform deduplication usually covers repeats within one channel only. Cross-channel duplicate attribution still happens, and that difference is not the payment system’s to explain.

Should a refund retract the conversion

This is the most commonly skipped step. The user paid, the conversion was sent, and days later a refund lands. Does that conversion still count?

Platforms differ: some support retraction or correction, others simply let the model decay. The product decision is whether a refund triggers a correction, and how long the correction window is.

Without that decision you get a stable bias: conversions stay slightly above actual collected revenue, and the gap moves with the refund rate. Reconciliation will never catch it, because it sits outside the ledger chain.

Keep attribution and accounting definitions separate

Attribution answers whose credit a conversion is. Accounting answers where the money is. They can share an order reference; they cannot share conclusions.

A common mistake is inferring attribution from accounting — this channel collected less, so it must be lower quality. In reality its users may refund more, or its order value may be lower; neither is the same thing as acquisition quality.

The steadier approach is two tables: one for conversions and attribution, one for payments and settlement, joined by order reference when analysis needs both, each with its own written definition. For the accounting side, see designing a double-entry ledger.

How to verify the callback is right

No elaborate tooling needed. Three checks suffice:

  1. Sample matching: take one day of successful payments and check each has a callback, with matching amount and plausible timing;
  2. Volume matching: compare daily successful payments against platform-recorded conversions; the gap should be explainable;
  3. Anomaly monitoring: watch the latency distribution and failure rate, not only the total.

Sampling finds systematic omissions, volume matching finds definition drift, anomaly monitoring finds sudden failures. Miss one and the problem persists as a vague “the data is off”.

What growth and payments should share

The minimum shared set: order reference, payment status, amount and currency, refund status. With those four, any difference traces back to a specific transaction.

What should not be shared: full payment details, card data, and risk decision internals. The purpose is locating problems, not letting the growth team read the books.

One more layer sits between click and payment — landing page to checkout. That is covered in after ads start, mind the path after the click and where the landing-page-to-payment funnel leaks. For the whole chain, see the payment stack end to end.

If callbacks and accounting keep diverging, let’s look at the actual campaign and payment structure.

Article engagement

Comments —

Comments appear after review.

Have a real use case in mind? Let’s talk.