Salesforce WooCommerce Integration: 3 Common Problems and How to Fix Them

A customer checks out on your WooCommerce store. The payment clears, the warehouse gets the order, and everyone assumes Salesforce knows about it. Sometimes it does not. Sometimes it knows about the order twice. Sometimes it recorded the order on Tuesday and has not noticed anything that happened to it since.

None of this means your team did anything wrong. Connecting two systems is easy; keeping them agreeing with each other is a different job, and it is the one that quietly costs people hours. The three problems below were each publicly reported by store owners and administrators on the WordPress.org support forums. We reproduced them on a live store.

How we tested. We built a working WooCommerce store, connected it to a Salesforce Developer Edition org through the CRM Perks connector, and put real orders through it with fictional customers — Figures 1 and 3 are what actually happened, not illustrations. We ran it on the connector's Web-to-Lead method, which can create Salesforce records but never update them, and that limitation is itself what produces the duplicate in Figure 1; a connector that upserts against an External ID would behave differently. The forum reports below date from 2019–2022 and describe historical behavior — the plugin is actively maintained and was updated days before we tested.

How a Salesforce WooCommerce integration actually works

Almost every Salesforce WooCommerce integration — a connector plugin, an automation platform, or custom code — does the same three things. It listens for a WooCommerce event, it translates the order into Salesforce fields, and it writes a record through the Salesforce API.

A minimal order mapping looks like this:

WooCommerce source Salesforce destination Type Notes
Order ID External order key Text (External ID, unique) Should include a store prefix
Date created Order date Date Watch time zones
Billing email / name Contact or Lead Lookup Needs a defined rule
Billing company Account or Company Text / Lookup Optional in WooCommerce
Order status Order status Picklist Needs a mapping table
Order total + currency Amount Currency Reconcile with line items

Two decisions inside that small table cause most of the trouble. The first is which field proves that two messages describe the same order. The second is what should happen when WooCommerce sends something Salesforce was not built to accept. Neither decision is made for you by installing a plugin.

One data-model decision is worth making early: resist turning every WooCommerce purchase into a Salesforce Opportunity, which drops every transaction into your forecast.

Problem 1: the same WooCommerce order appears twice in Salesforce

In November 2022 a store owner reported on the WordPress.org forums that WooCommerce orders were being duplicated in Salesforce. Another user replied months later saying they had the same issue. The thread closed without a published fix.

What happens technically. If an integration is configured to create a record on every event it receives, then every retry, webhook redelivery, status change or manual resync creates another record. Nothing in Salesforce objects to this, because as far as the API is concerned it was asked to create a record and it did.

What it looks like. We built a live WooCommerce store, connected it to a Salesforce Developer Edition org, and placed one real $250 order. It created one Lead. We then configured the connector to also sync when an order reaches Completed — a sensible fix for Problem 3 below — and moved that same order to Completed. Salesforce ended up with two Leads, same name, same company, same email address, six minutes apart:

Salesforce lead list filtered to Northstar, showing two identical leads for the same customer created at 9:14 a.m. and 9:20 a.m.

Figure 1 (test WC-SF-01): one WooCommerce order, two Salesforce Leads. The second was created by the order reaching Completed, not by a retry or a mistake.

Nobody double-clicked anything. The duplicate was manufactured by fixing a different problem, because the method in use could only create records.

Why the business cares. If one $250 order is stored twice and a report sums both rows, it shows $500 of revenue that does not exist. (That arithmetic is an illustration — we did not run a revenue report.) Someone then has to find the extra record and decide which is real.

How to fix it. Give every order one stable identity — ideally the store name plus the WooCommerce internal order ID — stored in a Salesforce External ID field, and have the integration upsert rather than create. Salesforce's REST API documents the behavior precisely: with an external ID, no match creates a record, one match updates the existing record, and multiple matches return an error and change nothing. That last case is the reason the field should also be marked Unique — an External ID on its own identifies a record, it does not by itself guarantee there is only one.

"Idempotent" is the word consultants use for this, and it means something simple: processing the same order five times leaves you in exactly the same state as processing it once.

Does it actually work? We tested it. In the same org we created a custom order object with a Woo_Order_Key__c text field marked both External ID and Unique, saved one order under the key northstar-1001, then tried to save a second record using the same key. Salesforce refused it and named the record already holding that value:

Salesforce error reading "duplicate value found: Woo_Order_Key__c duplicates value on record with id" when saving a second order with the same key

Figure 2 (test WC-SF-01, corrected configuration): with a unique External ID in place, the second attempt to store the same WooCommerce order is rejected instead of silently creating a duplicate.

An integration using upsert would have updated that record rather than failing. Either way, the database now knows the two messages describe one order.

How to verify it. Replay one order at least twice and confirm the record count does not change while the field values do.

Is your CRM double-counting e-commerce orders? If your Salesforce reports and your WooCommerce dashboard disagree, Logic Conduit can trace where the duplication starts. Talk to us about your integration.

Problem 2: orders fail because Salesforce requires information WooCommerce never asked for

In May 2021 a user reported that their orders only reached Salesforce when the Company field was filled in. Company is optional at WooCommerce checkout. The plugin author's answer was reasonable as far as it went: make the field not required in Salesforce.

What happens technically. This one is not a plugin defect at all, and it is the easiest of the three to reproduce. The standard Salesforce Lead object requires a Company value. An individual consumer buying a $75 sensor has no company to give.

What it looks like. In our test org we entered a lead for "LC Demo Individual Customer" with no company, exactly as a consumer checkout would arrive, and tried to save. Salesforce refused it and named the field:

Salesforce new lead form rejecting a record with the error "We hit a snag. Review the following fields: Company"

Figure 2 (test WC-SF-02): Salesforce Developer Edition org, 5 December 2026. A lead for an individual customer with no company name is refused on save, and Salesforce names the missing field.

An integration hitting that validation gets the same refusal. Whether anybody finds out depends on whether the connector surfaces the error or swallows it.

Why the business cares. The orders that fail are not random. They are systematically your individual consumers, so your CRM ends up holding a tidy, complete, and quietly biased picture of your customer base.

How to fix it. Decide what an individual purchaser is in your Salesforce org before you configure anything. Common answers: route consumers to Contacts rather than Leads, use Person Accounts if your org has them enabled, or apply a defined fallback. Then send incomplete records to an exception queue rather than letting them vanish. What you should not do is disable validation across the org, or write "N/A" or the customer's own name into Company — that trades a visible failure for silently fabricated data, which is far more expensive to unpick later. Our Salesforce data quality guide covers why prevention beats cleanup here.

How to verify it. Reprocess the original failed order, then put a second, new individual order through to confirm the rule holds on fresh data.

Problem 3: the order changes in WooCommerce and Salesforce never hears about it

In September 2019 a user reported that orders synced on creation, but moving an order to Completed did not update the Salesforce record. Using the Pending payment trigger worked. Critically, they saw no error in the Salesforce logs.

We reproduced this exactly.

What happens technically. The connector's order feed fires on one chosen event: order submitted, or a single status transition such as Processing or Completed. Choose "when the user submits the order", the obvious default, and every later change is simply not an event the integration listens for. Separately, the plugin's Update Order option — "send order data to Salesforce when updated in WooCommerce" — ships unchecked.

What it looks like. With the feed set to fire on submission, we placed order #21 and watched the Lead appear. We then moved that order to Completed. The connector's log did not record a failure. It recorded nothing at all:

The connector's Salesforce Log showing a single entry, Added to Web2Lead for order 21 at 14:14:42, with no entry for the later status change

Figure 3 (test WC-SF-03): after the order moved to Completed, the log still holds only the original submission. No error, because nothing was attempted.

Why silence is the dangerous part. An integration that never ran produces no error, and nobody is alerted to work that was not attempted. That is why the 2019 reporter found clean logs, and why this surfaces weeks later when a manager notices an odd number.

How to fix and verify it. Subscribe to the lifecycle events you care about, not just creation — adding a second feed on the Completed event made the status change sync within seconds. Map each WooCommerce status to a defined Salesforce value, and resist treating Completed, paid, shipped and recognized revenue as the same thing. Then add a reconciliation check comparing order counts by status on both sides, because that catches the failures your error log never mentions; our guide to Salesforce integration error handling covers what to retry, fix or escalate.

And the trap. This fix is what produced the duplicate in Figure 1. Our method could create records but never update them — it never even learned the ID of what it created — so once completed orders synced too, each arrived as a second Lead. Lifecycle synchronization without stable record identity doesn't solve staleness; it trades it for duplication. That is why identity comes first.

What a reliable Salesforce WooCommerce integration includes

If you are scoping this work, these are the acceptance criteria worth insisting on:

Meeting these tends to mean less manual order entry, less time deciding which of two records is real, and more confidence that a CRM report matches the store — expectations rather than guarantees, since the gain depends on how much reconciling your team does today.

When should you hire a Salesforce integration consultant?

Not always. If you sell a handful of products, use a mostly standard Salesforce org, and only need order records attached to customers, a well-configured connector may be all you need. Install it, test the three scenarios above, and get on with your day.

Specialist help earns its cost when the situation is less tidy: custom objects and validation rules a generic connector was never designed to satisfy; a mixed B2B and consumer base needing different record types; multi-line orders that must reconcile to the order total; or reporting finance relies on. Your administrator can usually maintain an integration once it exists — the harder part is the design decisions, made once and expensive to revisit. To avoid an oversized project, scope it to one workflow, agree acceptance criteria before building, and insist on documentation at handover.

Talk to us about your integration

Already running WooCommerce and Salesforce, but not getting reliable customer and order data into your CRM? Logic Conduit can assess your current integration, identify where synchronization is breaking down, and implement a fix sized to your business. Our Salesforce Integration Sprint is a fixed-scope engagement covering discovery, build, testing and a documented handover. Contact us to discuss what your store and your CRM should be agreeing on.