• Resolved mipadrino

    (@mipadrino)


    After updating the the most recent version of the plugin as well as the most recent versions of Woo and WP we have an issue where orders are appearing in the backend of the site as Payment Pending. We had our ecom manager open ticket via the sezzle contact us form but they just said that sometimes that happens when a user abandoned the process. I can understand that but they used to come across to us as failed payments in that case. I was hoping to get clarification from a plugin dev on to why this has changed and maybe get some help with how I can revert it to marking them as failed.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author rishipyth

    (@rishipyth)

    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.

    Thread Starter mipadrino

    (@mipadrino)

    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.

    Plugin Author rishipyth

    (@rishipyth)

    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 4 years, 7 months ago by rishipyth.
    Thread Starter mipadrino

    (@mipadrino)

    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;

    Plugin Author rishipyth

    (@rishipyth)

    Which version of WP, Sezzle, and WC are you using?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Pending Payment’ is closed to new replies.