Coder Social home page Coder Social logo

woocommerce-subscriptions-cancel-after-retry's Introduction

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.


woocommerce-subscriptions-cancel-after-retry's People

Contributors

thenbrent avatar jpry avatar

Stargazers

MAD CITY MULTIMEDIA avatar Lucy avatar Mike Bowyer avatar Willian Santana avatar  avatar Jeremy Launder avatar Sébastien Dumont avatar Sebastian Moran avatar The Perfect Will avatar Hiranthi Herlaar avatar

Watchers

Ron Rennick avatar Jason Conroy avatar James Cloos avatar  avatar  avatar Joey Ricketts avatar  avatar Conor Treacy avatar

woocommerce-subscriptions-cancel-after-retry's Issues

Parse error: syntax error, unexpected 'public' (T_PUBLIC)

Hello, I have this error and I can not activate the plugin

Parse error: syntax error, unexpected 'public' (T_PUBLIC), expecting end of file in /var/www/vhosts/web.com/httpdocs/wp-content/plugins/woocommerce-subscriptions-cancel-after-retry-master/woocommerce-subscriptions-cancel-after-retry.php on line 55

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.