-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
51 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# Bagisto Stripe Payment Gateway | ||
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. | ||
|
||
## Automatic Installation | ||
1. Use command prompt to run this package `composer require wontonee/stripe` | ||
2. Now open `config/app.php` and register payu provider. | ||
```sh | ||
'providers' => [ | ||
// Stripe provider | ||
Wontonee\Stripe\Providers\StripeServiceProvider::class, | ||
] | ||
``` | ||
3. Now go to `package/Webkul/Admin/src/Resources/lang/en` copy these line at the bottom end of code. | ||
```sh | ||
'stripe-apikey' => 'Api Key', | ||
``` | ||
4. Now go to your bagisto admin section `admin/configuration/sales/paymentmethods` you will see the new payment gateway payu. | ||
5. Now run `php artisan config:cache` | ||
|
||
## Manual Installation | ||
1. Download the zip folder from the github repository. | ||
2. Unzip the folder and go to your bagisto application path `package` and create a folder name `Wontonee/Stripe/` upload `src` folder inside this path. | ||
3. Now open `config/app.php` and register payu provider. | ||
```sh | ||
'providers' => [ | ||
// Stripe provider | ||
Wontonee\Stripe\Providers\StripeServiceProvider::class, | ||
] | ||
``` | ||
4. Now open composer.json and go to `autoload psr-4`. | ||
```sh | ||
"autoload": { | ||
"psr-4": { | ||
"Wontonee\\Stripe\\": "packages/Wontonee/Stripe/src" | ||
} | ||
} | ||
``` | ||
5. Now go to `package/Webkul/Admin/src/Resources/lang/en` copy these line at the bottom end of code. | ||
```sh | ||
'stripe-apikey' => 'Api Key', | ||
``` | ||
6. Now open the command prompt and run `composer dump-autoload`. | ||
7. Now run `php artisan config:cache` | ||
9. Now go to your bagisto admin section `admin/configuration/sales/paymentmethods` you will see the new payment gateway payu. | ||
|
||
|
||
## Troubleshooting | ||
|
||
1. 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 <hello@wontonee.com> |