codersstudio / yandex-money-checkout
Package use Yandex Money SDK.
Installs: 27
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
Type:package
Requires
This package is auto-updated.
Last update: 2024-12-19 02:53:34 UTC
README
Install
composer require coderstudio/yandex-money-checkout
Usage
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')
Testing
Run the tests with:
vendor/bin/phpunit
Credits
Security
If you discover any security-related issues, please email info@coders.studio instead of using the issue tracker.
License
The MIT License (MIT). Please see License File for more information.