Connecting Affirm to Salesforce Marketing Cloud
Affirm is longer-term financed BNPL, typically on higher-ticket items, which adds a credit decision between the checkout and the sale. Marketing Cloud is a different product from Salesforce CRM with a different identity model, which catches out almost everyone who assumes a contact in one is a contact in the other. The join between them succeeds or fails on one thing: whether the Subscriber Key reaches the Affirm charge before the conversion happens, because Marketing Cloud can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Affirm to Marketing Cloud: the right data extension and key
Insert Affirm orders into the journey's data extension keyed on Subscriber Key, deciding first how guest buyers without CRM contacts get one. Include only order ID, captured amount, payment method and date, never loan term, APR or approval. Use authorization for confirmations and capture for follow-ups, and insert cancelled financing into a separate exit-criteria extension.
An Affirm order reaches Marketing Cloud as a row inserted into the data extension a journey listens to, keyed on Subscriber Key. If your org's Subscriber Key is the CRM contact ID, guest Affirm buyers who never became CRM contacts have no key, and inserting them keyed on email creates subscribers that do not fit the rest of your model. Decide how guest financed buyers get a key before turning the journey on.
Design the data extension's columns around what is safe. Order ID, captured amount, payment method and order date are fine. Loan term, APR and approval status are credit information, and anything in a data extension can be personalized into an email by whoever builds the next template. Stating a monthly payment in marketing can also trigger lending disclosure rules, so keep those fields out of the extension rather than relying on template authors to avoid them.
Affirm's authorize-then-capture flow gives two candidate entry points. Choose one per journey and document it: authorization for the order confirmation, capture for shipping and follow-ups. Insert cancelled financing into a separate extension that journeys use as exit criteria; otherwise Marketing Cloud keeps the customer in a post-purchase sequence for an order that was never fulfilled.
Affirm → Marketing Cloud · what breaks
Why this join usually fails — Affirm → Marketing Cloud
- 01
The Subscriber Key never reaches Affirm
The shopper leaves for Affirm's flow, is assessed, and returns only if approved. Both the redirect and the decline create paths where nothing fires on your site.
- 02
A credit decision inside the checkout
Declines are real volume that reached checkout and produced nothing. Counting checkout starts rather than captured charges overstates performance by the decline rate.
- 03
Two identity models treated as one
Marketing Cloud's Subscriber Key and CRM's Contact ID are separate concepts, and Contact Builder's configuration decides whether they relate at all. Getting this wrong does not produce an error — it produces a customer who exists twice, receives everything twice, and appears in reporting as two people.
- 04
Nothing reconciles afterwards
Check the subscriber record and the journey history, not the API response. A successful insert into an unwatched data extension looks identical to a successful one into the right extension.
Affirm → Marketing Cloud · the fix
What working looks like — Affirm → Marketing Cloud
The Subscriber Key on every order
Conversions arriving in Marketing Cloud
The record lands in the data extension, the journey's entry criteria evaluate on its schedule, and sends follow.
Reconciled against the source
Affirm → Marketing Cloud · architecture
How Affirm and Marketing Cloud actually connect
- 1
Affirm holds the truth
Affirm runs a real credit decision, so a shopper who reaches checkout may be declined. The order only exists if the financing was approved and captured.
- 2
Salesforce Marketing Cloud needs a click to match
The Subscriber Key, the data extension the journey listens to, and the fields its decision splits reference. An event landing in the wrong data extension will be stored correctly and trigger nothing.
- 3
The identifier is the bridge
The Subscriber Key, captured at the visit and carried into the Affirm charge.
- 4
The event source decides reliability
Fire on capture after approval, and tag the payment method — Affirm orders skew to higher ticket values that will distort a blended average.
- 5
Deduplication at the destination
Marketing Cloud does not deduplicate journey entries for you. A record inserted twice can enter a journey twice, and because journeys span email, SMS and push the duplicate reaches the customer more than once.
Affirm → Marketing Cloud · normal or broken
Working vs. broken, side by side — Affirm → Marketing Cloud
Normal, not a fault
The Subscriber Key present on the order
Sent from your store's order webhook, on Affirm charge capture
Deduplicated correctly
Marketing Cloud does not deduplicate journey entries for you. A record inserted twice can enter a journey twice, and because journeys span email, SMS and push the duplicate reaches the customer more than once.
Reconciles with the source
Actually broken
The Subscriber Key missing on most records
The shopper leaves for Affirm's flow, is assessed, and returns only if approved. Both the redirect and the decline create paths where nothing fires on your site.
Sent from the browser
Declines are real volume that reached checkout and produced nothing. Counting checkout starts rather than captured charges overstates performance by the decline rate.
Counted twice, or not at all
Marketing Cloud's Subscriber Key and CRM's Contact ID are separate concepts, and Contact Builder's configuration decides whether they relate at all. Getting this wrong does not produce an error — it produces a customer who exists twice, receives everything twice, and appears in reporting as two people.
Nobody has reconciled it
Affirm → Marketing Cloud · diagnose
Diagnostic order — Affirm → Marketing Cloud
- 01
Count orders carrying the Subscriber Key
- 02
Follow one real conversion end to end
- 03
Compare Affirm checkouts started, approved and captured
The decline rate is a genuine cost of this payment method and it belongs in the report.
- 04
Confirm what Subscriber Key is actually set to in this org
Before sending anything. It is a configuration decision made once, often years ago, and every integration built afterwards inherits it.
- 05
Read the match rate, not the success message
Check the subscriber record and the journey history, not the API response. A successful insert into an unwatched data extension looks identical to a successful one into the right extension.
Affirm → Marketing Cloud · prove
How it gets proven — Affirm → Marketing Cloud
Source of truth
Your store's orders financed through Affirm, cross-checked against Affirm's settlement.
- The Subscriber Key confirmed present on a live order.
- Records confirmed on single subscriber records in the correct data extension, with the triggered journey verified in a non-production business unit first.
- An approved Affirm order confirmed to report and a declined one confirmed not to.
Affirm → Marketing Cloud · free audit
What we check in the free audit
- Count orders carrying the Subscriber Key
- Follow one real conversion end to end
- Compare Affirm checkouts started, approved and captured
- Confirm what Subscriber Key is actually set to in this org
- Read the match rate, not the success message
Checked against
Your store's orders financed through Affirm, cross-checked against Affirm's settlement.
Free30 minutesNo obligation
Affirm → Marketing Cloud · when not to buy
When you don't need this — Affirm → Marketing Cloud
- Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the Subscriber Key.
- If your average order value is low, Affirm is a poor fit for the payment method and the integration follows that.
- If you are on Salesforce CRM but sending email through a simpler platform, adding Marketing Cloud brings an identity model to reconcile that you currently do not have to think about.
Affirm → Marketing Cloud · what we deliver
What gets built — Affirm → Marketing Cloud
Identifier capture into Affirm
Capture the identifier before checkout and store it on the order, so approved financing is attributable regardless of the return journey.
Event source: your store's order webhook, on Affirm charge capture
Fire on capture after approval, and tag the payment method — Affirm orders skew to higher ticket values that will distort a blended average.
Dispatch to Marketing Cloud
A server-side insert into the data extension the journey is configured against, keyed on Subscriber Key.
Reversals where they exist
Refunds and cancelled financing both exist and should reduce the reported figure.
Written guarantee
95%+ tracking accuracy
Measured against Your store's orders financed through Affirm, cross-checked against Affirm's settlement.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Affirm → Marketing Cloud questions, answered
Insert each order server-side into the data extension the journey uses, keyed on Subscriber Key, with the order ID, captured amount and payment method.
No. Keep loan term, APR and approval status out of data extensions; they are credit information and can create disclosure issues if they appear in emails.
Almost always because the Subscriber Key never reached the Affirm charge. The shopper leaves for Affirm's flow, is assessed, and returns only if approved. Both the redirect and the decline create paths where nothing fires on your site. Measure coverage before debugging the dispatch.
Marketing Cloud identifies people by Subscriber Key, which you define. It is not the CRM Contact ID unless somebody deliberately made it so, and in many orgs the two are unrelated. Sending an event keyed on the wrong one creates a second subscriber rather than updating the first, which splits the person across two journeys.
Your store's order webhook, on Affirm charge capture. Fire on capture after approval, and tag the payment method — Affirm orders skew to higher ticket values that will distort a blended average.
Check the subscriber record and the journey history, not the API response. A successful insert into an unwatched data extension looks identical to a successful one into the right extension.
More on Affirm → Marketing Cloud
- Stripe → Marketing CloudConnecting Stripe to Salesforce Marketing Cloud
- PayPal → Marketing CloudConnecting PayPal to Salesforce Marketing Cloud
- Shopify → Marketing CloudConnecting Shopify to Salesforce Marketing Cloud
Using Affirm for bookings? How Affirm bookings get tracked end to end
RELATED GUIDES
Where Affirm → Marketing Cloud fits in the rest of your tracking
- Recurly → Marketing CloudConnecting Recurly to Salesforce Marketing Cloud
- Helcim → Marketing CloudConnecting Helcim to Salesforce Marketing Cloud
- Acima → Marketing CloudConnecting Acima to Salesforce Marketing Cloud
- Affirm → KlaviyoConnecting Affirm to Klaviyo
- Affirm → AttentiveConnecting Affirm to Attentive
- SubscriptionsConversion tracking for subscription businesses, across the whole lifecycle
- Square → Marketing CloudConnecting Square to Salesforce Marketing Cloud
- GoCardless → Marketing CloudConnecting GoCardless to Salesforce Marketing Cloud
Free · 30 min
Get Affirm and Marketing Cloud joined properly
Free30 minutesNo obligation
