composer require coderstudio/yandex-money-checkout
This is package provide base Controller and views for implement Yandex Money payments It's provide webhook url https://some.com/payments/webhook
Config file:
//API
'store_id' => env('YANDEX_MONEY_STORE_ID',''),
'secret' => env('YANDEX_MONEY_SECRET', ''),
//Payment options
'payment_method_type' => 'bank_card',
'currency' => 'RUB',
'save_payment_method' => true,
'capture' => false,
//Redirect
//Should include order in url template
//Example: /test/{order}
'success_route' => env('YANDEX_MONEY_SUCCESS_ROUTE', 'yandexmoneycheckout.payments.success'),
'failed_route' => env('YANDEX_MONEY_FAIL_ROUTE', 'yandexmoneycheckout.payments.failed')
Run the tests with:
vendor/bin/phpunit
If you discover any security-related issues, please email [email protected] instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.