Docs

Log in to read the version of docs relevant to your site, or use the dropdown versions

Salesforce Error - Chargebee site linked with the account is different from Pricebook's Chargebee site

Scope

Salesforce error while creating a subscription

Summary

This error happens when you try to create a subscription via Salesforce when there is already a Chargebee site associated with the account but the opportunity is mapped to a Pricebook that is associated with a different Chargebee site. This can be resolved by changing the Pricebook to the Pricebook that is associated with Chargebee as it has CB site populated

Solution

While performing create a subscription / Manage CB Products the merchant might get the error "Chargebee site linked with the account is different from Pricebook's Chargebee site"

Possible Reason for the error

The error occurs when the account has a Chargebee site, which is ideally populated when the account is mapped with Chargebee customer

But the Opportunity associated with the account has a Pricebook other than Chargebee's Pricebook which does not have a CB site populated on it

Change the Pricebook to the Pricebook that is associated with Chargebee as it has CB site populated

Was this article helpful?