2017 © Pedro Peláez
 

library yii-epluspay

CMBC E Plus Pay Yii 2 extension

image

choate/yii-epluspay

CMBC E Plus Pay Yii 2 extension

  • Friday, August 18, 2017
  • by Choate
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

招行E+支付 Yii 2 扩展

安装

基于composer安装, (*1)

php composer.phar require choate/yii-epluspay, (*2)

说明

基本配置

'components' => [
    'eplusclient'        => [
        'class' => 'choate\yii\epluspay\Client',
        'channelNo'  => 'xxxx',
        'serverUrl'  => 'http://example.com',
        'lang'       => 'zh_CN',
        'publicKeyNo' => 'xxxx',
        'encryption' => [
           'class' => 'choate\epluspay\helpers\Sha1WithRSAHelper',
           'params' => [
               "private key file path or \Closure",
               "public key file path or \Closure",
           ],
        ], 
    ],
    'epluspayclient' => [
        class' => 'choate\yii\epluspay\PayOrdersClient',
        'shopId' => 'xxx',
        'notifyUrl' => 'notify url',
        //'client' => 'eplusclient',
        // 统一配置
        'client' => [
            'class' => 'choate\yii\epluspay\Client',
            'channelNo'  => 'xxxx',
            'serverUrl'  => 'http://example.com',
            'lang'       => 'zh_CN',
            'publicKeyNo' => 'xxxx',
            'encryption' => [
                'class' => 'choate\epluspay\helpers\Sha1WithRSAHelper',
                'params' => [
                    "private key file path or \Closure",
                    "public key file path or \Closure",
                ],
            ],  
        ],
    ],
],

The Versions

18/08 2017

dev-master

9999999-dev

CMBC E Plus Pay Yii 2 extension

  Sources   Download

BSD

The Requires

 

by Avatar Choate