调试app支付回调
This commit is contained in:
parent
3c719ab57d
commit
1b1b8b53cf
@ -367,7 +367,7 @@ class WeChatPayService extends BasePayService
|
||||
$server = $this->app->getServer();
|
||||
// 支付通知
|
||||
$server->handlePaid(function (Message $message) {
|
||||
Log::info('wechat pay notify: ' . json_encode($message));
|
||||
Log::info('wechat pay notify', ['trade_state' => $message['trade_state'], 'out_trade_no' => $message['out_trade_no'], 'transaction_id' => $message['transaction_id'], 'attach' => $message['attach']]);
|
||||
if ($message['trade_state'] === 'SUCCESS') {
|
||||
$extra['transaction_id'] = $message['transaction_id'];
|
||||
$attach = $message['attach'];
|
||||
|
Loading…
x
Reference in New Issue
Block a user