|
@@ -38,13 +38,16 @@ class Notify extends Core
|
|
|
$this->setParam('signType');
|
|
|
$error = $this->getError();
|
|
|
if ($error) {
|
|
|
- return $tool->updateOrder($this->param['mhtOrderNo'], $this->param['mhtOrderAmt'], $error);
|
|
|
+ $tool->updateOrder($this->param['mhtOrderNo'], $this->param['mhtOrderAmt'], $error);
|
|
|
+ return false;
|
|
|
}
|
|
|
|
|
|
$tool->log('支付回调-初始化22', $this->param);
|
|
|
$signature = $this->createSignature($this->param['signType']);
|
|
|
+ $tool->log('支付回调-初始化33', $signature);
|
|
|
if ($signature != $this->data['signature']) {
|
|
|
$tool->updateOrder($this->param['mhtOrderNo'], $this->param['mhtOrderAmt'], '签名错误');
|
|
|
+ return false;
|
|
|
}
|
|
|
return $this->param;
|
|
|
}
|