Skip to content

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.

License

Notifications You must be signed in to change notification settings

woocommerce/woocommerce-subscriptions-cancel-on-refund

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.


About

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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages