mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2024-12-01 03:18:33 +08:00
pay debug
This commit is contained in:
parent
ef68c5a495
commit
8feeb4e391
@ -174,8 +174,8 @@ class PayEase
|
|||||||
$data = [
|
$data = [
|
||||||
'merchantId' => $this->config['merchantId'],
|
'merchantId' => $this->config['merchantId'],
|
||||||
'orderAmount' => $params['total_price']/100,
|
'orderAmount' => $params['total_price']/100,
|
||||||
'orderCurrency' => ' CNY',
|
'orderCurrency' => 'CNY',
|
||||||
'requestId' => $params['order_no'],
|
'requestId' => $params['order_no'].GetNumberCode(6),
|
||||||
'notifyUrl' => $params['notify_url'],
|
'notifyUrl' => $params['notify_url'],
|
||||||
'callbackUrl' => $params['call_back_url'],
|
'callbackUrl' => $params['call_back_url'],
|
||||||
'cashierVersion' => $this->config['cashierVersion'],
|
'cashierVersion' => $this->config['cashierVersion'],
|
||||||
@ -187,7 +187,6 @@ class PayEase
|
|||||||
'idType' => 'IDCARD',
|
'idType' => 'IDCARD',
|
||||||
'idNum' => '522228199102111214',
|
'idNum' => '522228199102111214',
|
||||||
];
|
];
|
||||||
$data['payer'] = json_encode($payer, JSON_UNESCAPED_UNICODE);
|
|
||||||
$data['payer'] = $payer;
|
$data['payer'] = $payer;
|
||||||
$detail = [
|
$detail = [
|
||||||
[
|
[
|
||||||
@ -196,7 +195,6 @@ class PayEase
|
|||||||
'amount' => $params['total_price']/100,
|
'amount' => $params['total_price']/100,
|
||||||
]
|
]
|
||||||
];
|
];
|
||||||
$data['productDetails'] = json_encode($detail, JSON_UNESCAPED_UNICODE);
|
|
||||||
$data['productDetails'] = $detail;
|
$data['productDetails'] = $detail;
|
||||||
|
|
||||||
$private_key = ROOT.'rsakeys/client.pfx';
|
$private_key = ROOT.'rsakeys/client.pfx';
|
||||||
|
Loading…
Reference in New Issue
Block a user