Skip to content
Create account
or
Sign in
The Stripe Docs logo
/
Ask AI
Create account
Sign in
Get started
Payments
Finance automation
Platforms and marketplaces
Money management
Developer tools
Get started
Payments
Finance automation
Get started
Payments
Finance automation
Platforms and marketplaces
Money management
Overview
Versioning
Changelog
Upgrade your API version
Upgrade your SDK version
Developer tools
SDKs
API
Testing
Workbench
Event Destinations
Workflows
Stripe CLI
Stripe Shell
Developers Dashboard
Agent toolkit
Stripe health alertsBuilding with LLMsStripe for Visual Studio CodeFile uploads
Security
Security
Extend Stripe
Stripe Apps
Stripe Connectors
    Overview
    Integrate a connector
    Commercetools
    Adobe Commerce
    Mirakl
    NetSuite
    Oracle Opera
    Cegid
    PrestaShop
    Salesforce
      Stripe Connector for Salesforce Platform
      Stripe Billing for Salesforce CPQ
        Set up the connector
        Field defaults and custom mappings
        Accounts and contacts
        Products and prices
        Subscription orders
        Order amendments
        Evergreen orders
        Coupons
        Error handling
        MDQ products
      Salesforce B2C Commerce
    SAP
    Shopware 6
    Stripe Tax for WooCommerce
    Stripe Tax for BigCommerce
    Partner connectors
    Build your own connector
Partners
Partner ecosystem
Partner certification
HomeDeveloper toolsStripe ConnectorsSalesforceStripe Billing for Salesforce CPQ

Accounts and contacts

Learn about syncing the Stripe customer objects for your corresponding Salesforce accounts.

Copy page

After you set up the Stripe Billing Connector for Salesforce CPQ and map your data, Stripe creates a Customer object when an order finalises. This happens when you associate an account and a primary contact with a quote from an activated order.

If you use a parent-child hierarchy for your Salesforce accounts, make sure that only the account that represents the billing entity (customer) correlates to an activated order. Stripe Billing doesn’t currently support separate billing and provisioning entities for subscriptions.

Field mappings for Stripe customers

When you configure the connector to create a Stripe Customer object for each Salesforce account, there isn’t a default mapping to a primary contact or order on the account. All customer fields are also optional.

The connector syncs a Salesforce account’s Name and Description fields to Stripe. To sync additional fields, you can add field mappings to customise the data that’s synced from Salesforce to Stripe.

Salesforce field (Account object)Stripe customerNotes
NameName
PhonePhone
DescriptionDescription
EmailBy default, the Account object in Salesforce doesn’t have an email field. You can create a subscription without a payment; however, you must supply an email address for collections.
Billing streetAddress, line 1This address might affect the customer’s tax calculation, depending on your tax configuration. If the address is incomplete or differs from the billing address on the quote or order, you must provide a custom mapping for this data.
Billing cityAddress, city
Billing stateAddress, state
Billing postal codeAddress, postal code
Billing countryAddress, country
PhoneShipping, address, phone
Shipping streetShipping, address, line 1
Shipping cityShipping, address, city
Shipping stateShipping, address, state
Shipping postal codeShipping, address, postal code
Shipping countryShipping, address, country

Update account data

Account and contact information sync in real time. When you create or update accounts in Salesforce, the connector creates and updates the Stripe Customer objects with the latest information from Salesforce when an order syncs. Because Salesforce is the primary source for account and contact information, any updates you make to a Customer object in Stripe aren’t synced to the corresponding account in Salesforce.

Stripe doesn’t allow merging of accounts. If you want to merge any customers in Salesforce, you must do so before you sync the account to Stripe. Customer objects synced to Stripe must have a valid ID in the Stripe ID field on the account.

Delete accounts

Deleting accounts or account information in Salesforce won’t affect the data in Stripe. Any subscriptions in Stripe continue to bill and operate as normal. You can’t delete Salesforce accounts with active subscriptions.

Deleting a customer in Stripe is irreversible, cancels all subscriptions, and deletes any saved payment methods. The best practice is to retain the customer unless you created it accidentally.

Merge accounts

Salesforce allows you to merge up to three Salesforce accounts. Merging deletes the dependent Salesforce accounts, and their dependent Salesforce records become the primary Salesforce account’s records.

The connector doesn’t sync these changes into Stripe. Any Stripe subscriptions that belong to the deleted Salesforce account still belong to the original Stripe customer that corresponds to the deleted Salesforce account.

Note

The child account is the account that’s merged into the primary account.

See also

  • Field defaults and custom mappings
Was this page helpful?
YesNo
Need help? Contact Support.
Join our early access programme.
Check out our changelog.
Questions? Contact Sales.
LLM? Read llms.txt.
Powered by Markdoc