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.
Check a brief overview of the plugin –
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.
- The super admin can add the offer in fixed or percentage type for the plan.
Module Installation
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’
Webkul\SAASSubscription\Providers\SAASSubscriptionServiceProvider::class
Then Goto composer.json file and add following line under ‘psr-4’
"Webkul\SAASSubscription\": "packages/Webkul/SAASSubscription"
Goto config/concord.php file and add following line under ‘modules’
Webkul\SAASSubscription\Providers\ModuleServiceProvider::class
Run these commands below to complete the setup
composer dump-autoload php artisan migrate php artisan route:cache php artisan vendor:publish
-> Press 0 and then press enter to publish all assets and configurations.
Note**
Setup:
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
https://youtu.be/eSgQgAjSVys
Note:
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
General Settings
Allow Trial
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”
Trial Days
Here the super admin can mention the number of trial days of the Subscription Plan
Trial Plan
Now the super admin can choose the trails plan from the drop-down.
PayPal Settings
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.
Sandbox Mode
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.
User Name
Enter your PayPal User Name.
Password
Enter your PayPal password.
Signature
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 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
General Settings
Code
Set the code for the plan
Name
Enter the name of plan
Description
Here super admin can describe about the plan
Billing Amount
Monthly Amount: Mention the monthly amount.
Monthly Amount for Year: Enter the monthly amount for the year.
Plan Limitation
While adding the new plan the super admin will add the plan limitation under the below section
Allowed Product: Enter the number of product allowed in a specific plan.
Allowed Categories: Enter the number of categories allowed.
Allowed Attributes: Mention the allowed attribute’s number.
Allowed Attributes Family: Enter the number of attributes family.
Allowed Channels: Number of channels tenant can manage: Enter Here.
Allowed Orders: Mention the number of orders for a plan.
Offers
While adding the new plan the super admin can add the offers available for the plan under the below section.
Status: The super admin can active or inactive the offer option.
Title: Enter the title name for the offer.
Type: Select the type of offer to the fixed or in percentage.
Discount: Enter the discount price or percentage according to the selected type for the offer.
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, the 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
Purchased 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:
Invoices
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 Overview Tab as displayed in the below snapshot.
After an overview of all the information about the subscription plan, the tenants can click on the Plans tab to check all the plans added by the super admin with available offers.
Now tenants can choose the plan as per their need then they will click on the purchase button to buy the plan.
Payment Information
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
Country: Select the county
State: Select the state
After filling in 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
Furthermore, the tenants can view the invoices list of their purchased plans as shown in the below image.
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.4.5
Supported Framework Version - Bagisto v1.4.5
2 comments
Yes for sure you can use stripe gateway but that can be possible after the customization, as right now our module supports PayPal payment gateway.
For a detail discussion, you can connect with us on skype: https://join.skype.com/invite/PcxhAmHq0o7C
Regards