Triggered after an order has changed its status.
Event handler example:
public function subscribeEvents()
{
Backend::$events->addEvent('shop:onOrderStatusChanged', $this, 'process_status_change');
}
public function process_status_change($order, $new_status, $prev_status_id)
{
if ($new_status->code == 'paid')
// Do something
}