auto_cancel_order

View Magento 2 Auto Cancel Order Extension Detail Page for Features and Demo

Documentation for Auto Cancel Order

Preference

Auto Cancel Order Extension automatically cancels all pending and pending payment orders after an amount of time set by admin. Moreover, the admin can also configure different cancellation time for specific payment methods as wanted.

Installation

There are two ways of installing extension in magento2.

  1. Using COMMAND LINE.
  2. Manually Install extension.

Option 1: Magento 2 install extension using COMMAND LINE (Recommended)

Follow below steps to install extension from the command line.

Step 1: Download the extension and unzip it.

Step 2: Upload it to code directory in your magento installation’s app directory If code directory does not exists then create.

Step 3: Disable the cache under System → Cache Management

Step 4: Enter the following at the command line:

          php bin/magento setup:upgrade

Step 5: Once you complete above steps log out and log in back to the admin panel and switch to : Stores → Configuration → Auto cancel order, the module will be displayed in the admin panel.

Option 2: Magento 2 install extension manually

Step 1: Download the extension and unzip it.

Step 2: Upload it to code directory in your magento installation’s app directory If code directory does not exists then create.

Step 3: Disable the cache under System → Cache Management Edit app/etc/config.php file and add one line code:‘Mageants_AutoCancelOrder’ ⇒ 1

Step 4: Disable the cache under System → Cache Management

Step 5: Once you complete above steps log out and log in back to the admin panel and switch to : Stores → Configuration → Auto cancel order, the module will be displayed in the admin panel.

Backend Example

  • After Installation of Extension log in to Magento admin panel for set configuration of the extension and go to,Go to Stores > Configuration > Mageants > Auto Cancel Order

1. Enabled : Select ‘Yes’ to enable extension
2. Consider Collection After : Select date to start auto cancel order functionality.
3. Order Status Option : Choose the order status (Pending, Pending Payment) to apply the automatic cancellation of orders.
4. Payment Method Group : Specify cancellation time of order for each payment method.
5. Apply Now : Click to apply auto cancel order without waiting for cron job.
6. Show Log : Click to see already canceled order by Auto Cancel Order Extension

Back-end Demo

1. Sales → Orders

  • Order status will change to ‘Canceled’.

2. Reports → Mageants Auto Cancel Order → Cancel log

  • User can see Already canceled order in grid.

3. Admin can set configuration for cron as their requirement.

Frontend Example

  • Customer can see canceled order in front end in ‘My Order’ page.

  • Order successfully cancel email

auto_cancel_order.txt · Last modified: 2025/05/26 06:56