Skip to content
Create account
or
Sign in
The Stripe Docs logo
/
Ask AI
Create account
Sign in
Get started
Payments
Revenue
Platforms and marketplaces
Money management
Developer resources
Overview
Versioning
Changelog
Upgrade your API version
Upgrade your SDK version
Essentials
SDKs
API
Testing
Stripe CLI
Tools
Workbench
Developers Dashboard
Stripe Shell
Stripe for Visual Studio Code
Features
Workflows
Event Destinations
Stripe health alertsFile uploads
AI solutions
Agent toolkit
Security and privacy
Security
Privacy
Extend Stripe
Build Stripe apps
Use apps from Stripe
    Overview
    Stripe-built apps
    Adobe Commerce
    Cegid
    Commercetools
    Mirakl
    NetSuite
    Oracle Opera
    PrestaShop
    Salesforce
      Salesforce B2C Commerce
      Stripe app for Salesforce Platform
      Salesforce Billing Extension
      Stripe Billing for Salesforce CPQ
        Accounts and contacts
        Coupons
        Error handling
        Evergreen orders
        Field defaults and custom mappings
        MDQ products
        Order amendments
        Products and prices
        Set up the app
        Subscription orders
    SAP
    Shopware 6
    Stripe Tax for BigCommerce
    Stripe Tax for WooCommerce
    Partner apps
    Build your own app
Partners
Partner ecosystem
Partner certification
HomeDeveloper resourcesUse apps from StripeSalesforceStripe Billing for Salesforce CPQ

Field defaults and custom mappings

Map corresponding fields from Salesforce objects to Stripe objects.

When setting up the Stripe Billing app 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 app 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 app 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 programme.
Check out our changelog.
Questions? Contact Sales.
LLM? Read llms.txt.
Powered by Markdoc