Skip to main content
Authorize.net → SalesforceIntegration guide

Connecting Authorize.net to Salesforce

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. Sending conversions into Salesforce rather than out of it is how marketing data reaches the place sales actually works. The join between them succeeds or fails on one thing: whether the Lead or Contact identity reaches the Authorize.net transaction before the conversion happens, because Salesforce can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Authorize.net payments in Salesforce: close deals on settled money

Put the Salesforce Opportunity ID or quote number in the Authorize.net invoice number or a user-defined field when the payment link is created, then write transaction ID, settled amount and settlement date to custom fields on the Opportunity. Check for an existing AppExchange payments package, and record refunds in their own fields without reversing Closed Won.

For businesses that sell through a sales team and collect through Authorize.net, such as invoices paid online, deposits or service retainers, Salesforce marks deals Closed Won when the rep says so, not when money settles. Writing the settled transaction onto the Opportunity gives the pipeline a paid date and a paid amount that can differ from the forecast, and that paid version is what should feed offline conversion uploads to ad platforms.

The join key is the hard part. Put the Opportunity ID or your quote number into the transaction's invoice number or a user-defined field when the payment link or invoice is created. Matching on billing email alone attaches payments to the wrong Contact whenever one buyer has several companies or a bookkeeper pays. Write to custom fields such as transaction ID, settled amount and settlement date, then open the record in the UI to confirm field-level security did not drop them.

Check whether your org already runs an AppExchange payments package that talks to Authorize.net; two writers on the same fields cause values that flip back and forth. Refunds and chargebacks should update their own fields rather than reverse the Closed Won stage, so sales reporting and paid-media reporting can each read the version they need. The click ID stored on the original Lead, mapped through conversion, is what turns this record into an ad-platform upload later.

Authorize.net → Salesforce · what breaks

Why this join usually fails — Authorize.net → Salesforce

  1. 01

    The Lead or Contact identity 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

    Writes that succeed and change nothing

    Field-level security, validation rules and required-field constraints can reject a write while the API reports success. Open the record and look rather than trusting the response.

  4. 04

    Nothing reconciles afterwards

    Check the record in Salesforce itself, not the API response. Then confirm the value survives Lead conversion onto the Contact, Account and Opportunity — the mapping is separate and is usually the thing that was missed.

Authorize.net → Salesforce · the fix

What working looks like — Authorize.net → Salesforce

  • The Lead or Contact identity on every transaction

  • Conversions arriving in Salesforce

    The marketing context appears on the record and flows into the opportunity, where sales and reporting can both use it.

  • Reconciled against the source

Authorize.net → Salesforce · architecture

How Authorize.net and Salesforce 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

    Salesforce needs a click to match

    Salesforce needs a resolvable record and a custom field to write to. Field-level security and validation rules can silently reject writes, which is a Salesforce-specific failure that returns success at the API level and changes nothing.

  3. 3

    The identifier is the bridge

    The Lead or Contact identity, 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

    Salesforce deduplicates according to whatever matching rules your org has configured, which vary enormously between instances. Duplicate Leads are the standard failure and merging them afterwards is manual work.

Authorize.net → Salesforce · normal or broken

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

Normal, not a fault

  • The Lead or Contact identity present on the transaction

  • Sent from the Authorize.net webhook on settlement

  • Deduplicated correctly

    Salesforce deduplicates according to whatever matching rules your org has configured, which vary enormously between instances. Duplicate Leads are the standard failure and merging them afterwards is manual work.

  • Reconciles with the source

Actually broken

  • The Lead or Contact identity 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

    Field-level security, validation rules and required-field constraints can reject a write while the API reports success. Open the record and look rather than trusting the response.

  • Nobody has reconciled it

Authorize.net → Salesforce · diagnose

Diagnostic order — Authorize.net → Salesforce

  1. 01

    Count transactions carrying the Lead or Contact identity

  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

    Write a test value and open the record in the UI

    The API saying it worked and the field actually holding the value are different things in Salesforce more than anywhere else.

  5. 05

    Read the match rate, not the success message

    Check the record in Salesforce itself, not the API response. Then confirm the value survives Lead conversion onto the Contact, Account and Opportunity — the mapping is separate and is usually the thing that was missed.

Authorize.net → Salesforce · prove

How it gets proven — Authorize.net → Salesforce

Source of truth

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

  • The Lead or Contact identity confirmed present on a live transaction.
  • A test value confirmed present on the record in the UI, and confirmed to survive Lead conversion.
  • A transaction confirmed to carry the identifier through authorisation into settlement.

Authorize.net → Salesforce · free audit

What we check in the free audit

  • Count transactions carrying the Lead or Contact identity
  • Follow one real conversion end to end
  • Open a settled transaction and read its user-defined fields
  • Write a test value and open the record in the UI
  • 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 → Salesforce · when not to buy

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

  • Measure identifier coverage yourself first — pull your last hundred transactions and count how many carry the Lead or Contact identity.
  • 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 your Salesforce org is administered by a team you cannot get time with, scope their availability before starting — this build is usually blocked on admin access rather than on the work.

Authorize.net → Salesforce · what we deliver

What gets built — Authorize.net → Salesforce

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

    API writes to the Lead or Contact record, or a platform event, carrying the marketing context as custom field values.

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

Yes, through an API write keyed on an Opportunity or quote reference you passed into the transaction. Check whether an installed payments package already does this before building another.

Free · 30 min

Get Authorize.net and Salesforce joined properly

Free30 minutesNo obligation