Configuring Chargebee Integrations - m3ter Documentation

Creating the Integration

You can quickly set up a Chargebee integration in the Console.

Important! Notes and Warnings:

To define a m3ter - Chargebee integration:

  1. Select Integrations:

The Integrations page opens with All selected by default.

  1. Select Chargebee:

The Integrations>Chargebee page opens.

  1. On the Configurations panel, select Configure new integration>Configure bill integration:

The Create page opens and the Entity type - Bill and External system - Chargebee are shown at the top of the page.

  1. Use the Global configuration panel to:

Notes:

Notes:

  1. Use the Entity configuration panel to configure the m3ter entity you’ll be synchronizing with for the integration. In the case of an outbound Bill integration, this entity will be the Bill generated for a customer Account in m3ter:

Warning: Credit and Debit line items on Bills! If you set up the integration to include CREDIT_MEMO and DEBIT_MEMO line items and you have added Credit or Debit line items to Bills, please ensure you enter service period start and end dates for these line items. This is a Chargebee requirement and if you omit these dates, the integration will not run correctly. See Adding Credit Line Items to Bills and Adding Debit Line Items to Bills.

Notes:

  1. Use the External system configuration panel to enter the settings specific to the external system. These settings include field mappings as well as other system-specific configurations:
    • Chargebee minimum spend item price. Optional - enter the Charge Item Price ID to use when minimum spend line items are added to the invoice. Note that the value of the Charge Item will be used as the default value if there is no value available for a given pricing.
    • Chargebee standing charge item price. Optional - enter the Charge Item Price ID to use when standing charge line items are added to the invoice. Note that the value of the Charge Item will be used as the default value if there is no value available for a given pricing.
    • Chargebee create invoice. Whether or not m3ter should create an invoice in Chargebee. If disabled, m3ter will wait for Chargebee to generate a subscription invoice before trying to add line items. Default is disabled.
    • Chargebee use multidecimal. Whether or not multi-decimal support is enabled in your Chargebee site. If it is, m3ter can send certain line item values with higher precision. Default is disabled.
    • Chargebee multi decimal price decimal places. Enter the number of decimal places to be used when sending multi-decimal price values to Chargebee. This should be less than or equal to the number of decimal places configured in your Chargebee site:
      • Note: Only relevant if Chargebee use multidecimal is enabled.
    • Chargebee multi decimal units decimal places. Enter the number of decimal places to be used when sending multi-decimal units values to Chargebee. This should be less than or equal to the number of decimal places configured in your Chargebee site:
      • Note: Only relevant if Chargebee use multidecimal is enabled.

Tip: Rounding for decimal values? Values are rounded up to nearest half. For example, if price or unit values in m3ter are set to 5 decimal places and you set price or unit values for the integration to use 3 decimal places to match the setting in Chargebee:

  1. Select Create integration. You are returned to the Integrations>Chargebee page, where the integration is listed on the Configurations panel:

Setting up Authentication for the Integration

When you’ve created a Chargebee integration, you can select an Integration Credential you’ve created for authentication allowing the integration to connect with your Chargebee system.To set up authentication for your m3ter - Chargebee integration:

  1. Select Integrations. The Integrations page opens.
  2. Select Chargebee. The Integrations>Chargebee page opens.
  3. On the Configurations panel, select the Name hotlink text of the Chargebee integration you want to set up authentication for. The Integration details page opens:
  1. Select Connect credential. A Select credential modal appears.
  2. Select a Credential you created earlier and want to use to authenticate the integration with Chargebee. See Creating Chargebee Integration Credentials.
  3. Select Confirm. The modal closes and on Integrations details the integration now shows as CONNECTED:

Tip: Testing your Integration Setup? Your Chargebee integration is now available for use. However, it remains in Beta release and we strongly recommend you test the implementation in your m3ter Sandbox or QA environment before releasing it to your Production environment. See section 7. of our Terms of Service for Beta Usage.

Tip: Integrations API Calls? When you have set up your Chargebee integration, you can review and manage the integration using a full set of API Calls. See the Integrations section of our API Reference Docs.