How Chargebee pricing syncs to Salesforce
Pricing in Chargebee is handled differently than in Salesforce because the two systems store prices differently.
1. Key differences in pricing structure: Chargebee vs. Salesforce
- Chargebee stores pricing by frequency (for example, monthly, yearly) and currency.
- Salesforce does not allow multiple Pricebook entries (PBEs) for the same currency.
- Because of this limitation, Chargebee does not update the PBE dynamically when prices change.
2. How pricing is managed in the latest Chargebee product catalog in Salesforce
- A custom object called CB Item Price is added in Salesforce.
- This object is included in the related list of the product and acts as the source of truth for Chargebee prices.
- When prices are updated in Chargebee, those updates are reflected in the CB Item Price object, but not necessarily in the Salesforce Pricebook Entry (PBE).
Example scenario
If a product has five price frequencies in Chargebee (for example, monthly, quarterly, semi-annual, annual, and biennial), deciding which value should appear in the Pricebook Entry becomes complex. To avoid inconsistencies, Chargebee does not automatically update PBEs after they are set.
3. How to manage price updates in Salesforce
Because PBEs are static, there are two ways to keep pricing accurate in Salesforce:
- Use the CB Item Price object as the source of truth for the latest prices instead of relying on the PBE.
- Manually update the PBE if you need a specific price frequency to reflect in the Salesforce Pricebook.
4. Multi-price book management
- Chargebee supports the multi-price book feature, allowing products to exist in multiple Salesforce Pricebooks.
- Chargebee creates entries only in the standard Pricebook.
- If products need to be added to a non-standard Pricebook, this must be done manually by your team. Chargebee does not create or update entries in non-standard Pricebooks.
5. Opportunity management: how to fetch the correct prices
When adding products to opportunities, use Manage CB Products. This fetches the latest Chargebee prices for all frequencies automatically. Avoid using the standard Add Products button because it does not pull updated Chargebee prices.
Key takeaways and next steps
- Use the CB Item Price object as the primary reference for Chargebee pricing.
- If a PBE needs to reflect a specific frequency price, update it manually.
- For multi-price book management, add products to non-standard Pricebooks manually.
- Use Manage CB Products when adding products to opportunities to ensure the latest pricing is reflected.