A WooCommerce order goes through a number of different processing statuses throughout it’s lifecycle.
We perform different actions at each stage of the cycle as follows:
After PROCESSING is completed, we set the status of the order to COMPLETED. If you do not want the order to be set to COMPLETED, there are options in the settings area to disable this function.
Important Note: We have seen 3rd party WooCommerce plugins that will hook into the order COMPLETED state and never return a value from that hook. This is a bug in those plugins and violates all kinds of WordPress expectations around how hooks should behave. The end result is that this will cause some of WPCD’s code to not execute, leaving some WPCD things in an indeterminate state. If you see or suspect this is happening, you should choose the option inside WPCD SETTINGS to NOT complete the order. You can later complete the order manually if needed.
As noted above, we do nothing if the order is refunded. This means you’ll need to cancel the subscription yourself if you need the subscription cancelled and sites / servers deleted.