Yii 1.1: ishop

Yii QIWI Extension
9 followers

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

Resources

Project page
QIWI Payment System
QIWI service documentation

Be the first person to leave a comment

Please to leave your comment.

Create extension
Downloads