We have not made any changes to the status in a recent period. This is an expected behavior where the status will be in Pending Payment in case of not completed order and status will turn to failed only in case, there is an exception or error while processing the payment.
The pending payments used to switch to canceled and now just remain with a pending status. The custom workflows we had setup checked orders on status change and if the order used sezzle as a gateway and the status moved from pending to canceled it would fire off emails for follow up. Can you explain why that feature was removed or point me in the direction of the version it was changed on so I can look at the code myself and see if I can create or hook into the process to replicate it myself.
We have not made any such changes. You can follow the Development section of the plugin page for the changelog.
You can follow the logs in your system to see if anything else is breaking this up as you are saying.
Let me know
-
This reply was modified 5 years, 11 months ago by
rishipyth.
So it ended up being a stuck cron job that clears pending payment status’ after a certain amount of time. Once I got the cron unstuck it started working as expected. I am seeing some errors showing in the admin with the newest version of the plugins though.
Notice: Trying to get property ‘total’ of non-object in wp-content/plugins/sezzle-woocommerce-payment/woocommerce-gateway-sezzle.php on line 641
Looks like you are hooking into the woocommerce_available_payment_gateways filter and checking for a total in a cart object. Can fix this on line 640 with a if(is_admin()) return $available_gateways;
Which version of WP, Sezzle, and WC are you using?