Skip to content

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
wontone18 committed Sep 12, 2021
1 parent 4bd4b06 commit 52bc91b
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions README.md
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 <[email protected]>

0 comments on commit 52bc91b

Please sign in to comment.