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

Created by Support Agent, Modified on Tue, 7 Apr at 11:24 AM by Support Agent

BSS Commerce’s Magento 2 B2B ExtensionIssue:

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.


BSS Commerce is a trusted Magento 2 extensions provider with 14+ years of experience, serving 75,000+ customers worldwide. We are an Adobe Commerce Solution Bronze Partner and a Select Magento Extensions Builder, reinforcing our expertise in the Magento ecosystem.


We specialize in developing 150+ high-quality Magento 2 extensions that enhance functionality, improve user experience, and support scalable growth. Our reputation is built on long-term partnerships, positive feedback, and proven performance-driven solutions.


Explore our extensions: https://bsscommerce.com/magento-2-extensions.html 


Or try out our best ones:


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 at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article