mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2024-12-01 11:29:59 +08:00
pay debug
This commit is contained in:
parent
fddec399ae
commit
a21d62015e
@ -239,7 +239,7 @@ class PayEase
|
|||||||
$public_key = ROOT.'rsakeys/test.cer';
|
$public_key = ROOT.'rsakeys/test.cer';
|
||||||
$params['encryptKey'] = isset($_SERVER['HTTP_ENCRYPTKEY']) ? $_SERVER['HTTP_ENCRYPTKEY'] : '';
|
$params['encryptKey'] = isset($_SERVER['HTTP_ENCRYPTKEY']) ? $_SERVER['HTTP_ENCRYPTKEY'] : '';
|
||||||
$params['merchantId'] = isset($_SERVER['HTTP_MERCHANTID']) ? $_SERVER['HTTP_MERCHANTID'] : '';
|
$params['merchantId'] = isset($_SERVER['HTTP_MERCHANTID']) ? $_SERVER['HTTP_MERCHANTID'] : '';
|
||||||
$data = $this->NotifyCheckHmac($private_key, $params, $public_key, $this->config['password'])
|
$data = $this->NotifyCheckHmac($private_key, $params, $public_key, $this->config['password']);
|
||||||
|
|
||||||
// 支付状态
|
// 支付状态
|
||||||
if(isset($data['status']) && $data['status'] == 'SUCCESS')
|
if(isset($data['status']) && $data['status'] == 'SUCCESS')
|
||||||
|
Loading…
Reference in New Issue
Block a user