Skip to main content
OpenCart → SalesforceIntegration guide

Connecting OpenCart to Salesforce

OpenCart is self-hosted and extension-driven, which means the checkout you are measuring is frequently not the one the project ships — someone replaced it with a plugin years ago. 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 OpenCart 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

OpenCart and Salesforce: wholesale accounts, not every retail order

Salesforce fits OpenCart only for trade or wholesale buyers, not retail orders. A trade account application becomes a Lead carrying click IDs and UTMs; approval converts it to Contact and Account, with click ID fields mapped through conversion. The first order reaching your agreed paid status closes an Opportunity as won at the total excluding shipping and tax.

Retail OpenCart orders do not belong in a sales pipeline. Pushing every order into Salesforce as an Opportunity buries the deals a salesperson actually works under thousands of automatic wins. The pairing earns its place for stores selling to trade or wholesale buyers, where OpenCart customer groups carry the trade pricing and a rep owns the relationship.

There the flow maps cleanly. A trade account application on the store, which OpenCart can hold for approval per customer group, becomes a Lead carrying the click IDs and UTMs captured on landing in custom fields. Approval converts it to a Contact and Account, and you need the click ID fields mapped through Lead conversion or they stop at the Lead. The first order reaching an agreed paid status closes an Opportunity as won at the order total excluding shipping and tax. Later reorders can roll up to the Account as revenue rather than new Opportunities.

The OpenCart quirk follows you here. The definition of paid has to be the same list of statuses used everywhere else, written down, or Salesforce closes deals on orders the payment gateway never settled. Once the gclid sits on the won Opportunity, Salesforce can feed Google Ads offline conversions; confirm that link in your Google Ads account.

OpenCart → Salesforce · what breaks

Why this join usually fails — OpenCart → Salesforce

  1. 01

    The Lead or Contact identity never reaches OpenCart

    Third-party checkout and payment extensions bypass the core order flow, so the identifier can be dropped inside a plugin nobody has read.

  2. 02

    Order status meaning something different in every store

    There is no standard. A pipeline built on the assumption that "Complete" means paid will silently over- or under-count depending on how that particular shop was configured five years ago.

  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.

OpenCart → Salesforce · the fix

What working looks like — OpenCart → 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

OpenCart → Salesforce · architecture

How OpenCart and Salesforce actually connect

  1. 1

    OpenCart holds the truth

    Order status is configurable per store. "Complete" can mean paid, shipped or manually closed depending on how the shop was set up, and nobody documents which.

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

  4. 4

    The event source decides reliability

    Send orders whose status is in the agreed paid list, at the order total excluding shipping and tax.

  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.

OpenCart → Salesforce · normal or broken

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

Normal, not a fault

  • The Lead or Contact identity present on the order

  • Sent from the OpenCart order 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

    Third-party checkout and payment extensions bypass the core order flow, so the identifier can be dropped inside a plugin nobody has read.

  • Sent from the browser

    There is no standard. A pipeline built on the assumption that "Complete" means paid will silently over- or under-count depending on how that particular shop was configured five years ago.

  • 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

OpenCart → Salesforce · diagnose

Diagnostic order — OpenCart → Salesforce

  1. 01

    Count orders carrying the Lead or Contact identity

  2. 02

    Follow one real conversion end to end

  3. 03

    List the order statuses in use and agree which mean money received

    Ten minutes with the shop owner, and it is the single thing that decides whether the numbers mean anything.

  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.

OpenCart → Salesforce · prove

How it gets proven — OpenCart → Salesforce

Source of truth

OpenCart orders by order status, with the statuses that mean paid agreed explicitly.

  • 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.
  • Orders in paid statuses reconciled against the payment gateway's settled total for a closed week.

OpenCart → 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
  • List the order statuses in use and agree which mean money received
  • Write a test value and open the record in the UI
  • Read the match rate, not the success message

Checked against

OpenCart orders by order status, with the statuses that mean paid agreed explicitly.

Get my free conversion tracking audit

Free30 minutesNo obligation

OpenCart → Salesforce · when not to buy

When you don't need this — OpenCart → Salesforce

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the Lead or Contact identity.
  • If the store runs an unmaintained checkout extension, fixing or replacing that comes before any tracking work.
  • 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.

OpenCart → Salesforce · what we deliver

What gets built — OpenCart → Salesforce

  • Identifier capture into OpenCart

    Capture on landing into your own storage and write to the order table directly, not through a checkout extension you do not control.

  • Event source: the OpenCart order record

    Send orders whose status is in the agreed paid list, at the order total excluding shipping and tax.

  • 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

    Refunded and cancelled statuses reverse.

Written guarantee

95%+ tracking accuracy

Measured against OpenCart orders by order status, with the statuses that mean paid agreed explicitly.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

OpenCart → Salesforce questions, answered

Only for wholesale or trade customers a rep owns. Retail orders belong in a custom object or a warehouse, not the pipeline.

Free · 30 min

Get OpenCart and Salesforce joined properly

Free30 minutesNo obligation