PHP Classes

File: README.md

Recommend this page to a friend!
  Classes of Maniruzzaman Akash   Laravel Stripe Checkout   README.md   Download  
File: README.md
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: Laravel Stripe Checkout
E-commerce checkout that uses Stripe to pay orders
Author: By
Last change:
Date: 1 year ago
Size: 2,043 bytes
 

Contents

Class file image Download

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.