PHP code example of sibds / yii2-yookassa
1. Go to this page and download the library: Download sibds/yii2-yookassa library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
sibds / yii2-yookassa example snippets
<?= \sibds\payment\yookassa\AutoloadExample::widget();
// The event of successful payment
'on successPayment' => ['\frontend\controllers\ShopController', 'successPayment'],
php composer.phar