wontonee / stripe
Laravel bagisto stripe payment gateway from wontonee
Installs: 1 226
Dependents: 0
Suggesters: 0
Security: 0
Stars: 7
Watchers: 1
Forks: 6
Open Issues: 0
Requires
- stripe/stripe-php: ^14.3
README
Stripe is a popular payment gateway. This package provides strong support for users to integrate the Stripe payment gateway into their Bagisto Laravel e-commerce applications.
Support Bagisto v2.2. For Bagisto 2.1, you can downgrade the package to 2.0.1
Installation
- Use the command prompt to install this package:
composer require wontonee/stripe
- Open
config/app.php
and register the Stripe provider.
'providers' => [ // Stripe provider Wontonee\Stripe\Providers\StripeServiceProvider::class, ]
-
Navigate to the
admin panel -> Configure/Payment Methods
, where Stripe will be visible at the end of the payment method list. -
Now open
app\Http\Middleware\VerifyCsrfToken.php
and add this route to the exception list.
protected $except = [ '/stripe-success', '/stripe-cancel' ];
- Now run
php artisan config:cache
Troubleshooting
- If you encounter an issue where you are not redirected to the payment gateway after placing an order and receive a route error, navigate to
bootstrap/cache
and delete all cache files.
For any help or customization, visit https://www.wontonee.com or email us dev@wontonee.com