feat : wechatPay callback
This commit is contained in:
@@ -22,7 +22,7 @@ trait PayFinishTrait
|
||||
$this->payInfo->wx_transaction_id = $this->callbackData['transaction_id'];
|
||||
$this->payInfo->notify_json = json_encode($this->callbackData);
|
||||
|
||||
if (!$this->orderInfo->save()) {
|
||||
if (!$this->payInfo->save()) {
|
||||
$this->log->debug(__CLASS__.':Function:manageWxOrder:更新充值订单的状态失败:'.$this->payInfo->id);
|
||||
throw new ErrException('更新充值订单的状态失败');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user