WP Manifestindependent plugin directory
manifest / ecommerce / woocommerce-subscriptions-cancel-on-refund

WooCommerce Subscriptions - Cancel on Refund

Cancel a subscription when the most recent order is fully refunded. Both refunds on a parent or renewal order will trigger cancellation, as long as it is the most recent order.

★ 17stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/woocommerce/woocommerce-subscriptions-cancel-on-refund/archive/refs/heads/master.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

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.