sibds / yii2-sberbank-payment
Payment widget for sberbank
Installs: 443
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- yiisoft/yii2: ~2.0.0
This package is auto-updated.
Last update: 2024-11-03 08:31:07 UTC
README
Payment widget for sberbank
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist sibds/yii2-sberbank-payment "*"
or add
"sibds/yii2-sberbank-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\sberbank\AutoloadExample::widget(); ?>
Support for events about the successful payment. Add the settings app.:
// The event of successful payment 'on successPayment' => ['\frontend\controllers\ShopController', 'successPayment'],