\addons\pay\libraryService

Summary

Methods
Properties
Constants
submitOrder()
checkNotify()
checkReturn()
getConfig()
getOpenid()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

submitOrder()

submitOrder(mixed  $amount, mixed  $orderid = null, mixed  $type = null, mixed  $title = null, mixed  $notifyurl = null, mixed  $returnurl = null, mixed  $method = null) : mixed

Parameters

mixed $amount
mixed $orderid
mixed $type
mixed $title
mixed $notifyurl
mixed $returnurl
mixed $method

Returns

mixed —

checkNotify()

checkNotify(string  $type, array  $config = []) : bool|\Yansongda\Pay\Pay

验证回调是否成功

Parameters

string $type

支付类型

array $config

配置信息

Returns

bool|\Yansongda\Pay\Pay —

checkReturn()

checkReturn(string  $type, array  $config = []) : bool|\Yansongda\Pay\Pay

验证返回是否成功

Parameters

string $type

支付类型

array $config

配置信息

Returns

bool|\Yansongda\Pay\Pay —

getConfig()

getConfig(mixed  $type = 'wechat') : mixed

获取配置

Parameters

mixed $type

Returns

mixed —

getOpenid()

getOpenid() : mixed|string

获取微信Openid

Returns

mixed|string —