sibds / yii2-alfabank-payment
Payment widget for alfabank
Installs: 138
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- omgdef/yii2-alphabank-payment: *
- yiisoft/yii2: ~2.0.0
This package is auto-updated.
Last update: 2024-12-03 08:27:05 UTC
README
Payment widget for alfabank
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist sibds/yii2-alfabank-payment "*"
or add
"sibds/yii2-alfabank-payment": "*"
to the require section of your composer.json
file.
Usage
Once the extension is installed, simply use it in your code by :
<?= \sibds\payment\alfabank\AutoloadExample::widget(); ?>
Support for events about the successful payment. Add the settings app.:
// The event of successful payment 'on successPayment' => ['\frontend\controllers\ShopController', 'successPayment'],