Require this package, with Composer, in the root directory of your project.
$ composer require aaisha/stripe
Add the service provider to config/app.php
in the providers
array.
Aaisha\Stripe\Providers\OmnistripeProvider::class,
Laravel requires connection configuration. To get started, you'll need to publish all vendor assets:
$ php artisan vendor:publish --provider="Omnipay\Aaisha\Stripe\Providers\OmnistripeProvider"
You are free to change the configuration file as needed, but the default expected values are below in .env file:
STRIPE_PUBLISHABLE_KEY="Your Publishable Key"
STRIPE_SECRET_KEY="Your Secret Key"
STRIPE_CURRENCY=INR
http://127.0.0.1:8000/payment