fix(pay): 修复区域代理分佣脏数据导致支付事务回滚与订单未付款问题并增加核心支付隔离保护
这个提交包含在:
@@ -133,7 +133,14 @@ class HuifuNotifyHandler
|
||||
$order->paymentProcess($order, $notify);
|
||||
});
|
||||
} catch (\Throwable $e) {
|
||||
Log::error('[shopro_huifu] notify process fail: ' . $e->getMessage());
|
||||
$msg = trim($e->getMessage());
|
||||
if ($e instanceof \think\exception\HttpResponseException) {
|
||||
$resp = $e->getResponse();
|
||||
$msg = 'HttpResponseException: ' . json_encode($resp ? $resp->getData() : null, JSON_UNESCAPED_UNICODE);
|
||||
} elseif ($msg === '') {
|
||||
$msg = get_class($e) . ' @ ' . basename($e->getFile()) . ':' . $e->getLine();
|
||||
}
|
||||
Log::error('[shopro_huifu] notify process fail: ' . $msg);
|
||||
return $this->ack($reqSeqId, false);
|
||||
}
|
||||
|
||||
|
||||
在新工单中引用
屏蔽一个用户