mirror of
https://gitee.com/liuxioabin/fengketrade.git
synced 2026-04-17 21:03:17 +08:00
1
This commit is contained in:
parent
0614d5cdd9
commit
c25ca9ace8
@ -115,8 +115,8 @@ class CcbPaymentService
|
||||
$macParams['REGINFO'] = ''; // 客户注册信息(空字符串)
|
||||
|
||||
// 商品信息(escape编码)
|
||||
$proinfo = $this->buildProductInfo($order);
|
||||
$macParams['PROINFO'] = $proinfo;
|
||||
// $proinfo = $this->buildProductInfo($order);
|
||||
$macParams['PROINFO'] = '';
|
||||
|
||||
$macParams['REFERER'] = ''; // 商户URL(空字符串)
|
||||
|
||||
@ -145,24 +145,24 @@ class CcbPaymentService
|
||||
}
|
||||
|
||||
// 中国建设银行App环境参数
|
||||
if (!empty($this->config['user_id'])) {
|
||||
$macParams['USERID'] = $this->config['user_id'];
|
||||
}
|
||||
if (!empty($this->config['token'])) {
|
||||
$macParams['TOKEN'] = $this->config['token'];
|
||||
}
|
||||
if (!empty($this->config['pay_success_url'])) {
|
||||
// ⚠️ 不要在这里urlencode,会在构建最终支付串时统一编码
|
||||
$macParams['PAYSUCCESSURL'] = $this->config['pay_success_url'];
|
||||
}
|
||||
// if (!empty($this->config['user_id'])) {
|
||||
// $macParams['USERID'] = $this->config['user_id'];
|
||||
// }
|
||||
// if (!empty($this->config['token'])) {
|
||||
// $macParams['TOKEN'] = $this->config['token'];
|
||||
// }
|
||||
// if (!empty($this->config['pay_success_url'])) {
|
||||
// // ⚠️ 不要在这里urlencode,会在构建最终支付串时统一编码
|
||||
// $macParams['PAYSUCCESSURL'] = $this->config['pay_success_url'];
|
||||
// }
|
||||
|
||||
// 支付位图和账户位图
|
||||
if (!empty($this->config['pay_bitmap'])) {
|
||||
$macParams['PAYBITMAP'] = $this->config['pay_bitmap'];
|
||||
}
|
||||
if (!empty($this->config['account_bitmap'])) {
|
||||
$macParams['ACCOUNTBITMAP'] = $this->config['account_bitmap'];
|
||||
}
|
||||
// if (!empty($this->config['pay_bitmap'])) {
|
||||
// $macParams['PAYBITMAP'] = $this->config['pay_bitmap'];
|
||||
// }
|
||||
// if (!empty($this->config['account_bitmap'])) {
|
||||
// $macParams['ACCOUNTBITMAP'] = $this->config['account_bitmap'];
|
||||
// }
|
||||
|
||||
// ✅ 严格按照文档4.1表格顺序添加参数(第27-40位)
|
||||
// 积分活动编号(第27位)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user