sibds / yii2-yookassa
Payment widget for yookassa
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- dicr/yii2-yookassa: ^1.0
- yiisoft/yii2: ~2.0.0
README
Payment widget for Yookassa (dvizh/yii2-order)
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist sibds/yii2-yookassa "*"
or add
"sibds/yii2-yookassa": "*"
to the require section of your composer.json
file.
Usage
Once the extension is installed, simply use it in your code by :
<?= \sibds\payment\yookassa\AutoloadExample::widget(); ?>
Support for events about the successful payment. Add the settings app.:
// The event of successful payment 'on successPayment' => ['\frontend\controllers\ShopController', 'successPayment'],