Stripe is a popular payment gateway. This package provides a additional strong help for the user to use the stripe payment gateway in their Bagisto laravel ecommerce application.
- Use command prompt to run this package
composer require wontonee/stripe
- Now open
config/app.php
and register stripe provider.
'providers' => [
// Stripe provider
Wontonee\Stripe\Providers\StripeServiceProvider::class,
]
- Now go to
package/Webkul/Admin/src/Resources/lang/en
copy these line at the bottom end of code.
'stripe-apikey' => 'Api Key',
- Now go to your bagisto admin section
admin/configuration/sales/paymentmethods
you will see the new payment gateway stripe. - Now run
php artisan config:cache
- Download the zip folder from the github repository.
- Unzip the folder and go to your bagisto application path
package
and create a folder nameWontonee/Stripe/
uploadsrc
folder inside this path. - Now open
config/app.php
and register stripe provider.
'providers' => [
// Stripe provider
Wontonee\Stripe\Providers\StripeServiceProvider::class,
]
- Now open composer.json and go to
autoload psr-4
.
"autoload": {
"psr-4": {
"Wontonee\\Stripe\\": "packages/Wontonee/Stripe/src"
}
}
- Now go to
package/Webkul/Admin/src/Resources/lang/en
copy these line at the bottom end of code.
'stripe-apikey' => 'Api Key',
- Now open the command prompt and run
composer dump-autoload
. - Now run
php artisan config:cache
- Now go to your bagisto admin section
admin/configuration/sales/paymentmethods
you will see the new payment gateway stripe.
- if anybody facing after placing a order you are not redirecting to payment gateway and getting a route error then simply go to
bootstrap/cache
and delete all the cache files.
For any help or customisation https://www.wontonee.com or email us [email protected]