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
packages
andstorage
folders into your Laravel project's root directory. -
In
config/app.php
, add the following to theproviders
array:Webkul\Stripe\Providers\StripeServiceProvider::class,
-
In
composer.json
, add the following under theautoload.psr-4
section:"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