Skip to main content

Chargebee events

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

Read about chargebee

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

Chargebee eventBackend actions
customer_changedUpdate the account: first name, last name, email, login (email copy), household password.
If the login or password is changed, Ministra Pro backend revokes access to devices.
customer_deletedDelete the account and devices.
customer_createdCreate 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_pausedChange account status to Blocked.
subscription_resumedReact 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.