debug 充值回调

This commit is contained in:
chenbo 2023-11-30 12:37:40 +08:00
parent d2667977f9
commit b0058752d4

View File

@ -376,6 +376,7 @@ class WeChatPayService extends BasePayService
switch ($attach) {
case 'recharge':
$order = RechargeOrder::where(['sn' => $message['out_trade_no']])->findOrEmpty();
Log::info('wechat pay notify: ' . var_export($order, true));
if($order->isEmpty() || $order->pay_status == PayEnum::ISPAID) {
return true;
}