WooCommerce: Auto complete paid orders
The most accurate, effective and lightweight solution (For WooCommerce 3 and above) – 2019 This filter hook is located in: WC_Order Class inside payment_complete() method which is used by all payment methods when a payment is required in checkout. WC_Order_Data_Store_CPT Class inside update() method. As you can see, by default the allowed paid order statuses … Read more