Home > Docs > Subscriptions for WooCommerce > How to Change Order Status After Successful Subscription Payment

How to Change Order Status After Successful Subscription Payment

Last updated on April 24, 2026

The following code snippet can be used to change the status of an order to ‘completed’ after a payment has been processed successfully by the Subscription for WooCommerce plugin. Add the following code snippet to the active child theme function.php.