Back to Top

Laravel eCommerce Stripe Payment Gateway

Updated 26 September 2023

Laravel eCommerce Stripe Payment Gateway: Laravel eCommerce Stripe Payment Gateway module allows the customer to integrate Stripe payment gateway to their Laravel eCommerce Store. The customers can make payments through the card.

The admin can easily link the Bagisto store with the Stripe payment gateway. Users can enter their credit card details during the checkout process and never leave your site, resulting in a better experience for the user, and more successful conversions for you.

Please Note – Before buying this module, you have to visit here to check whether this payment gateway is available for your country and currencies or not.

Check a brief overview of the plugin –  


Feature of Laravel eCommerce Stripe Payment Gateway

  • Enable or Disable this module.
  • Custom Description and Title.
  • Select the Stripe payment method on the checkout page.
  • Easy Configuration.
  • Provide a Secure payment method for the customer.
  • Admin can set the test key which will be used to test the payment gateway.

Installation of Laravel Stripe Payment Gateway

After you have successfully downloaded the zip file of Laravel eCommerce Stripe Payment Gateway, unzip the zip folder and then merge “packages” folders into the project root directory.

Start your headless eCommerce
Find out More

stripe module installation

Run the command below in project root directory to install the Stripe php library

composer require stripe/stripe-php:6.0

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


stripe module installation

Goto composer.json file inside the Bagisto root directory and add the following line under ‘psr-4

"Webkul\\Stripe\\": "packages/Webkul/Stripe/src"

laravel stripe module installation

Next, Run these commands below to complete the setup in the bagisto root directory.

composer dump-autoload
php artisan migrate
php artisan vendor:publish --force
press 0 and then press enter to publish all assets and configurations.
-> Press the number showing StripeServiceProvider and then press enter to publish assets and configurations.

Laravel e-commerce Stripe payment gateway Configuration

Once you successfully execute the command, you will see the Stripe Payment under the Configure>Sales>Payment Method

Stripe C

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.


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

After setting all configuration, click on Save.

Laravel Stripe Payment Gateway At Frontend

Once you have successfully added the product in your cart then proceed for checkout at the checkout page, you will find the Stripe Payment option under the payment method section.


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 detail and click on Pay Now.


On the other hand, customers can make payments with saved cards. After successful payment, they will get the order ID. They can check order status in their order history.

Also, If you want to display a personalized checkout message with their Order ID on the checkout page to your customers then you can check Larvel Order Checkout AI Message.


That’s all for the Laravel eCommerce Stripe Payment Gateway, still, have any issue feel free to add a ticket and let us know your views to make the module better at

Current Product Version - 1.2.0

Supported Framework Version - Bagisto v1.2.0

Blog Version - Bagisto v1.2.0
  • Version Bagisto v1.2.0
  • Version 1.1.0
  • Version 0.1.6
  • Version 0.1.5
. . .

Leave a Comment

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


  • Jaswinder Singh
    • saurav pathak (Moderator)
    • saurav pathak (Moderator)
  • 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