f1r3starter / yii2-paymentgate-alphabank
Extension for payment through the payment gateway of the Alfabank
Installs: 11
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 4
Type:yii2-extension
Requires
- yiisoft/yii2: *
- yiisoft/yii2-httpclient: ^2.0
This package is auto-updated.
Last update: 2024-11-19 06:39:49 UTC
README
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist veksoftware/yii2-paymentgate-alphabank "*"
or add
"veksoftware/yii2-paymentgate-alphabank": "*"
to the require section of your composer.json
file.
Usage
Once the extension is installed, simply use it in your code by :
// config/main.php <?php 'components' => [ 'paymentgate_alphabank' => [ 'class' => '\paymentgate_alphabank\components\PaymentComponent', 'userName' => 'my_login_at_service', 'password' => 'my password at service', 'gatewayUrl' => 'https://www.test.com/rest/', 'returnUrl' => '', ] ]
Then you can use it in your code :
<?php ?>