PHP Classes

Laravel Stripe Checkout: E-commerce checkout that uses Stripe to pay orders

Recommend this page to a friend!
  Info   Documentation   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 38 All time: 10,962 This week: 51Up
Version License PHP version Categories
laravel-stripe-check 1.0.0MIT/X Consortium ...5PHP 5, E-Commerce, Libraries, Web ser...
Description 

Author

This package implements an e-commerce checkout that uses Stripe to pay orders.

It implements an e-commerce system that can track product orders and implements the checkout using Stripe payment gateway API to let users pay their orders.

Currently, it can display the products:

- List products for sale

- Manage the product shopping cart

- Present the checkout pages to take the customer payment details

- Manage customer user profiles

- Manage customer orders

- Manage customer payments

- Handle the payment processing with Stripe

Innovation Award
PHP Programming Innovation award nominee
February 2023
Number 6
Many PHP sites now have an e-commerce section where customers can buy products and services from the company that owns the site.

Stripe is one of the most popular payment gateways used in many e-commerce sites to let customers pay for their orders.

This package extensively implements an e-commerce system in PHP that uses Stripe as a payment gateway.

Manuel Lemos
Picture of Maniruzzaman Akash
  Performance   Level  
Innovation award
Innovation award
Nominee: 9x

 

Documentation

Laravel Stripe Checkout

A beautiful Checkout example using Laravel supporting both Cash-in and Stripe Checkout with Best Coding practices.

Features

  1. [x] Authentication - Login, Register, Forget Password
  2. [x] Product List Seeder
  3. [x] Add to cart, Edit, Delete cart - Localstorage
  4. [x] Cart list
  5. [x] Checkout Cash-in
  6. [x] Checkout Stripe
  7. [ ] Webhook Integration
  8. [ ] Pest unit test

Setup

Clone this repo -

git clone https://github.com/ManiruzzamanAkash/laravel-stripe-checkout.git

Create .env file

Create .env file by copying .env.example

Change Database in .env

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=laravel_stripe_checkout
DB_USERNAME=root
DB_PASSWORD=

Add Stripe public and secret key in .env

To get this visit - https://dashboard.stripe.com/test/apikeys

STRIPE_PUBLIC_KEY=
STRIPE_SECRET_KEY=

Install composer and npm dependencies

cd laravel-stripe-checkout
composer install
npm i
npm run dev

Run migration and seeder

php artisan migrate --seed

Serve application

php artisan serve

and booom, visit http://localhost:8000

Demo

Product list page

Product list page.

Cart list page

Cart list page.

Checkout page

Checkout page.

Stripe checkout page

Stripe checkout page.

Login page

Login page.

Stripe Payment Dashboard

Stripe Payment Dashboard.

Contribution

I'm Maniruzzaman Akash, Maintainer of this repo.

Yes, it's open and you can contribute too. If any question regarding this, email me at - manirujjamanakash@gmail.com.


  Files folder image Files (150)  
File Role Description
Files folder imageapp (9 directories)
Files folder imagebootstrap (1 file)
Files folder imageconfig (15 files)
Files folder imagedatabase (3 directories)
Files folder imagelang (1 directory)
Files folder imagepublic (3 files, 3 directories)
Files folder imageresources (3 directories)
Files folder imageroutes (5 files)
Files folder imagetests (3 files, 2 directories)
Accessible without login Plain text file .editorconfig Data Auxiliary data
Accessible without login Plain text file .env.example Data Auxiliary data
Plain text file artisan Class Class source
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file composer.lock Data Auxiliary data
Accessible without login Plain text file package-lock.json Data Auxiliary data
Accessible without login Plain text file package.json Data Auxiliary data
Accessible without login Plain text file phpunit.xml Data Auxiliary data
Accessible without login Plain text file postcss.config.js Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation
Accessible without login Plain text file tailwind.config.js Data Auxiliary data
Accessible without login Plain text file vite.config.js Data Auxiliary data

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:38
This week:0
All time:10,962
This week:51Up