Connecting Square Online to Salesforce
Square Online orders settle into the same Square account as the card taken at the counter, which is a genuine advantage: the online and in-person halves of the business are already denominated in one ledger. 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 Square Online 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
Square Online orders into Salesforce for catering and B2B buyers
Salesforce fits catering, wholesale or corporate Square Online buyers. Match the Square customer email to an existing Contact, then write online orders as a custom order object or Closed Won Opportunity, net of tax and tip, keyed on the Square order ID as external ID. Keep the original gclid on the Account to upload reorders.
Salesforce rarely fits a consumer Square Online store, but it does fit one recurring Square case: catering, wholesale or corporate orders placed online by businesses your sales team also works. For those, the useful write is the order onto the Account and Contact, so reps see what a client ordered and when, plus the first-touch click IDs and UTMs if the buyer first arrived from an ad.
Match the Square customer's email to an existing Contact before creating anything; Square's customer directory and Salesforce both accumulate duplicates and resolve them differently. Write online orders as a custom order object or as an Opportunity at Closed Won with the amount net of tax and tip, keyed on the Square order ID in an external ID field so upserts never duplicate. Check whether an AppExchange connector for Square already does this in your org, and confirm what it maps before building your own.
Repeat catering accounts are where this pays off. A corporate client found through a Google Ads click and then reordering monthly through Square Online is invisible to ad platforms after the first order. Keeping the original gclid on the Account lets you upload later orders as offline conversions while the click is still in window, and report lifetime value by acquiring campaign after it expires.
Square Online → Salesforce · what breaks
Why this join usually fails — Square Online → Salesforce
- 01
The Lead or Contact identity never reaches Square Online
Square Online sites are frequently on a Square-provided domain, and checkout may hand off to Square-hosted payment pages depending on configuration.
- 02
Counter sales counted as online conversions
The convenience of one ledger is also the trap. If the sales channel is not filtered, every card swipe at the register lands in your ad reporting as a conversion you paid for.
- 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.
- 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.
Square Online → Salesforce · the fix
What working looks like — Square Online → 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
Square Online → Salesforce · architecture
How Square Online and Salesforce actually connect
- 1
Square Online holds the truth
The filter is the whole job. Square's default reporting cheerfully sums counter sales and online orders, and that total is not something any ad platform should be optimizing toward.
- 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
The identifier is the bridge
The Lead or Contact identity, captured at the visit and carried into the Square Online order.
- 4
The event source decides reliability
Send net of tips and taxes. Tips on food orders are substantial and are not your revenue.
- 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.
Square Online → Salesforce · normal or broken
Working vs. broken, side by side — Square Online → Salesforce
Normal, not a fault
The Lead or Contact identity present on the order
Sent from the Square transaction record
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
Square Online sites are frequently on a Square-provided domain, and checkout may hand off to Square-hosted payment pages depending on configuration.
Sent from the browser
The convenience of one ledger is also the trap. If the sales channel is not filtered, every card swipe at the register lands in your ad reporting as a conversion you paid for.
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
Square Online → Salesforce · diagnose
Diagnostic order — Square Online → Salesforce
- 01
Count orders carrying the Lead or Contact identity
- 02
Follow one real conversion end to end
- 03
Filter by sales channel and re-check the total
Compare the filtered online total against Square Online's own order count. If they disagree, the filter is wrong before the tracking is.
- 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.
- 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.
Square Online → Salesforce · prove
How it gets proven — Square Online → Salesforce
Source of truth
Square transactions filtered to the online sales channel, by location.
- 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.
- Online-channel transactions reconciled against imported conversions for a settled week.
Square Online → 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
- Filter by sales channel and re-check the total
- Write a test value and open the record in the UI
- Read the match rate, not the success message
Checked against
Square transactions filtered to the online sales channel, by location.
Free30 minutesNo obligation
Square Online → Salesforce · when not to buy
When you don't need this — Square Online → Salesforce
- Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the Lead or Contact identity.
- If Square Online is a small side channel next to your counter business, measure it on order count and do not build an import for it.
- 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.
Square Online → Salesforce · what we deliver
What gets built — Square Online → Salesforce
Identifier capture into Square Online
Persist the identifier in first-party storage on your own domain before the handoff, and reattach it to the order at the point the transaction is written.
Event source: the Square transaction record
Send net of tips and taxes. Tips on food orders are substantial and are not your revenue.
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
Refunds appear in Square as their own records and should be sent as reversals.
Written guarantee
95%+ tracking accuracy
Measured against Square transactions filtered to the online sales channel, by location.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Square Online → Salesforce questions, answered
Check AppExchange and Square's app marketplace for a connector, and confirm whether it handles Square Online orders and custom fields. Many setups write orders through the Salesforce API keyed on the Square order ID.
Usually not; a buyer who already paid belongs on a Contact and Account. Create Leads only for inquiries, such as catering requests that have not been ordered yet.
Almost always because the Lead or Contact identity never reached the Square Online order. Square Online sites are frequently on a Square-provided domain, and checkout may hand off to Square-hosted payment pages depending on configuration. Measure coverage before debugging the dispatch.
Salesforce resolves on its own record identity — a Lead, a Contact, or an Account — rather than on a click identifier. What you are doing here is attaching marketing context to a record so the pipeline carries it, which means the click identifier arrives as a custom field value rather than as a matching key. The hazard is duplicates: two Leads for one person means two records with half the history each.
The Square transaction record. Send net of tips and taxes. Tips on food orders are substantial and are not your revenue.
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.
More on Square Online → Salesforce
- Square Online → Marketing CloudConnecting Square Online to Salesforce Marketing Cloud
- Square → SalesforceConnecting Square to Salesforce
- Square Online → Google AdsConnecting Square Online to Google Ads
RELATED GUIDES
Where Square Online → Salesforce fits in the rest of your tracking
- Popmenu → SalesforceConnecting Popmenu to Salesforce
- ChowNow → SalesforceConnecting ChowNow to Salesforce
- Otter → SalesforceConnecting Otter to Salesforce
- Square Online → HubSpotConnecting Square Online to HubSpot
- Square Online → MarketoConnecting Square Online to Marketo
- RestaurantsConversion tracking for restaurants, across reservations, orders and calls
- Slice → SalesforceConnecting Slice to Salesforce
- Toast → SalesforceConnecting Toast to Salesforce
Free · 30 min
Get Square Online and Salesforce joined properly
Free30 minutesNo obligation
