WooCommerce

AUTO COMPLETE ORDERS

Automatically complete WooCommerce orders for downloadable and virtual products. No more manual status changes.

$0.00
PHP 8.2+WordPress 6.0+GPL-2.0

WHAT IT DOES

Auto Complete Orders automatically moves WooCommerce orders to "completed" status when they contain only virtual, downloadable, subscription, or free products. Each of those four order types is toggled independently in WooCommerce settings, plus a master on/off switch. The plugin catches orders at three lifecycle points (payment complete, processing, and checkout processed) so orders from free products and delayed-gateway flows are not missed.

It is a straight utility for digital-product stores and subscription sites that do not want to manually complete every order. The attention here is on correctness: a guard meta flag prevents re-processing and status loops, a cross-request lock stops a gateway IPN callback and a checkout redirect from double-completing the same order at the same moment, and the guard flag rolls back if the status update fails so a retry can still succeed.

Features

  • Auto-completes orders made up entirely of virtual, downloadable, subscription, or free ($0) products
  • Each of the four order types toggles independently, with a master enable switch in WooCommerce settings
  • Catches orders at payment complete, processing, and checkout-processed lifecycle points
  • Guard meta flag prevents re-processing and status-change loops
  • Cross-request lock (atomic wp_cache_add) prevents double-completion when a gateway IPN races the checkout redirect; falls back to an in-memory lock without a persistent cache
  • Reads the guard flag from both HPOS and legacy post meta, safe across an HPOS toggle
  • Rolls back the guard meta if the status update fails, so a retry can still complete the order
  • WooCommerce HPOS compatible
  • Opt-in order meta cleanup on uninstall
  • Audit-log hook and a debug filter for developers

Requirements

WordPress 7.0 or newer, PHP 8.3 or newer, and WooCommerce. WooCommerce Subscriptions is optional and only needed to auto-complete subscription orders.

Description

Auto Complete Orders automatically moves WooCommerce orders to “completed” status when they contain only virtual, downloadable, subscription, or free products. Each of those four order types is toggled independently in WooCommerce settings, plus a master on/off switch. The plugin catches orders at three lifecycle points (payment complete, processing, and checkout processed) so orders from free products and delayed-gateway flows are not missed.

It is a straight utility for digital-product stores and subscription sites that do not want to manually complete every order. The attention here is on correctness: a guard meta flag prevents re-processing and status loops, a cross-request lock stops a gateway IPN callback and a checkout redirect from double-completing the same order at the same moment, and the guard flag rolls back if the status update fails so a retry can still succeed.

Features

  • Auto-completes orders made up entirely of virtual, downloadable, subscription, or free ($0) products
  • Each of the four order types toggles independently, with a master enable switch in WooCommerce settings
  • Catches orders at payment complete, processing, and checkout-processed lifecycle points
  • Guard meta flag prevents re-processing and status-change loops
  • Cross-request lock (atomic wp_cache_add) prevents double-completion when a gateway IPN races the checkout redirect; falls back to an in-memory lock without a persistent cache
  • Reads the guard flag from both HPOS and legacy post meta, safe across an HPOS toggle
  • Rolls back the guard meta if the status update fails, so a retry can still complete the order
  • WooCommerce HPOS compatible
  • Opt-in order meta cleanup on uninstall
  • Audit-log hook and a debug filter for developers

Requirements

WordPress 7.0 or newer, PHP 8.3 or newer, and WooCommerce. WooCommerce Subscriptions is optional and only needed to auto-complete subscription orders.

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.