68

Product support

Get help in the plugin support forum.

Categories

Active trial subscription which ends on 18/10/2018. Will be changed to Free then.

Installation

After installation, your current plans will become no-expiring, no-paid ones (explanation below) and all clusters will get a no-expiring subscription to plan that they had before installation. This way you and your users will not spot any difference. The only one will be managing the clusters' plans which right now will be possible only by managing their subscriptions.

Set up the scheduler

In order to make the plugin work as expected you have to have scheduler set up (click here for info how to do it).

Note: The plugin is not supplying any payment gateway methods, but wraps everything about the process for you.

Subscriptions

The key idea behind the plugin is subscriptions. The subscriptions are assignments between clusters and plans that can be paid, expiring or both. It's a customizable and pretty powerful idea.

The plugin takes care of changing clusters' plans by checking their subscriptions every day and changing those which have expired. They will be changed to the plan set in the subscription as plan after expiry.

Note: Deleting subscription will not change cluster's plan

Orders

Orders are a good addition to the subscriptions. They automate the process of calculating the price and simplifies upgrading plans or prolongation subscriptions.

See the example usage section below to get the idea.

Useful notes about the orders:

  1. Orders are issued by clusters (or an admin in backend on their behalf)
  2. Calculating the upgrading price works only when both plans use the same currency.

Example plans switching scenarios

You can create a lot of combinations of plans. Every plan has a "plan after expiry" property, which means you can set every config you want to get using plans in such a way.

If you want you may event toggle two plans every week if you set so. It does not make sense, but you can :). Just set one week expiry period for both, and "plan after expiry" to each other.

Maybe in your environment, it makes sense to create "Trial" and "After trial" plans.

Or maybe "Bronze", "Silver", "Gold" and "Not paid". In this case "Not paid" will not have any paid features assigned to it. This way cluster which has not paid will lose access to the paid features.

Example use case

Let's assume we want to have four plans in our application:

  1. Free that
    1. is not expiring,
    2. is not paid,
    3. has Plus and Pro plans set as possible to upgrade
  2. Trial that
    1. expires after 14 days,
    2. is not paid,
    3. has Free plan set as plan after expiry,
    4. has a full set of paid features,
    5. has Plus and Pro plans set as possible to upgrade
  3. Plus that
    1. expires after 1 year,
    2. is paid $150 a year,
    3. has Free plan set as plan after expiry,
    4. has a few paid features,
    5. has Pro plan set as possible to upgrade
  4. Pro that
    1. expires after 1 year,
    2. is paid $250 a year,
    3. has Free plan set as plan after expiry,
    4. has a full set of paid features,

What is more, we have configured CumulusCore to auto-assign newly registered clusters to Trial plan.

Let's say we have a user that wants to register his company (ACME Corp.) in our service.

After he/she registers his company, he is getting by default Trial subscription and full access to our system for 14 days. He can leave it untouched and after those 14 days, his plan will change automatically to Free.

He can also create an order using ManageSubscription and CreateOrder components.

Trial and not expiring plans cannot be prolongated so the only thing he can do is to upgrade his plan to Plus or Pro according to our configuration.

He decided to upgrade to Plus right now. He enters page to manage his subscription and selects Plus plan to upgrade to. Automatically the price $150 is calculated and he moves to the "create-order" page. After that, he is redirected to the payment page.

When the payment is successful he is getting a subscription for one year of Plus plan.

Let's say that after a half of a year he visits the "manage-subscription" page again. This time he can do two things there: prolongate or upgrade:

  1. if he decides to prolongate, than he will automatically create an order for next $150 and his subscription will prolongate typically for the next year,
  2. there is a half of the year left for the current subscription to end. So that if he decides to upgrade his plan to Pro, he will have to pay the difference between prices for the period that has left. In this case, the difference in prices is $100, so for the half of the year, it's $50 still left to pay (see PriceCalculator section below).
  • Found the plugin useful on 24 May, 2020

    Thanks

  • Found the plugin useful on 19 Jun, 2019

    This plugin seems to be the one that really ties this Cumulus together and makes it something very special. An excellent tool - thank you.

  • author

    Replied on 24 Jun, 2019

    Thank you very much! :)

2.0.8

Fix subscriptions search box

Jun 03, 2022

2.0.7

Fix composer dependencies

Oct 11, 2021

2.0.6

Fix the validation rules

Jul 29, 2021

2.0.5

Added rules in the subscription model

Jul 14, 2021

2.0.4

Added first announcer for Cumulus Announcements

Sep 24, 2019

2.0.3

Bug fixes

Sep 21, 2019

2.0.2

Small fix

Sep 15, 2019

2.0.1

Cumulus 3 compatibility

Sep 10, 2019

2.0.0

!!! Subscription repository moved to model

Sep 10, 2019

1.1.0

Add orders

Sep 10, 2019

1.0.7

Hotfixed foreigns key constraints problems

Jun 19, 2019

1.0.6

Fixed autoassigning clusters

Feb 08, 2019

1.0.5

Fixed backend form for managing subscriptions

Feb 08, 2019

1.0.4

Fixed buggy migration

Jan 30, 2019

1.0.3

Fixed small bug

Nov 10, 2018

1.0.2

!!! Cumulus 2.0.0 compatibility. Read CumulusCore upgrade guide before applying

Nov 08, 2018

1.0.1

Initialize plugin.

Oct 09, 2018

v.1 to v.2

The SubscriptionRepository was removed. All methods from the repository were moved to the Subscription model. Refer to the model code for more info.