WP Manifestindependent plugin directory
manifest / ecommerce / woocommerce-subscriptions-resource

WooCommerce Subscriptions Resource

A library to track and prorate payments for a subscription using WooCommerce Subscriptions based on the status of an external resource.

by Prospress Inc. · github.com/woocommerce/woocommerce-subscriptions-resource · website

26stars
3forks

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/woocommerce/woocommerce-subscriptions-resource/archive/refs/heads/master.zip

Declares an update source (Prospress/woocommerce-subscriptions-resource), so updates arrive through the plugin's own updater.

From the readme

WooCommerce Subscriptions Resource A library to track and prorate payments for a subscription using WooCommerce Subscriptions based on the status of an external resource. A "resource" is deliberately generic to allow for proration of anything. For example, it is implemented on Robot Ninja to prorate payments for stores similar to Slack's billing. In this case, the store is the resource. But other resources could be a seat in a club membership, a video library for an education site, or a server for a web hosting service. Resources can be pre-paid or post-paid. They can be prorated to daily rates, or charged in full for each billing period. Proration Behaviour By default, proration for resources works very similar to Slack's billing, because we thought it was cool, and very fair, so wanted to use it for Robot Ninja. Specifically, any changes to the number of active resources will be reflected in the next renewal order, prorated daily. Here’s an example: Let’s suppose your customer is on a subscription which costs $8 per resource per month. You add a new resource 10 days into your billing period, leaving 20 days remaining in the month. The prorated renewal cost is calcula

Read the full README on GitHub →