Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 1.57 KB

File metadata and controls

35 lines (22 loc) · 1.57 KB

IMPORTANT: This code is made available in the hope that it will be useful, but without any warranty. See the GNU General Public License included with the code for more details. Automattic or WooCommerce support services are also not available to assist with the use of this code.

WooCommerce Subscriptions - Cancel on Refund

Cancel a subscription when its parent order or last renewal order is fully refunded.

The subscription will be transitioned immediately to the cancelled status. It will not go via pending cancellation.

If the refund is not on the most recent order, the subscription will not be cancelled. For example, if a subscription has both a renewal order and a parent order, and only the parent order is refunded.

Installation

To install:

  1. Download the latest version of the plugin here
  2. Go to Plugins > Add New > Upload administration screen on your WordPress site
  3. Select the ZIP file you just downloaded
  4. Click Install Now
  5. Click Activate

Updates

To keep the plugin up-to-date, use the GitHub Updater.

Reporting Issues

If you find an problem or would like to request this plugin be extended, please open a new Issue.