Skip to main content
Afterpay → SalesforceIntegration guide

Connecting Afterpay to Salesforce

Afterpay is pay-in-four buy-now-pay-later, which means the shopper is approved elsewhere and the merchant is paid up front by the provider. 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 Afterpay order 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

Afterpay orders into Salesforce: usually a poor fit, minimal setup

Usually a poor fit. If service or loyalty lives in Salesforce, send customer-level context, such as first click ID, first paid channel and Afterpay use, to the Contact or Person Account matched on normalized email, in a nightly batch. Never model Afterpay orders as Opportunities, and check duplicate rules so guest emails don't split contacts.

Afterpay is a consumer checkout, and most stores using it do not run sales out of Salesforce CRM. If yours does, typically because customer service or a loyalty program lives there, the useful thing to send is not every order but the customer-level marketing context: first captured click ID, first paid channel, and whether they have paid with Afterpay. That belongs on the Contact or Person Account, matched on email, with the order total written to a rollup or a custom object if someone in Salesforce will actually read it.

Do not model an Afterpay order as an Opportunity. There is no sales stage, no close date that differs from the purchase, and the merchant is paid at once, so you would be creating thousands of instantly closed-won records whose only effect is to fill reports and hit storage limits. A nightly batch of updated contacts is plenty.

The break specific to this pair is matching. Afterpay checkouts collect the shopper's email, but guest orders often use a different address than the one in Salesforce, and the default duplicate rules then create a second Contact with half the history. Normalize email before the write, decide which record wins, and confirm the write landed by opening a contact in the UI, not by reading the API response.

Afterpay → Salesforce · what breaks

Why this join usually fails — Afterpay → Salesforce

  1. 01

    The Lead or Contact identity never reaches Afterpay

    The shopper is redirected to Afterpay for approval and a meaningful share never return to the confirmation page. The order exists and no pixel fired.

  2. 02

    The approval redirect that ends the session

    Approval happens on Afterpay's side. The customer is committed, the merchant is paid, and the confirmation page is optional from the shopper's point of view.

  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.

Afterpay → Salesforce · the fix

What working looks like — Afterpay → Salesforce

  • The Lead or Contact identity on every order

  • 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

Afterpay → Salesforce · architecture

How Afterpay and Salesforce actually connect

  1. 1

    Afterpay holds the truth

    Afterpay pays the merchant in full and collects instalments from the shopper itself, so your revenue arrives at once even though the customer pays over time. The store's order record is the money event, not the instalment schedule.

  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 Afterpay order.

  4. 4

    The event source decides reliability

    Fire from the order record, which exists whether or not the browser came back, and tag the payment method so BNPL performance is visible.

  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.

Afterpay → Salesforce · normal or broken

Working vs. broken, side by side — Afterpay → Salesforce

Normal, not a fault

  • The Lead or Contact identity present on the order

  • Sent from your store's order webhook

  • 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 shopper is redirected to Afterpay for approval and a meaningful share never return to the confirmation page. The order exists and no pixel fired.

  • Sent from the browser

    Approval happens on Afterpay's side. The customer is committed, the merchant is paid, and the confirmation page is optional from the shopper's point of view.

  • 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

Afterpay → Salesforce · diagnose

Diagnostic order — Afterpay → Salesforce

  1. 01

    Count orders carrying the Lead or Contact identity

  2. 02

    Follow one real conversion end to end

  3. 03

    Count Afterpay checkouts started against confirmation-page loads

    The gap is the share of BNPL revenue a browser-side setup cannot see, and it is usually larger than merchants expect.

  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.

Afterpay → Salesforce · prove

How it gets proven — Afterpay → Salesforce

Source of truth

Your store's orders paid with Afterpay, cross-checked against Afterpay's settlement.

  • The Lead or Contact identity confirmed present on a live order.
  • A test value confirmed present on the record in the UI, and confirmed to survive Lead conversion.
  • An Afterpay order abandoned at the return step, confirmed to still report.

Afterpay → Salesforce · free audit

What we check in the free audit

  • Count orders carrying the Lead or Contact identity
  • Follow one real conversion end to end
  • Count Afterpay checkouts started against confirmation-page loads
  • Write a test value and open the record in the UI
  • Read the match rate, not the success message

Checked against

Your store's orders paid with Afterpay, cross-checked against Afterpay's settlement.

Get my free conversion tracking audit

Free30 minutesNo obligation

Afterpay → Salesforce · when not to buy

When you don't need this — Afterpay → Salesforce

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the Lead or Contact identity.
  • If BNPL is a very small share of your orders, measure that share before commissioning anything.
  • 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.

Afterpay → Salesforce · what we deliver

What gets built — Afterpay → Salesforce

  • Identifier capture into Afterpay

    Capture the identifier before checkout and store it on the order in your own system, so the conversion does not depend on the shopper completing the return journey.

  • Event source: your store's order webhook

    Fire from the order record, which exists whether or not the browser came back, and tag the payment method so BNPL performance is visible.

  • 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

    Returns on BNPL orders run higher than card in many stores, so the reversal matters more here than elsewhere.

Written guarantee

95%+ tracking accuracy

Measured against Your store's orders paid with Afterpay, cross-checked against Afterpay's settlement.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Afterpay → Salesforce questions, answered

Usually not. They are paid immediately with no sales stage, so write order and payment-method context onto the Contact instead of creating closed-won Opportunities.

Free · 30 min

Get Afterpay and Salesforce joined properly

Free30 minutesNo obligation