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
Build with LLMsStripe for Visual Studio CodeStripe health alertsFile uploads
Security and privacy
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

Field defaults and custom mappings

Map corresponding fields from Salesforce objects to Stripe objects.

Copy page

When setting up the Stripe Billing Connector for Salesforce CPQ, you use the data mapper to map the fields from the Salesforce objects to corresponding fields on the Stripe objects.

Not all objects have a Stripe ID field in the data mapper. For example, the subscription schedule phase item doesn’t have a Stripe ID, so you can’t add a Stripe ID custom field to the Salesforce order line. However, you can still configure the object in the data mapper.

The connector automatically maps the following objects:

Salesforce objectStripe object
AccountCustomer
OrderSubscription Schedule and Subscription
OrderItemSubscription Item
Product2Product
PricebookEntryPrice

Custom mappings

You can create a custom mapping based on the standard and custom fields you use in Salesforce.

Examples

  • You use a custom field to identify if a pricebook entry is metered or licensed. You can map that custom field to recurring.usage_type on the Stripe Price object.

  • You use a custom field for the tax ID number on a Salesforce account. You can map that custom field to the corresponding field in Stripe.

  • You want to identify all customers in your Stripe account that the connector created. You can add a custom metadata field called Source with a default value of Salesforce for the Stripe Customer object.

If there’s a one-to-one relationship to map between the object and object type, you can use the path to a Salesforce field as the mapping source. For example, you can map a custom field from the account of a Salesforce order to a custom metadata field on a Stripe subscription schedule. However, if an account has multiple orders, you can’t create a mapping between the Salesforce account and an order field.

See also

  • Accounts and contacts
  • Products and prices
  • Subscription orders
  • Error handling
Was this page helpful?
YesNo
Need help? Contact Support.
Join our early access program.
Check out our changelog.
Questions? Contact Sales.
LLM? Read llms.txt.
Powered by Markdoc