WooCommerce Subscriptions - Cancel After Failed Retries
Cancel a subscription after all failed payment retry attempts have failed.
by Prospress Inc. · github.com/prospress/woocommerce-subscriptions-cancel-after-retry · website
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/prospress/woocommerce-subscriptions-cancel-after-retry/archive/refs/heads/master.zipReadme
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:
- Download the latest version of the plugin here
- Go to Plugins > Add New > Upload administration screen on your WordPress site
- Select the ZIP file you just downloaded
- Click Install Now
- 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.