diff --git a/app/Service/PaymentService.php b/app/Service/PaymentService.php index 0314c91..d081404 100644 --- a/app/Service/PaymentService.php +++ b/app/Service/PaymentService.php @@ -213,7 +213,7 @@ class PaymentService extends AbstractService } public function updateOrder($params) { - $order = Order::where('order_no', $params['order_no'])->where('status', 'APPLY_SUCCESS')->first(); + $order = Order::where('order_no', $params['order_no'])->whereIn('status', ['APPLY_SUCCESS', 'PROCESS'])->first(); if (empty($order)) { return null; }