Download the PHP package payuni/sdk without Composer
On this page you can find all versions of the php package payuni/sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Vendor payuni
Package sdk
Short Description payuni sdk
License Apache-2.0
Homepage https://github.com/payuni/PHP_SDK
Package sdk
Short Description payuni sdk
License Apache-2.0
Homepage https://github.com/payuni/PHP_SDK
Please rate this library. Is it a good library?
Informations about the package sdk
目錄
- 環境需求
- 安裝
- 使用方式
環境需求
- PHP:^7.1 || ^8.0
安裝
請使用Composer安裝
使用方式
-
正式區
-
測試區
-
API串接
-
upp ReturnURL、NotifyURL接收到回傳參數後處理方式
-
參數說明
- $encryptInfo
-
參數詳細內容請參考統一金流API串接文件對應功能請求參數的EncryptInfo
-
若要使用代理商功能請在encryptInfo裡多加上IsPlatForm參數且值給1
- $merKey
- 請登入PAYUNi平台檢視商店串接資訊取得 Hash Key
- $merIV
- 請登入PAYUNi平台檢視商店串接資訊取得 Hash IV
- $type (非必填)
- 連線測試區 => t
- 連線正式區 => 不給該參數或給空值
- $mode
- 整合式支付頁 => upp
- 虛擬帳號幕後 => atm
- 超商代碼幕後 => cvs
- 信用卡幕後 => credit
- LINE Pay幕後 => linepay
- AFTEE幕後 => aftee_direct
- 交易查詢 => trade_query
- 交易請退款 => trade_close
- 交易取消授權 => trade_cancel
- 信用卡Token(約定) => credit_bind_query
- 信用卡Token取消(約定/記憶卡號) => credit_bind_cancel
- 交易取消超商代碼(CVS) => cancel_cvs
- 後支付確認(AFTEE) => trade_confirm_aftee
- 愛金卡退款(ICASH) => trade_refund_icash
- 後支付退款(AFTEE) => trade_refund_aftee
-
LINE Pay退款(LINE) => trade_refund_linepay
- $version (非必填)
- 所呼叫API的版本號,預設1.0(LINE Pay預設為1.1)
- 若需呼叫其他版本號,該參數請給字串,e.g. $payuni->UniversalTrade($encryptInfo, 'trade_query','2.0');,而非給數字或浮點數
- 若需呼叫新版號請參考統一金流API串接文件對應功能請求參數的Version備註
-
其餘請參考範例
- 原生php
- your file path => 請自行填入程式所放置之路徑
LICENSE
All versions of sdk with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.1|^8.0
The package payuni/sdk contains the following files
Loading the files please wait ....