Laravel eCommerce SaaS Subscription extension allows the super admin to create custom plans for the tenants. Moreover, the super admin can create multiple types of plans that can be created according to products, categories, attributes, and attribute family.
Also, the tenant can purchase a subscription plan to use the eCommerce SaaS platform.
Important Note:- This module is an add-on of Webkul’s Laravel eCommerce Multi-Company SaaS Module, so for using this module you need to install the Webkul’s Laravel eCommerce Multi-Company SaaS Module
Complete Features List of Laravel Ecommerce SaaS Subscription
- Super admin can create multiple custom plans.
- This extension support the trial plan.
- Super admin can allow a trial of the plan for the tenant.
- The super admin can set the period of the plan.
- Super admin can set custom plan for trial.
- The tenant can purchase plans according to their need.
- The module supports PayPal recurring profile to activate the plan
- Super admin can assign a manual plan to the tenants.
- The Super admin can cancel recurring profiles/plan
Unzip the respective extension zip and then merge “packages” and “storage” folders into the project root directory.
Goto config/app.php file and add following line under ‘providers’
Then Goto composer.json file and add following line under ‘psr-4’
Goto config/concord.php file and add following line under ‘modules’
Run these commands below to complete the setup
php artisan migrate
php artisan route:cache
php artisan vendor:publish
-> Press 0 and then press enter to publish all assets and configurations.
Save Instant payment notifications URL in PayPal
That’s it, now just execute the project on your specified domain.
Follow the below steps to enable IPN settings in your PayPal account
- Go to the Paypal Website
- Signin into your PayPal account.
- Click on the “Proifle” icon in the right hand corner and then on “Profile & Settings“.
- At the left hand side you will see “Setting Tool” click on that.
- Once you are there you will find “Getting Paid & Managing my risk”
- Under you will find the “Instant Payment Notification” then click on the “Update”
- To unable IPN Click “Choose IPN Settings“
- Under the next page enter your “Notification URL” also choose “Recive IPN Message”
- Lastly Click on the “Save” button
Also you can check this video tutorial to enable the IPN settings into your Paypal account
IPN Url to be set: https://[bagisto-url]/recurring/paypal/notify
The IPN message is always sent to your notification URL unless you have disabled the preference to receive IPN messages.
Module Configuration: Laravel Ecommerce SaaS Subscription
Once you have successfully installed the module, now let’s go to the module configuration settings by navigating to Configure>>Subscription
From the drop-down the super admin can allow the trail of the Subscription Plan to the Tenants by selecting “Yes” else they can choose “No”
Here the super admin can mention the number of trial days of the Subscription Plan
Now the super admin can choose the trails plan from the drop-down.
Here, the super admin will configure the settings for the payment method as shown below in the snapshot.
The super admin will get all the above details such as Paypal user name, password, and signature under their PayPal merchant account.
Once you login to your PayPal merchant account go to the account section under the SANDBOX section.
After that you will find your sandbox accounts as shows in the below snapshot.
Here you can check your accounts details,once you click on the view and edit account. After that you will find the API Credentials.
Select Yes to enable the testing mode else select No to make use of the Live mode.
Merchant PayPal Id
Enter your Merchant PayPal Id within the space provided.
Enter your PayPal User Name.
Enter your PayPal password.
Enter your PayPal Signature
Super Admin – eCommerce Subscription Extension
Once you have done with the configuration settings, now let’s move to the Subscription section
As you can see in the below image the super admin will find further 3 more subsections as Plans, Purchase Plan & Invoice.
Under the Plans section you will find all the Subscription Plans which you have created.
Now the once the super admin will tab on Add Plan button after that they will redirect to the next page as below
Here the super admin will add the fields
Set the code for the plan
Enter the name of plan
Here super admin can describe about the plan
Mention the monthly amount
Monthly Amount for Year
Enter the monthly amount for year
While adding the new plan the super admin will add the plan limitation under the below section
Enter the number of product allowed in a specific plan
Enter the number of categories allowed
Mention the allowed attributes number
Allowed Attributes Family
Enter the number of attributes family
Number of channels tenant can manage :- Enter Here
Mention the number of order for a plan
However, the super admin can also assign the Subscription plan to any tenant by navigating to superstore>>tenants>>action>>eye icon
Here in the below snapshot super admin will find the Assign Plan button, the super admin will click on the assign plan button
As per the below snapshot super admin can select the plan and period unit for the tenant, after that the super admin will click on the assign button to successfully assign the plan.
Not only super admin can assign the plan but also super admin can cancel the existing plan of the tenant as you can see in the below snapshot by clicking on the Cancel Plan button by navigating to superstore>>tenants>>action>>eye icon>>Cancel Plan
Next we move to the another subsection Purchased Plan here the super admin will find list of all purchase plans.
Also, the super admin will find some information like Plan, Company Name, Amount, and all you can see in the below snapshot.
Apart from this, the super admin can also check the detail information about the purchased plan by just hitting eye icon under the action section:
Under this subsection the super admin will find all the Invoices of their sold plans.
Also, they will find information like customer email, customer name, total and other. They can also lookout the detailed information by hitting the eye icon under action.
Tenant Front End
After the tenant register with the SaaS, they will find the below pop-up at their dashboard for upgrading the plan.
Moreover, once the tenant will click on the Choose Plan button they will find the super admin subscriptions plan as display in the below snapshot
Now tenant can choose the plan as per their need then they will click on the purchase button to buy the plan.
Plan : Choose the plan
Billing Cycle : Select the billing cycle from drop-down
TIN : Enter the TIN number (tax payer identification number)
First Name: Enter the first name
Last Name: Enter the last name
Email: Mention the email id
Address: Enter the address
County : Select the county
State: Select the state
After filling all the billing address detail the tenant will click on the purchase button to make the payment.
Now the tenant will be redirected to the PayPal Payment Gateway Page, here the tenant will sign in with their credentials then they will complete the payment
That’s all for Laravel eCommerce SaaS Subscription Module Still, have any query regarding subscription management plugin please feel free to add a ticket at https://bagisto.uvdesk.com/en/
Current Product Version - 1.2.0
Supported Framework Version - Bagisto v1.2.0