tping 4 years ago
parent ad98d04edc
commit adccc9cb7f

@ -777,13 +777,13 @@ class PayH5Controller extends BaseController{
}elseif ($pay_info['channel'] == 5) { // 汇付宝 }elseif ($pay_info['channel'] == 5) { // 汇付宝
$request['pay_way'] = self::WX_PAY; // 威富通wx $request['pay_way'] = self::WX_PAY; // 威富通wx
$pay['agent_id'] = $pay_info['merno'];//商户号 $pay['agent_id'] = $pay_conf['merno'];//商户号
$pay['order_no'] = $request['pay_order_number']; $pay['order_no'] = $request['pay_order_number'];
$pay['time'] = date('YmdHis', time()); $pay['time'] = date('YmdHis', time());
$pay['pay_type'] = 30; $pay['pay_type'] = 30;
$pay['amount'] = $request['price']; $pay['amount'] = $request['price'];
$pay['user_ip'] = get_client_ip(); $pay['user_ip'] = get_client_ip();
$pay['sign_key'] = $pay_info['secret'];//密钥 $pay['sign_key'] = $pay_conf['secret'];//密钥
$pay['payerName'] = iconv("UTF-8", "gb2312//IGNORE", "万盟天下"); $pay['payerName'] = iconv("UTF-8", "gb2312//IGNORE", "万盟天下");
$pay['number'] = 1; $pay['number'] = 1;
$pay['goods_note']= "消费-".$request["pay_order_number"]; $pay['goods_note']= "消费-".$request["pay_order_number"];

Loading…
Cancel
Save