Which events are invoked when an order is removed or cancelled?
$events = [
  // State change events fired on workflow transitions from state_machine.
  'commerce_order.place.post_transition' =&gt; ['onOrderPlace', -100],
  'commerce_order.cancel.post_transition' =&gt; ['onOrderCancel', -100],
  // Order storage events dispatched during entity operations in CommerceContentEntityStorage.
  // ORDER_UPDATE handles new order items since ORDER_ITEM_INSERT doesn't.
  'commerce_order.commerce_order.update' =&gt; ['onOrderUpdate', -100],
  'commerce_order.commerce_order.predelete' =&gt; ['onOrderDelete', -100],
  /* OrderEvents::ORDER_ITEM_UPDATE =&gt; ['onOrderItemUpdate', -100],
  OrderEvents::ORDER_ITEM_DELETE =&gt; ['onOrderItemDelete', -100], */

  'commerce_payment.filter_payment_gateways' =&gt; ['onPayment', -100],
  ];
return $events;
}