Creating subscription from backend
Admin can create subscription from backend also. In the Earlier versions of PayPlans first order need to be created for creation of subscription but now, the workflow has been changed in PayPlans2.1. There is no need to create an order.
Here are the steps for creating new subscription-
Step 1:- Go to Joomla backend->Components->PayPlans->Subscription. Here you will find all the subscription that has been created. Click on new button that appears on the toolbar.
Step 2:- A edit screen will appear as shown below.
User :- Select the name of user for whom you want to make this subscription.
Plan:- Select the Plan you want to assign to this user.
In you have created subscription detail app and it is selected as core, then it will be visible in the parameter section(After Note). If not core app, then it will appear after saving the subscription.
Step 3 :- After filling the information in details and Parameters, Save the subscription. After saving, a screen will be shown containing all the basic information. Subscription id will be automatically assigned. Here the Subscription status is in No-status . You must not manually change the subscription to active state as payment is not done yet. Subscription Date and Expiration date is set To "Never" when the subscription state is in No-status.
Now, you need to attach an invoice and then transaction to it, to make subscription active.
After attaching invoice and transaction to the subscription , screen will look like below diagram. It contain all the basic information related to User, Subscription, Invoice, Transaction, Resource(If admin has created an app like Joomla user type that assign to particluar usertype on subscription active of a particular plan then this rescource tab will be shown which shows the user group, usertype that is assigned to it and all the subscription which are in this group ). You can add more than one invoice to one subscription. If any Plan is Life time plan then the Expiration Date is set to never as it will never get expired.
Apart from Subscription-Active, status can be in
If you have Upgraded from one plan to another,then under the parameter section it will be mentioned. Like as show in the below Diagram 2 diagrams, User Test1 has upgraded from fixed plan to Life time plan. So under his fixed plan subscription it is mentioned to which plan he is "Upgraded to" and under Lie time plan it is mentioned "Upgraded from". When user upgrade his plan,then the previous plan is mark expired.
Admin can also delete, edit and extend the time of subscriptions. These option are available on the subscription toolbar. Admin can delete multiple subscription at a time. Deleting a subscription will delete all its invoice,transaction related entries.
To extend the subscription expiration time, just click on the check box, that appear before each subscription. Click on the extend button. A pop-up will appear as shown in the below diagram. Here, you need to select the time for which you want to extend the subscription. You can also extend the time for multiple subscription by check-in the check box for subscription whose time you want to extend.