diff --git a/addons/shopro/library/ccblife/CcbPaymentService.php b/addons/shopro/library/ccblife/CcbPaymentService.php index 64805de..96bbab3 100644 --- a/addons/shopro/library/ccblife/CcbPaymentService.php +++ b/addons/shopro/library/ccblife/CcbPaymentService.php @@ -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位)