How the plugin decides to complete an order
The plugin acts when WooCommerce reports a payment as complete. It then checks, in this order:
- The master switch is on.
- The order has not already been handled by this plugin.
- The payment method is allowed.
- The customer's role is allowed.
- The products match your conditions.
Only then is the order set to Completed.
Good to know
- An order that is still waiting for payment is never completed.
- A setting you leave empty (no payment methods, no roles) means allow all.
- A product that matches any one of your conditions qualifies the whole order, even if the cart also contains other items.