|
|
|
@ -81,7 +81,7 @@ class dalianpay{ |
|
|
|
'version' => $config['version'], |
|
|
|
// 'version' => '11', |
|
|
|
// jsapi支付不需要termcode |
|
|
|
// 'termcode' => $config['termcode'], |
|
|
|
'termcode' => $config['termcode'], |
|
|
|
'trxamt' => strval($trxamt), // total_fee bug: need:string supply:int |
|
|
|
// 'trxamt' => '180000', // total_fee |
|
|
|
'reqsn' => $reqsn, // 交易订单号 |
|
|
|
@ -90,7 +90,7 @@ class dalianpay{ |
|
|
|
'transtype' => $config['transtype'], // 微信支付 |
|
|
|
'paytype' => $config['paytype'], // 微信js支付 |
|
|
|
'randomstr' => md5( uniqid() ), |
|
|
|
// 'body' => 'pages', |
|
|
|
'body' => 'pages', |
|
|
|
'acct' => $openid, |
|
|
|
'notify_url' => $config['notify_url'], // 交易结果通知地址 |
|
|
|
'limit_pay' => $config['limit_pay'], |
|
|
|
|