Hi guys. I created this issue without being 99% certain that the error is due to this plugin, but I wanted to ask you in case you knew how to debug this further.
I have your plugin, with the hook setup so it cancels failed and on-hold orders after 3 days. That seems to be working fine.
The issue is related to WC automatic cancel of pending orders. It works at times, and suddenly it stops working. I have to go to Settings > Products > Inventory and save the settings, that way the cron is scheduled again.
I've checked WC changelog to see if this was a bug, but I found nothing. I check on my logs without any further debugging information. My server has no automatic restarts, on New Relic APM response time is 600ms, and the site works great, EXCEPT for this thing.
I was wondering, considering you have experience in this specific topic, if you could guide me on how to debug this further. I don't intend that you fix me the issue and I know this is not the relevant place, but I'm a bit desperate. What happens if the orders are not cancelled is that the products are displayed as in stock, but when you try to purchase them, it won't work.
I've read many topics of this, but none is very helpful. The main issue is that it works for some time, but then something happens and it stops working without further notice. The crons are working, otherwise your plugin won't cancel orders. It's as if somehow the cron gets removed from the scheduled tasks.
Sorry if this seems inappropriate, I'm just looking for any kind of help.
Thanks in advance,
Santiago