|
@@ -190,6 +190,7 @@ class cmbpay implements IPay
|
|
|
$param = $this->gen_param($time,$payprice,$attach,$bill_no);
|
|
|
$code = $this->genMerchantCode($param);
|
|
|
|
|
|
+ $ret_pam = "act=pay_return&op=cmbpay&pay_sn={$pay_sn}&order_sn={$order_sn}&member_id={$user_id}";
|
|
|
$data = [
|
|
|
'BranchID' => $config['BranchID'],
|
|
|
'CoNo' => $config['CoNo'],
|
|
@@ -201,7 +202,7 @@ class cmbpay implements IPay
|
|
|
'MerchantPara' => $attach,
|
|
|
'MerchantCode' => $code,
|
|
|
'MerchantRetUrl' => self::app_returl(),
|
|
|
- 'MerchantRetPara' => $attach
|
|
|
+ 'MerchantRetPara' => $ret_pam
|
|
|
];
|
|
|
|
|
|
$count = count($data);
|
|
@@ -232,8 +233,8 @@ class cmbpay implements IPay
|
|
|
'strCono' => $config['CoNo'],
|
|
|
'strBillNo' => $bill_no,
|
|
|
'strAmount' => "{$payprice}",
|
|
|
- 'strMerchantUrl' => self::pay_notify_url(),
|
|
|
'strMerchantPara' => $attach,
|
|
|
+ 'strMerchantUrl' => self::pay_notify_url(),
|
|
|
'strPayerID' => "{$user_id}",
|
|
|
'strPayeeID' => '',
|
|
|
'strClientIP' => $_SERVER['REMOTE_ADDR'],
|