grechanyuk/freekassa

FreeKassa payments for Laravel

dev-master 2019-05-17 11:10 UTC

This package is not auto-updated.

Last update: 2024-04-28 06:28:51 UTC


README

Latest Version on Packagist Total Downloads Build Status StyleCI

This is where your description should go. Take a look at contributing.md to see a to do list.

Installation

Via Composer

$ composer require grechanyuk/freekassa
$ php artisan vendor:publish --provider="Grechanyuk\FreeKassa\FreeKassaServiceProvider" --tag="freekassa.config"

Из конфигурационного файла ссылку для принятия уведомлений о статусах платежа от FreeKassa необходимо добавить в исключения CSRF защиты. Для этого добавьте в файл App\Http\Middleware\VerifyCsrfToken:

protected $except = [
        '/api/freekassa/notificate'
    ];

В файл Kernel.php добавьте новый Middleware, в секцию protected $routeMiddleware:

'freekassa' => \Grechanyuk\FreeKassa\Middlewares\FreeKassaNotificationChecker::class,

Usage

Change log

Please see the changelog for more information on what has changed recently.

Testing

$ composer test

Contributing

Please see contributing.md for details and a todolist.

Security

If you discover any security related issues, please email author email instead of using the issue tracker.

Credits

License

license. Please see the license file for more information.