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.
The following table lists possible Chargebee events and actions that the Ministra Pro 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, Ministra Pro 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_startedsubscription_reactivatedsubscription_reactivated_with_backdating | If the mapping by external ID of objects between the backend and Chargebee is not configured correctly, then:
|
subscription_paused | Change account status to Blocked. |
subscription_resumed | React only when in_trial, active, or non_renewing. Account changes status to Active. |
subscription_cancelledsubscription_canceled_with_backdatingsubscription_deleted | Remove the tariff and optional packages from the account. |