\Alipay

支付宝接口类

Summary

Methods
Properties
Constants
Alipay()
__construct()
SetReturnUrl()
GetCode()
respond()
success_db()
success_mem()
log_result()
$dsql
$mid
$return_url
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$dsql

$dsql : 

Type

$mid

$mid : 

Type

$return_url

$return_url : 

Type

Methods

Alipay()

Alipay() : void

构造函数

__construct()

__construct() 

SetReturnUrl()

SetReturnUrl(string  $returnurl = '') : void

设定接口会送地址

例如: $this->SetReturnUrl($cfg_basehost."/tuangou/control/index.php?ac=pay&orderid=".$p2_Order)

Parameters

string $returnurl

会送地址

GetCode()

GetCode(array  $order, array  $payment) 

生成支付代码

Parameters

array $order

订单信息

array $payment

支付方式信息

respond()

respond() 

响应操作

success_db()

success_db(  $order_sn) 

Parameters

$order_sn

success_mem()

success_mem(  $order_sn,   $pname,   $product,   $pid) 

Parameters

$order_sn
$pname
$product
$pid

log_result()

log_result(  $word) 

Parameters

$word