Installation
Composer Installation
-
Require the package using Composer:
composer require codenteq/stripe-payment-gateway -
Run autoload:
composer dump-autoload -
Optimize your Laravel project:
php artisan optimize -
Go to the Bagisto admin panel, find the Stripe payment gateway, enter your API key and start receiving payments.
http://localhost:8000/admin/configuration/sales/payment_methods -
To use the demo API key, paste the key into the Stripe Client Secret section.
sk_test_BQokikJOvBiI2HlWgH4olfQ2
Installation Without Composer
-
Unzip the extension and merge the
packagesandstoragefolders into your Laravel project's root directory. -
In
config/app.php, add the following to theprovidersarray:Webkul\Stripe\Providers\StripeServiceProvider::class, -
In
composer.json, add the following under theautoload.psr-4section:"Webkul\\Stripe\\": "packages/Webkul/Stripe/src" -
Run the following command:
composer dump-autoload -
Optimize the project:
php artisan optimize -
To use the demo API key, paste the key into the Stripe Client Secret section.
sk_test_BQokikJOvBiI2HlWgH4olfQ2