Connecting GoCardless to Salesforce
GoCardless is bank debit rather than card, which changes everything about timing — a mandate is set up now and money moves days later, repeatedly. 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 GoCardless mandate 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
GoCardless mandate status on the Salesforce opportunity
Put the Salesforce Account or Opportunity ID into GoCardless customer or mandate metadata when the mandate request goes out, then let webhooks write mandate ID, status and first collection result to custom fields on that record, never matching on email. Once the mandate is active, send that Opportunity to ad platforms as an offline conversion at contract value.
For B2B businesses that collect invoices or contracts by direct debit, the Salesforce question is simple: has the customer actually authorized payment, and is it clearing. The Opportunity should not be Closed Won on a signed quote alone if the deal depends on a mandate; write the mandate ID, status and first collection result to custom fields on the Account or Opportunity so sales sees when a deal stalls at the bank step.
The join key runs from Salesforce to GoCardless, not the other way. Put the Salesforce Account or Opportunity ID into the GoCardless customer or mandate metadata when the mandate request is sent, then let webhooks write back to that record by ID. Matching on email instead will create duplicate Contacts whenever finance uses a billing address. Check AppExchange for an existing GoCardless connector; collection-focused ones exist, but confirm whether any carry marketing fields.
The click ID itself belongs on the Lead from the original form, carried through Lead conversion to the Opportunity. When the mandate becomes active, that Opportunity is what gets sent to ad platforms as an offline conversion, at contract value. Failed collections and cancelled mandates should update a field rather than reopen the Opportunity, so pipeline reports stay readable and churn is visible separately.
GoCardless → Salesforce · what breaks
Why this join usually fails — GoCardless → Salesforce
- 01
The Lead or Contact identity never reaches GoCardless
Bank debit has a mandatory notice period and a settlement lag measured in days, so the money event is always well after the click. The identifier must live on the mandate, because every subsequent payment references it rather than a browser session.
- 02
Days between the signup and the money
Bank debit is not instant. The mandate is agreed today and the first collection clears later, which puts every naive page-based conversion at the wrong moment and the wrong value.
- 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.
GoCardless → Salesforce · the fix
What working looks like — GoCardless → Salesforce
The Lead or Contact identity on every mandate
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
GoCardless → Salesforce · architecture
How GoCardless and Salesforce actually connect
- 1
GoCardless holds the truth
The mandate is the acquisition; each payment is a collection against it. A subscription business on direct debit should value the mandate, not the first collection.
- 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 GoCardless mandate.
- 4
The event source decides reliability
Send the mandate setup as acquisition at expected lifetime value, and treat individual collections as reporting rather than as new conversions.
- 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.
GoCardless → Salesforce · normal or broken
Working vs. broken, side by side — GoCardless → Salesforce
Normal, not a fault
The Lead or Contact identity present on the mandate
Sent from the GoCardless payment confirmed webhook
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
Bank debit has a mandatory notice period and a settlement lag measured in days, so the money event is always well after the click. The identifier must live on the mandate, because every subsequent payment references it rather than a browser session.
Sent from the browser
Bank debit is not instant. The mandate is agreed today and the first collection clears later, which puts every naive page-based conversion at the wrong moment and the wrong value.
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
GoCardless → Salesforce · diagnose
Diagnostic order — GoCardless → Salesforce
- 01
Count mandates carrying the Lead or Contact identity
- 02
Follow one real conversion end to end
- 03
Check whether the identifier is on the mandate or only the first payment
If it is on the payment, no later collection can be attributed — and later collections are most of the revenue.
- 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.
GoCardless → Salesforce · prove
How it gets proven — GoCardless → Salesforce
Source of truth
GoCardless payments confirmed by charge date, against the mandate that authorised them.
- The Lead or Contact identity confirmed present on a live mandate.
- A test value confirmed present on the record in the UI, and confirmed to survive Lead conversion.
- A collection weeks after setup confirmed traceable to the original mandate and click.
GoCardless → Salesforce · free audit
What we check in the free audit
- Count mandates carrying the Lead or Contact identity
- Follow one real conversion end to end
- Check whether the identifier is on the mandate or only the first payment
- Write a test value and open the record in the UI
- Read the match rate, not the success message
Checked against
GoCardless payments confirmed by charge date, against the mandate that authorised them.
Free30 minutesNo obligation
GoCardless → Salesforce · when not to buy
When you don't need this — GoCardless → Salesforce
- Measure identifier coverage yourself first — pull your last hundred mandates and count how many carry the Lead or Contact identity.
- If you take one-off bank payments with no mandate, this reduces to a much simpler integration.
- 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.
GoCardless → Salesforce · what we deliver
What gets built — GoCardless → Salesforce
Identifier capture into GoCardless
Pass the click identifier into the mandate's metadata at setup, so all future collections trace back to the campaign that acquired the customer.
Event source: the GoCardless payment confirmed webhook
Send the mandate setup as acquisition at expected lifetime value, and treat individual collections as reporting rather than as new conversions.
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
Failed collections, chargebacks and cancelled mandates all exist and all should reduce the reported value.
Written guarantee
95%+ tracking accuracy
Measured against GoCardless payments confirmed by charge date, against the mandate that authorised them.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
GoCardless → Salesforce questions, answered
Store the Salesforce record ID in GoCardless metadata when requesting the mandate, then update custom fields on that record from GoCardless webhooks. Check AppExchange for an existing connector before building.
When the mandate is active, not when the quote is signed, if payment by debit is a condition of the deal. That is also the point to send the offline conversion to ad platforms.
Almost always because the Lead or Contact identity never reached the GoCardless mandate. Bank debit has a mandatory notice period and a settlement lag measured in days, so the money event is always well after the click. The identifier must live on the mandate, because every subsequent payment references it rather than a browser session. 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 GoCardless payment confirmed webhook. Send the mandate setup as acquisition at expected lifetime value, and treat individual collections as reporting rather than as new conversions.
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 GoCardless → Salesforce
- GoCardless → Marketing CloudConnecting GoCardless to Salesforce Marketing Cloud
- Salesforce → Google AdsConnecting Salesforce to Google Ads
- Salesforce → MetaConnecting Salesforce to Meta Conversions API
RELATED GUIDES
Where GoCardless → Salesforce fits in the rest of your tracking
- Checkout.com → SalesforceConnecting Checkout.com to Salesforce
- Authorize.net → SalesforceConnecting Authorize.net to Salesforce
- Affirm → SalesforceConnecting Affirm to Salesforce
- GoCardless → HubSpotConnecting GoCardless to HubSpot
- GoCardless → MarketoConnecting GoCardless to Marketo
- Financial servicesConversion tracking for financial services, built for the compliance review
- Klarna → SalesforceConnecting Klarna to Salesforce
- Recharge → SalesforceConnecting Recharge to Salesforce
Free · 30 min
Get GoCardless and Salesforce joined properly
Free30 minutesNo obligation
