Skip to content

kyiwinhtin/Laravel_Shopping_Cart

Repository files navigation

Configure the database in .env file

Locate the project folder destination in terminal

Type "php artisan migrate --seed"

Type "php artisan serve" to start

I'm using Stripe Test Payement

For Stripe Payments go to https://dashboard.stripe.com/register

Click skip this step to get into dashboard

alt tag

If you are on dashboard, click "Your Account" on top left on page

Go Account Settings , then get the api keys

You will see like this,Do not copy key from this image.

alt tag

Copy the Test Secret Key in Stripe Dashboard site.

Paste into App\Http\Controllers\ProductController setApiKey('Paste the key here') in line 73.

Copy the Test Publishable Key in Stripe Dashboard site again.

Paste into resources\views\shop\checkout.blade.php setPublishableKey('Paste the key here') in line 74.

Then we will fill form like this

Copy 4242424242424242 for test card number

alt tag

Done!

About

Laravel_Shopping_Cart

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published