Home > Docs > Subscriptions for WooCommerce > Change the Order Status After Successful Payment Using Subscriptions for WooCommerce

Change the Order Status After Successful Payment Using Subscriptions for WooCommerce

Last updated on May 29, 2023

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. Simply add the following code snippet to the active child theme function.php.