You can only cancel an order when an invoice hasn't been issued ("Authorize Only" action). Please follow the steps below:
Magento Commerce is now Adobe Commerce
The Trust Payments extension will continue to support both Magento Open Source and Adobe Commerce environments going forward. In our documentation, we will refer to this extension exclusively using the Adobe Commerce branding, but all instructions also apply when integrating using Magento Open Source.