Skip to main content
MemberPress → SalesforceIntegration guide

Connecting MemberPress to Salesforce

MemberPress runs memberships inside WordPress, which means you own the database and inherit every WordPress problem alongside it. 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 MemberPress subscription 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

MemberPress to Salesforce: members as Contacts, renewals not as deals

Map a new paid MemberPress membership to a Salesforce Contact (and Account for corporate memberships) plus an Opportunity closed won on the first transaction, with signup click IDs as custom fields. Track renewals, next renewal date and cancellation as fields, not new Opportunities. Queue and retry writes from the transaction hook rather than calling Salesforce inline during checkout.

This pair shows up at professional associations, B2B training providers and paid communities where a membership team works in Salesforce while the site runs MemberPress. The mapping that works: a new paid membership creates or updates a Contact (and an Account for corporate memberships), opens an Opportunity at the membership's value, and closes it won when the first transaction completes. Click IDs captured at signup go onto the Contact as custom fields.

Renewals are where these integrations go wrong. A monthly plan fires a completed transaction every month, and a naive connector opens a new Opportunity each time, so a single member produces a dozen deals a year and pipeline reports become meaningless. Track renewals, the next renewal date and cancellation as fields on the Contact or a related membership object, and reserve Opportunities for new memberships and upgrades.

Check MemberPress's current add-on list for a Salesforce integration before building; many sites use Zapier or a small plugin on the transaction hook instead. Whichever you use, the write is happening from a WordPress request that can time out, so queue it and retry rather than calling Salesforce inline during checkout. Then open the Contact in Salesforce to confirm the fields actually saved.

MemberPress → Salesforce · what breaks

Why this join usually fails — MemberPress → Salesforce

  1. 01

    The Lead or Contact identity never reaches MemberPress

    Page caching serves a cached render to the visitor, so anything relying on a dynamically populated field can silently fail. The identifier has to be captured and stored as subscription metadata server-side, not carried in a rendered page.

  2. 02

    Caching between the visitor and your code

    The same problem that breaks WooCommerce tracking. A cached page never runs your capture logic, and the failure is invisible because the site still works.

  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.

MemberPress → Salesforce · the fix

What working looks like — MemberPress → Salesforce

  • The Lead or Contact identity on every membership

  • 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

MemberPress → Salesforce · architecture

How MemberPress and Salesforce actually connect

  1. 1

    MemberPress holds the truth

    Owning the database is the advantage — you can query it directly and reconcile without depending on anyone. The disadvantage is that caching, plugin conflicts and optimisation tools sit between your visitor and your code.

  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 MemberPress subscription.

  4. 4

    The event source decides reliability

    Fire server-side from the PHP hook, which runs regardless of caching, and value recurring memberships over their expected life.

  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.

MemberPress → Salesforce · normal or broken

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

Normal, not a fault

  • The Lead or Contact identity present on the membership

  • Sent from the MemberPress transaction-completed hook

  • 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

    Page caching serves a cached render to the visitor, so anything relying on a dynamically populated field can silently fail. The identifier has to be captured and stored as subscription metadata server-side, not carried in a rendered page.

  • Sent from the browser

    The same problem that breaks WooCommerce tracking. A cached page never runs your capture logic, and the failure is invisible because the site still works.

  • 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

MemberPress → Salesforce · diagnose

Diagnostic order — MemberPress → Salesforce

  1. 01

    Count memberships carrying the Lead or Contact identity

  2. 02

    Follow one real conversion end to end

  3. 03

    Submit a test signup through a fully cached page

    Not as a logged-in admin, which bypasses the cache. If the metadata is empty on the cached path, caching is your cause.

  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.

MemberPress → Salesforce · prove

How it gets proven — MemberPress → Salesforce

Source of truth

MemberPress transactions and subscriptions in your own WordPress database, for the same window.

  • The Lead or Contact identity confirmed present on a live membership.
  • A test value confirmed present on the record in the UI, and confirmed to survive Lead conversion.
  • Subscription metadata confirmed populated on a signup made as an anonymous visitor through cache.

MemberPress → Salesforce · free audit

What we check in the free audit

  • Count memberships carrying the Lead or Contact identity
  • Follow one real conversion end to end
  • Submit a test signup through a fully cached page
  • Write a test value and open the record in the UI
  • Read the match rate, not the success message

Checked against

MemberPress transactions and subscriptions in your own WordPress database, for the same window.

Get my free conversion tracking audit

Free30 minutesNo obligation

MemberPress → Salesforce · when not to buy

When you don't need this — MemberPress → Salesforce

  • Measure identifier coverage yourself first — pull your last hundred memberships and count how many carry the Lead or Contact identity.
  • If you run no caching layer and a single membership tier, a developer can wire this in an afternoon.
  • 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.

MemberPress → Salesforce · what we deliver

What gets built — MemberPress → Salesforce

  • Identifier capture into MemberPress

    Capture the identifier and write it to subscription metadata through a MemberPress or WordPress hook, so it lives in your database rather than in a page that might be cached.

  • Event source: the MemberPress transaction-completed hook

    Fire server-side from the PHP hook, which runs regardless of caching, and value recurring memberships over their expected life.

  • 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

    Cancellations and refunds are recorded against the subscription and should reduce the reported figure.

Written guarantee

95%+ tracking accuracy

Measured against MemberPress transactions and subscriptions in your own WordPress database, for the same window.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

MemberPress → Salesforce questions, answered

Check MemberPress's current add-on list. Many setups use Zapier or a small custom plugin on the transaction hook, and either way you should open the record to confirm the write landed.

Free · 30 min

Get MemberPress and Salesforce joined properly

Free30 minutesNo obligation