Skip to content

imjonos/yandex-money-checkout

Repository files navigation

Laravel yandex money checkout

Software License Travis Total Downloads

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 [email protected] instead of using the issue tracker.

License

The MIT License (MIT). Please see License File for more information.

About

Checkout with Yandex

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published