2017 © Pedro Peláez
 

yii2-extension yii2-asiapay

AsiaPay Hong Kong

image

xinyeweb/yii2-asiapay

AsiaPay Hong Kong

  • Monday, September 11, 2017
  • by hotarzhang
  • Repository
  • 2 Watchers
  • 0 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

AsiaPay

AsiaPay Hong Kong, (*1)

Installation

The preferred way to install this extension is through composer., (*2)

Either run, (*3)

php composer.phar require --prefer-dist xinyeweb/yii2-asiapay "dev-master"

or add, (*4)

"xinyeweb/yii2-asiapay": "dev-master"

to the require section of your composer.json file., (*5)

Usage

Once the extension is installed, simply use it in your code by :, (*6)

    $asiaPay = new AsiaPayClient('商戶號');
    //$orderRef, $amount, $successUrl, $failUrl, $cancelUrl, $remark="", $redirect="", $oriCountry="", $destCountry=""
    $asiaPay->requestPay(time(), 10, 'https://www.xinyeweb.com', 'https://www.xinyeweb.com', 'https://www.xinyeweb.com');

注意:需要在商戶後台設定好返回鏈接(數據反饋),不要在支付結果頁面更新業務邏輯, (*7)

The Versions

11/09 2017

dev-master

9999999-dev

AsiaPay Hong Kong

  Sources   Download

BSD-3-Clause

The Requires

 

by hoter

extension yii2

08/09 2017

v1.0

1.0.0.0

AsiaPay Hong Kong

  Sources   Download

BSD-3-Clause

The Requires

 

by hoter

extension yii2