Back to Top

Laravel eCommerce Multi-tenant Stripe Connect

Updated 10 July 2024

Laravel eCommerce Multi-tenant Stripe Connect

Laravel eCommerce Multi-tenant Stripe Connect extension provides an option to tenant to add another payment gateway from the backend and its facilities the customer to use the stripe gateway during the checkout process.
The stripe also provides an option to use a debit or credit card by the customer.

Features of Laravel eCommerce Multi-tenant Stripe Connect

  • Super admin can set client id for the admin.
  • Customers can select stripe payment for the purchase of products.
  • Allow buyers to pay using all cards that the Stripe supports.
  • Super admin can set the publishable key and also the secret key.
  • At the time of checkout, payment will split between the Tenant(s) and the admin.
  • SAAS module owner has to enter their stripe account details in the .env file of Laravel
  • Single click seller account access revocation from Stripe owner.

How to install Laravel eCommerce Multi-tanent Stripe Connect?

Customers will get a zip folder after purchasing the extension and Unzip the respective extension zip and then merge “packages” folders into the project root directory.

laravel-ecommerce-multi-tenant-stripe-connect

Goto config/app.php file and add the following line under ‘providers’

Webkul\StripeConnect\Providers\StripeServiceProvider::class,
Screenshot16

Goto composer.json file and add the following line under ‘psr-4’.

"Webkul\\StripeConnect\\": "packages/Webkul/StripeConnect/src"

laravel ecommerce multitenant stripe connect

Find the file concord.php inside the config folder and do the entry

Start your headless eCommerce
now.
Find out More
\Webkul\StripeConnect\Providers\ModuleServiceProvider::class
laravel ecommerce multitenamt stripe connect

Run these commands below to complete the setup

composer require stripe/stripe-php

composer dump-autoload

php artisan migrate

php artisan vendor:publish

How to generate the Keys to connect Stripe?

The first step is to create an account in the Stripe website
Step1:- Click on Home>>Get your API keys, under which the user can find the Publishable keys and Secret keys.


Step2:- Now the client key is also required, User can get the client key click on Settings>>Connect. After clicking on connect a page will generate where user can see the client id.
These Keys need to be mention in the .env file under the required section.

Step3:- Once you click on the connect setting you will get the test client id and here you have to add URL, click on the Add URL. You have to add URL like this site1.saas.com/admin/stripe/connect/retrieve/token.

Seller End Workflow

After performing all the above steps properly Seller needs to navigate through the admin panel of his SaaS-based eCommerce website.

Click on Configure>>Strpe Connect, A Configuration page will generate that contains two fields.

  • Stripe fee to be paid by customer or seller:- Here seller can select that the Stripe fee will be paid by the customer or seller from the dropdown menu.
  • Statement Descriptor:- This will be visible under the payment details in the Stripe dashboard.
Blogimage-1-for-Bagisto-laravel-eCommerce-stripe-connect-1

On the left side of the screen click on Stripe, a new page will generate that will look like shown below. Click on the “connect Stripe” button.

Blogimage-2-for-Bagisto-laravel-ecommerce-stripe-connect-2

After clicking on the connect stripe button a page will generate that carries an Account form that required to be filled to activate the account or click on the skip this account form if you are using the application in test mode.

Blogimage-3-for-Bagisto-laravel-ecommerce-stripe-connect-3

Now a popup message will generate that will show the message regarding the integration of Stripe account with the platform like shown below:-

Blogimage-4-for-laravel-ecommerce-stripe-connect-4

On clicking on the “Revoke Your Stripe Account Access button” seller can disconnect stripe with the eCommerce website.

Stripe Dashboard

The admin and the sellers can log in to the Stripe accounts using their respective login credentials and view the details of their payment (commission) which displays under the Payments option.

Dashboard-–-sanju-–-Stripe-Test

In order to view the complete details, the admin needs to click on the amount.

3-11

Similarly, the sellers can also view their payment by simply logging in to their Stripe Accounts using their respective login credentials.

Support

So, that was much about the User Guide of Laravel eCommerce Multi-tenant Stripe Connect for any queries or doubts reach out to us at [email protected]. You can also raise a ticket at our HelpDesk System.

Please explore our Laravel Development Services and Quality Bagisto Extensions.

. . .

Leave a Comment

Your email address will not be published. Required fields are marked*


Be the first to comment.

Back to Top

Message Sent!

If you have more details or questions, you can reply to the received confirmation email.

Back to Home

Table of Content