Cancel order does not work on M2.3.x when converting date config - Consider Cancelation after

Created by Rosa Truong, Modified on Mon, 31 Aug 2020 at 08:31 PM by Rosa Truong

Issue:

I am using version 1.0.4 on Magento 2.3.3, but I found that the orders are not canceled.

Also, all pending orders after 08 January 2020 should be canceled by this config. But they are still pending.

Also can't find any log file.


Solution:

It is our module's bug on Magento 2.3.x when converting date config - Consider Cancelation after.

We would like to give you the solution to fix the issue as below:

Step 1: Modify this file app/code/Bss/AutoCancelOrder/Helper/CancelOrderImplementation.php

Step 2: Add the new file app/code/Bss/AutoCancelOrder/Helper/ConvertDate.php

Step 3: Flush the cache

Please check the attachment files and update them on your site.


If you have any issues, please feel free to let us know.

We are more than happy to support you.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article