Can this plugin be used to prevent orders with a PO payment gateway from resulting in a status of Pending Payment?
We paid for a custom Purchase Order (PO) payment gateway that is supposed to allow orders to pass only when a valid PO number is entered. But some customers are failing to enter any number. In those cases, an order ends up in Pending Payment status. What we would prefer is for the order not to have any status but be treated as an unsubmitted order. In other words, it should not show up in Woo admin orders list.
Our plugin can change the order status based on payment gateway. In your case, I think Changing the order status to “Draft” could potentially resolve the problem you’re facing, setting an order to “Draft” status essentially removes it from the standard order processing flow and prevents it from being shown in the WooCommerce admin orders list. So, if it’s okay for you, then after installing the plugin, please go to the “RULE #1” and set the “Status from” to “Pending payment” and status to “Draft”. Then set an appropriate value for “Time trigger” option. Finally scroll down to the “Order Payment & Shipping” section and set the “payment gateways” to “PO payment gateway”.
Please give it a try. But let us know if it doesn’t work for you.