Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ This package is built for [SSLCommerz](https://www.sslcommerz.com) online paymen
You can install the package via composer:

``` bash
composer require dgvai/laravel-sslcommerz
composer require dgvai/laravel-sslcommerz
```

### Publish Configuration

Publish configuration file

```bash
php artisan vendor:publish --tag=sslc-config
php artisan vendor:publish --tag=sslc-config
```

### Setup and configure
Expand All @@ -48,7 +48,7 @@ Update your app environment (.env)
SSLC_STORE_CURRENCY = [STORE CURRENCY eg. BDT]
SSLC_ROUTE_SUCCESS = [route name of success_url, eg: payment.success]
SSLC_ROUTE_FAILURE = [eg: payment.failure]
SSLC_ROUTE_CANCE = [eg: payment.cancel]
SSLC_ROUTE_CANCEL = [eg: payment.cancel]
SSLC_ROUTE_IPN = [eg: payment.ipn]
SSLC_ALLOW_LOCALHOST = [TRUE/FALSE]
```
Expand All @@ -73,7 +73,7 @@ Add exception in ``app\Http\Middleware\VerifyCsrfToken.php``

After done configuraing
```bash
php artisan config:cache
php artisan config:cache
```

## Usage
Expand Down