Chargebee events

By default, MinistraPRO is integrated with Chargebee. The MinistraPRO backend connects to Chargebee and checks for incoming events every minute, and then reacts to those events.

Learn more: Chargebee

The following table lists possible Chargebee events and actions that the MinistraPRO backend takes in response.

Chargebee event

Backend actions

customer_changed

Update the account: first name, last name, email, login (email copy), household password.

If the login or password is changed, MinistraPRO backend revokes access to devices.

customer_deleted

Delete the account and devices.

customer_created

Create an account in Active state.

subscription_created

subscription_created_with_backdating

React only when in_trial, active, or non_renewing.

subscription_changed

subscription_changed_with_backdating

Assign the tariff to the account with optional service packages.

subscription_started

subscription_reactivated

subscription_reactivated_with_backdating

If the mapping by external ID of objects between the backend and Chargebee is not configured correctly, then:

  • If the tariff is not found, remove the tariff and optional packages from the account (if applicable).

  • If the tariff is found:

    • If the packages were not found in the backend, remove the packages from the account (if applicable).

    • If the packages were found partially, assign only the found packages to the account.

subscription_paused

Change account status to Blocked.

subscription_resumed

React only when in_trial, active, or non_renewing. Account changes status to Active.

subscription_cancelled

subscription_canceled_with_backdating

subscription_deleted

Remove the tariff and optional packages from the account.