Download the PHP package grandmasterx/interkassa without Composer
On this page you can find all versions of the php package grandmasterx/interkassa. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download grandmasterx/interkassa
More information about grandmasterx/interkassa
Files in grandmasterx/interkassa
Download grandmasterx/interkassa
More information about grandmasterx/interkassa
Files in grandmasterx/interkassa
Vendor grandmasterx
Package interkassa
Short Description Extension for integration Interkassa in yii2 project
License BSD-3-Clause
Package interkassa
Short Description Extension for integration Interkassa in yii2 project
License BSD-3-Clause
Please rate this library. Is it a good library?
Informations about the package interkassa
Yii2 Interkassa
Extension for integration Interkassa in yii2 project. WIP.
Installation
The preferred way to install this extension is through composer.
Either run
or add
to the require section of your composer.json
file.
Update config file config/web.php
Usage
Example payment:
Example withdraw:
class Withdraw
{
protected $purse_name = 'My Purse Name';
public function process($id)
{
$withdraw = Withdraw::findOne($id);
if ($withdraw === null)
throw new BadRequestHttpException;
try {
$result = Yii::$app->interkassa->withdraw(
$withdraw->id,
$this->purse_name,
$withdraw->payway_name,
['purse' => $withdraw->purse],
$withdraw->amount,
'psPayeeAmount',
'process'
);
} catch (WithdrawException $e) {
return $e->getMessage();
}
}
}
All versions of interkassa with dependencies
PHP Build Version
Package Version
The package grandmasterx/interkassa contains the following files
Loading the files please wait ....