Skip to content
  1. Extras
  2. msProfile
  3. Plugin

msProfile plugin

The msProfile plugin handles account top-up and balance checks when creating new orders.

It responds to 3 events:

  • OnManagerPageBeforeRender — adds the profiles tab to the orders management panel.
  • msOnBeforeCreateOrder — checks if the user has enough balance for the order. If not — the order is not placed and the customer gets an error.
  • msOnChangeOrderStatus — deducts from the user's account when the order is placed, if the CustomerAccount payment method was selected.