IShop ¶
Integration of QIWI Payment system
Requirements ¶
- Yii (any version i suppose)
- PHP_SOAP
Usage ¶
Unpack the archive into the directory with the extension
Configure ¶
'components' => array(
'ishop' => array(
'class' => 'ext.ishop.IShop',
'options' => array(
'login' => LOGIN,
'password' => PASSWORD
)
)
),
Sample ¶
class ExampleController extends CController {
public function actionIndex() {
$user = 9181234567;
$amount = 100;
$coment = 'Test pay';
$txn = 123;
$return = Yii::app()->ishop->createBill($user, $amount, $comment, $txn);
echo $return;
}
}
You can also see examples in the archive
If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.