Back to Top

Laravel Marketplace Stripe Payment Gateway

Updated 5 November 2024

Laravel Marketplace Stripe Payment Gateway allows the customer to make the payment using Stripe payment.

With the help of this module customer’s payment automatically splits between the seller and the admin.

NOTE:-Before buying this module, you have to visit stripe.com to check whether this payment gateway is available in your country or not.

**Note:  Laravel eCommerce Marketplace Stripe Payment Gateway” is an addon of “Laravel Multi-Vendor Marketplace Extension”.

This addon will work on a Multi-Vendor Marketplace extension-based website.

Start your headless eCommerce
now.
Find out More

Check a brief overview of the plugin –

CHRleGd69Qw

  • Admin can disable or enable this module from the admin panel.
  • Automatically splits the customer’s payment between the seller and the admin.
  • Accept all the cards that the Stripe supports.
  • Allow sellers to register themselves using laravel Stripe connect.
  • Buyers can save stripe cards for future payments while paying.
  • PCI (Payment Card Industry) Compliance.
  • 3D Secure – Added security layer.

Requirments

  • Bagisto: v2.0.0
  • Marketplace: v2.0.0
  • Stripe: v14.10.0

Installation

Unzip the respective extension zip and then merge “packages” folder into the project root directory.

bagisto-laravel-Laravel-eCommerce-Restaurant-POS-System-2

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

Webkul\StripeConnect\Providers\StripeConnectServiceProvider::class

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

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

In the config/bagisto-vite.php file, add the following line under the ‘viters‘ section

'stripe' => [
    'hot_file'                 => 'stripe-vite.hot',
    'build_directory'          => 'themes/stripe/build',
    'package_assets_directory' => 'src/Resources/assets',
],

Run these commands below to complete the setup

composer dump-autoload

composer require stripe/stripe-php

php artisan route:cache

php artisan migrate

php artisan vendor:publish --provider="Webkul\StripeConnect\Providers\StripeConnectServiceProvider" --force

php artisan optimize:clear

Run the following commands under the path packages/Webkul/StripeConnect

npm i && npm run build

That’s it, now just execute the project on your specified domain.

  • Connect seller using stripe connect need to add redirect URI here as provided below.

Ex – PROJECT_URL/marketplace/stripe/connect/retrieve/token

How To Get The API Keys from the Stripe

To get the API Keys you can use Stripe website. First you’ll need to Sign in to the stripe account.

Go to https://dashboard.stripe.com/login then enter your login details.

Step 1:- Now, enable the option “View test data” to check payment in testing mode. By clicking on payment button you can check all transaction here.

Stripe-Dashboard

Step 2:- Now click on Get your test API keys to get secret key and publishable key.

Step 3:- Click on Settings>>Connect Setting to get client id. Here you have to set redirect URL, redirect URL will be like this example.com/marketplace/stripe/connect/retrieve/token.

Stripe-client-id

Module Configuration

After the successful installation of stripe connect for laravel, the admin can easily configure the module from the admin panel.

Now you will see the Stripe Payment under the Configure>Sales>Payment Method.

stripe payment configuration

Status:- Admin can enable or disable this module.

Title:- Admin can set the title which will be displayed on the front end.

Description:- Admin can enter the description which they want to show on the checkout page.

Debug:- Admin can enable or disable the module for testing.

Who will pay application fee:- Admin can set here laravel stripe connect commission fee pay by seller or customer.

API Key:- Set the API key which is provided by the stripe payment gateway.(Production Mode)

API Publishable Key:- Set the API publishable key which is provided by the stripe payment gateway. (Production Mode)

Client ID:-Set Client Id provided by Stripe Payment Gateway, this is required to connect seller with stripe account.

API Test key:- Set the API test key so that this module will be used for testing.

API Test Publishable Key:- Set the API publishable key so that this module will be used for testing.

Sort Order:- Enter the sort order so that the payment method will appear on the payment page according to the entered sort order.

Stripe Payment Request | Admin

The store admin can view the payment requests generated by sellers under the option Marketplace>Stripe Payment Request

admin stripe payment request

Here it shows the list of all sellers who have requested the admin to process the payouts for their account.

Admin can simple click on the Pay button alongside the respective seller name to process their payment.

Seller End

Once the installation of the stripe multi-vendor payment gateway in laravel , sellers will find the menu “Stripe Connect” item tab in the seller panel as per the below snapshot:

stripe seller connect

After clicking on Connect Stripe, the seller will be redirected to the Stripe website to connect with Stripe.

Once it is connected, the seller will redirected back to their account section.

Seller-Login-Stripe

Here seller has to fill out the form and then connect with Stripe to make the transfer successfully.

The seller can also revoke their account by clicking on “Revoke Your Stripe Account”.

stripe seller revoke

Front End

At the time of checkout, the customer can select the payment method as Stripe Payment Gateway, to pay with Stripe.

Checkout

After selecting the Stripe the customer can click on the placed order button to make the payment.

Then the customer will be redirected to the Stripe payment page, here they have to fill card details and click on Pay Now.

stripe

On the other hand, customers can make payments with saved cards. After successful payment, they will get the order ID.

order placed

They can check the order status and details in their order history.

order details

Seller Transaction Page

After a successful transaction via the Multi-Vendor Stripe Payment Gateway, the seller can view the transaction details for the order.

These details pertain to payments processed using the Stripe Payment Gateway.

transaction

Hope it will be helpful for you or if you have any issue feel free to raise a ticket at https://bagisto.uvdesk.com/en/

Current Product Version - 2.0.0

Supported Framework Version - Bagisto v2.0.0

Blog Version - Bagisto v2.0.0
  • Version Bagisto v2.0.0
  • Version Bagisto v1.2.0
  • Version 1.1.0
. . .

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