Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrey Helldar committed Aug 17, 2021
1 parent 508816b commit edc13f0
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,36 @@ Or manually update `require` block of `composer.json` and run `composer update`.

> See [parent](https://github.com/andrey-helldar/cashier#readme) project.
Edit the `config/cashier.php` file:

```php
use App\Models\Payment;
use App\Payments\Details;
use Helldar\Cashier\Constants\Driver;
use Helldar\CashierDriver\Tinkoff\QrCode\Driver as TinkoffQrDriver;

return [
//

'payment' => [
'map' => [
Payment::TYPE_TINKOFF => 'tinkoff_qr'
]
],

'drivers' => [
'tinkoff_qr' => [
Driver::DRIVER => TinkoffQrDriver::class,

Driver::DETAILS => Details::class,

Driver::CLIENT_ID => env('CASHIER_TINKOFF_CLIENT_ID'),
Driver::CLIENT_SECRET => env('CASHIER_TINKOFF_CLIENT_SECRET'),
]
]
];
```

## For Enterprise

Available as part of the Tidelift Subscription.
Expand Down

0 comments on commit edc13f0

Please sign in to comment.