Auto complete WooCommerce orders

WPLMS does not interfere in WooCommerce order process. So, if the orders are not auto-completing then it lies under WooCommerce, mostly it is a settings issue but many times we find that WooCommerce itself fails to mark the order as complete.

If orders are not auto-completing then WooCommerce recommends the following :

  1. Check if product in order is Virtual and Downloadable
  2. Check if payment gateway is automatic and does not require manual approval.

 

In many cases users have resolved this by installing following plugins :

a. Free :  https://wordpress.org/plugins/woocommerce-autocomplete-order/

b. Paid :  http://www.woothemes.com/products/woocommerce-order-status-control/

 

Was this article helpful?

2 Comments

  1. Only this line will work out issue

    /**
    * Auto Complete all WooCommerce orders.
    *
    * If product is virtual & downloadable then order marked as complete.
    * In below code I have returned false to order_item_needs_processing? & every order goes to complete status.
    * If need to check for virual only orders then need to write a function to check product is virtual or not? $_product->is_virtual()
    */
    add_filter( 'woocommerce_order_item_needs_processing', '__return_false' );

Leave a Reply to raulsanzescarda Cancel Reply