退款回调
This commit is contained in:
parent
ce9590b4ec
commit
da9c44b809
|
@ -280,7 +280,7 @@ class WeChatPayMerchantService extends BasePayService
|
|||
if($message['refund_status'] === 'SUCCESS') {
|
||||
$refundOrder = RefundOrder::where(['out_trade_no', $message['out_trade_no'], 'refund_sn'=>$message['out_refund_no']])->find();
|
||||
// 防止重复操作
|
||||
if ($refundOrder['refund_status'] == 1 && !empty($order['refund_id'])) {
|
||||
if ($refundOrder['refund_status'] == 1 && !empty($refundOrder['refund_id'])) {
|
||||
return true;
|
||||
}
|
||||
$refundOrder->refund_status = 1;
|
||||
|
|
Loading…
Reference in New Issue