devbigkelly-bagisto / stripe
This package provides an additional strong help for user to use the stripe payment gateway in their bagisto laravel application
V0.02
2024-02-14 16:18 UTC
Requires
- stripe/stripe-php: ^13.10
README
package provides a additional strong help for the user to use the stripe payment gateway in their Bagisto laravel ecommerce application.
Automatic Installation
- Use command prompt to run this package
composer require devbigkelly-bagisto/stripe
- Now open
config/app.php
and register stripe provider.
'providers' => [ // Stripe provider DevbigkellyBagisto\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
Manual Installation
- 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 DevbigkellyBagisto\Stripe\Providers\StripeServiceProvider::class, ]
- Now open composer.json and go to
autoload psr-4
.
"autoload": { "psr-4": { "DevbigkellyBagisto\\Stripe\\": "packages/DevbigkellyBagisto/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.
Troubleshooting
- 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 email us africanbenchmarktech@gmail.com