Install Order Cancellation
Requirements
- Magento 2.4
- PHP 8.1 or a compatible newer PHP 8 release supported by your Magento installation
- Composer access to the SoftwareSilo package repository
Install with Composer
Run these commands from the Magento root:
composer require mageb2b/order-cancellation
php bin/magento module:enable MageB2B_ExtensionManager MageB2B_OrderCancellation
php bin/magento setup:upgrade
Use your normal production deployment process for dependency injection compilation, static content deployment and cache management.
Verify the installation
- Sign in to Magento Admin.
- Open Stores > Configuration > MageB2B > Order Cancellation.
- Confirm that the General settings and Email Notification sections are available.
- Select at least one status under Allowed Order Statuses for Cancellation.
- Open an order with that status and confirm that Order Cancellation appears.
The Admin button remains hidden until the order's current status is in the Admin allowlist. This is expected and does not indicate an installation error.
Remove the extension
Before removal, review any deployment-specific data retention and Composer procedures. The module can then be disabled or removed through your normal Magento release process.