debug 充值回调
This commit is contained in:
parent
d2667977f9
commit
b0058752d4
@ -376,6 +376,7 @@ class WeChatPayService extends BasePayService
|
|||||||
switch ($attach) {
|
switch ($attach) {
|
||||||
case 'recharge':
|
case 'recharge':
|
||||||
$order = RechargeOrder::where(['sn' => $message['out_trade_no']])->findOrEmpty();
|
$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) {
|
if($order->isEmpty() || $order->pay_status == PayEnum::ISPAID) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user