Skip to main content
Authorize.net → AppsFlyerIntegration guide

Connecting Authorize.net to AppsFlyer

Authorize.net is one of the oldest payment gateways still in wide use, which means it sits underneath a great many legacy carts that were built before anyone thought about attribution. AppsFlyer exists because mobile app attribution is a different problem from web attribution, and on iOS a large share of it is now aggregated and delayed by design rather than by accident. The join between them succeeds or fails on one thing: whether the AppsFlyer device identifier, appsflyer_id reaches the Authorize.net transaction before the conversion happens, because AppsFlyer can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Authorize.net charges to AppsFlyer: store the device ID first

Have the app send the appsflyer_id and customer user ID with checkout, and write them into Authorize.net merchant-defined fields at charge, so a settled-transaction job can post purchases server-to-server. Store the device ID keyed on the ARB subscription ID for renewals. Report from SDK or server, never both, and keep web checkout orders out.

AppsFlyer's server-to-server events need the appsflyer_id of a device, and Authorize.net knows nothing about devices. When your app sends a checkout request to your backend, include the appsflyer_id and your customer user ID, and have the backend write them into the transaction's merchant-defined fields when it creates the charge. A job reading settled transactions can then post the purchase to AppsFlyer against the right device.

Recurring billing is the case to plan for. Automated Recurring Billing renewals are created by Authorize.net on a schedule with no app session at all, so the only way a renewal reaches AppsFlyer is your server looking up the device ID you stored for that subscriber. Keep it in your own database keyed on the ARB subscription ID, not only on the first transaction.

Do not report from both sides. If the app SDK already logs a purchase on checkout success, a server event for the same charge doubles revenue in AppsFlyer and in every network it forwards to. Choose server-only for settled revenue, or SDK-only and accept authorizations that later void. Orders from a web checkout running on the same Authorize.net account should not go to AppsFlyer at all.

Authorize.net → AppsFlyer · what breaks

Why this join usually fails — Authorize.net → AppsFlyer

  1. 01

    The AppsFlyer device identifier, appsflyer_id never reaches Authorize.net

    The gateway sees a payment and nothing about marketing. Whether an identifier exists depends entirely on whether the cart passed it into a custom field when creating the transaction, and legacy carts generally did not.

  2. 02

    A legacy gateway under a legacy cart

    Authorize.net is usually the oldest thing in the stack. The custom fields exist and almost nobody populates them, so the transaction arrives with no trace of the campaign that produced it.

  3. 03

    Web conversions sent to a mobile attribution platform

    This is the common error and it produces confident nonsense. A purchase made on your website has no device identifier and no install behind it. AppsFlyer will either discard it or attribute it to nothing, and the revenue disappears somewhere between the two systems without anyone noticing it went.

  4. 04

    Nothing reconciles afterwards

    AppsFlyer shows the event on the raw data export with its attributed media source. Check the raw export, not the aggregate dashboard, and confirm the event carries a device identifier rather than landing as organic.

Authorize.net → AppsFlyer · the fix

What working looks like — Authorize.net → AppsFlyer

  • The AppsFlyer device identifier, appsflyer_id on every transaction

  • Conversions arriving in AppsFlyer

    The event is attributed to the install source, forwarded to whichever networks are configured, and appears in the cohort reporting.

  • Reconciled against the source

Authorize.net → AppsFlyer · architecture

How Authorize.net and AppsFlyer actually connect

  1. 1

    Authorize.net holds the truth

    Authorisation reserves funds and settlement moves them. Authorize.net batches settlement, usually daily, so a transaction authorised late in the day settles the next — which shifts revenue across a date boundary if you report the wrong state.

  2. 2

    AppsFlyer needs a click to match

    AppsFlyer needs the device identifier and an event name it recognizes, plus the revenue value for in-app purchases. A server event about a user with no linked device cannot be attributed to an install.

  3. 3

    The identifier is the bridge

    The AppsFlyer device identifier, appsflyer_id, captured at the visit and carried into the Authorize.net transaction.

  4. 4

    The event source decides reliability

    Fire on settled, not authorised. Batching means the two carry different dates, and reporting on authorisation puts revenue in the wrong day.

  5. 5

    Deduplication at the destination

    AppsFlyer deduplicates in-app events by its own event identifier. Sending the same purchase from both the SDK and your server produces two events and double-counts revenue in every dashboard downstream, including the ad networks AppsFlyer forwards to.

Authorize.net → AppsFlyer · normal or broken

Working vs. broken, side by side — Authorize.net → AppsFlyer

Normal, not a fault

  • The AppsFlyer device identifier, appsflyer_id present on the transaction

  • Sent from the Authorize.net webhook on settlement

  • Deduplicated correctly

    AppsFlyer deduplicates in-app events by its own event identifier. Sending the same purchase from both the SDK and your server produces two events and double-counts revenue in every dashboard downstream, including the ad networks AppsFlyer forwards to.

  • Reconciles with the source

Actually broken

  • The AppsFlyer device identifier, appsflyer_id missing on most records

    The gateway sees a payment and nothing about marketing. Whether an identifier exists depends entirely on whether the cart passed it into a custom field when creating the transaction, and legacy carts generally did not.

  • Sent from the browser

    Authorize.net is usually the oldest thing in the stack. The custom fields exist and almost nobody populates them, so the transaction arrives with no trace of the campaign that produced it.

  • Counted twice, or not at all

    This is the common error and it produces confident nonsense. A purchase made on your website has no device identifier and no install behind it. AppsFlyer will either discard it or attribute it to nothing, and the revenue disappears somewhere between the two systems without anyone noticing it went.

  • Nobody has reconciled it

Authorize.net → AppsFlyer · diagnose

Diagnostic order — Authorize.net → AppsFlyer

  1. 01

    Count transactions carrying the AppsFlyer device identifier, appsflyer_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Open a settled transaction and read its user-defined fields

    Empty means the cart never passed anything, which is the usual finding and cannot be recovered retroactively.

  4. 04

    Check what share of your revenue happens in the app at all

    If most purchases are on the web, AppsFlyer is not your conversion destination and the work belongs somewhere else entirely.

  5. 05

    Read the match rate, not the success message

    AppsFlyer shows the event on the raw data export with its attributed media source. Check the raw export, not the aggregate dashboard, and confirm the event carries a device identifier rather than landing as organic.

Authorize.net → AppsFlyer · prove

How it gets proven — Authorize.net → AppsFlyer

Source of truth

Authorize.net's settled transactions for the same window, not authorisations.

  • The AppsFlyer device identifier, appsflyer_id confirmed present on a live transaction.
  • In-app revenue events reconciled per transaction against your billing system, with the organic share stated rather than assumed away.
  • A transaction confirmed to carry the identifier through authorisation into settlement.

Authorize.net → AppsFlyer · free audit

What we check in the free audit

  • Count transactions carrying the AppsFlyer device identifier, appsflyer_id
  • Follow one real conversion end to end
  • Open a settled transaction and read its user-defined fields
  • Check what share of your revenue happens in the app at all
  • Read the match rate, not the success message

Checked against

Authorize.net's settled transactions for the same window, not authorisations.

Get my free conversion tracking audit

Free30 minutesNo obligation

Authorize.net → AppsFlyer · when not to buy

When you don't need this — Authorize.net → AppsFlyer

  • Measure identifier coverage yourself first — pull your last hundred transactions and count how many carry the AppsFlyer device identifier, appsflyer_id.
  • If the cart on top of Authorize.net already reports orders accurately, work at the order layer — it is closer to the customer and easier to change.
  • If you have no mobile app, this is not a destination for you. If you have one but sell mostly on the web, send web conversions to your ad platforms directly and use AppsFlyer only for install and in-app events.

Authorize.net → AppsFlyer · what we deliver

What gets built — Authorize.net → AppsFlyer

  • Identifier capture into Authorize.net

    Pass the click identifier into the transaction's user-defined fields when your application creates the charge. Authorize.net preserves them through settlement and into the transaction detail record.

  • Event source: the Authorize.net webhook on settlement

    Fire on settled, not authorised. Batching means the two carry different dates, and reporting on authorisation puts revenue in the wrong day.

  • Dispatch to AppsFlyer

    The AppsFlyer server-to-server events API, posted from your billing system with the device identifier and revenue.

  • Reversals where they exist

    Voids, refunds and chargebacks are all recorded against the original transaction and carry its user-defined fields.

Written guarantee

95%+ tracking accuracy

Measured against Authorize.net's settled transactions for the same window, not authorisations.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Authorize.net → AppsFlyer questions, answered

Server-to-server, using the appsflyer_id you stored against the subscription when the app created it. ARB renewals have no app session to fire from.

Free · 30 min

Get Authorize.net and AppsFlyer joined properly

Free30 minutesNo obligation