Skip to content

woocommerce/woocommerce-subscriptions-cancel-after-retry

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 After Failed Retries

Cancel a subscription after all failed payment retry attempts have failed.

WooCommerce Subscriptions makes it possible to apply a set of custom Retry Rules to modify the behaviour of the Failed Payment Retry system. However, those rules only facilitate customizing the status applied at the time the retry rule is applied, not the status to be applied after the payment retry attempt is processed.

The default status applied to the order if a retry attempt fails is failed, and the status applied to the subscription is on-hold.

This plugin will transition both the order and related subscriptions for that order to cancelled if all automatical payment retry attemps fail.

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 after all failed payment retry attempts have failed.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages