Alipay and WeChat payment for Yii2.
The preferred way to install this extension is through composer.
Either run
php composer.phar require ericeyang/yii2-payment "dev-master"
Or, you may add
"ericeyang/yii2-payment": "dev-master"
to the require section of your composer.json
file and execute php composer.phar update
.
In your application config, add the path alias for this extension.
return [
...
'aliases' => [
'@ericeyang/payment' => 'path/to/your/extracted',
// for example: '@ericeyang/payment' => '@vendor/ericeyang/yii2-payment',
...
]
];