Best laravel framework open-source packages.

Woocommerce subscriptions preserve billing schedule

By default, WooCommerce Subscriptions will calculate the next payment date for a subscription from the time of the last payment. This plugin changes that to preserve the original schedule and calculate the next payment date from the scheduled payment date, not the time the payment was actually processed.
Updated 1 year ago

WooCommerce Subscriptions - Preserve Billing Schedule

Using WooCommerce Subscriptions?

For most subscriptions, the next payment date will be calculated based on the date of the last payment. This is to ensure the subscriber receives access to the subscription for the full period of each renewal.

For example, if a monthly subscription product is purchased on the 1st of January, when it renews on the 1st of February, the next renewal payment date will be calculated as 1 month from the 1st of February, which means it will be calculated as 1st of March. If the automatic renewal payment fails on the 1st of March and the customer then manually pays for the renewal on the 3rd of March, the next payment date will be calculated as the 3rd of April, not the 1st of April.

With this plugin, the next renewal payment date will always be calculated from the last scheduled payment date. This ensures the billing schedule is preserved, even if the payment is late.

Note: this plugin was originally made available via a Gist. It's been moved into this repository because of the discussion and popularity of that gist.

Early Renewal Calculations

Subscriptions offers the ability to allow your customers to renew subscriptions before their next payment date.

The default behaviour of an early renewal is extend the next payment date from the existing next payment date.

For example, consider an annual subscription with the next payment date of June 1 2018. If a customer renews early on the May 1 2019, the next payment date will be rescheduled for June 1 2020, not May 1 2020.

This is the same behaviour this mini-plugin implements, so there is no change to that early renewal behaviour when this plugin is active.

Requirements

This plugin requires WooCommerce 2.4 or newer and Subscriptions 2.0 or newer.

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

Reporting Issues

If you find an problem or would like to request this plugin be extended, please open a new Issue.