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.
- Getting Started
- Subscriptions Payment Gateway Guide
- Manually Add or Modify Subscriptions
- Email Notifications