Browse Source

update: mgate

tokumeikoi 3 năm trước cách đây
mục cha
commit
92d236f5c0
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/Http/Controllers/Guest/PaymentController.php

+ 1 - 1
app/Http/Controllers/Guest/PaymentController.php

@@ -32,7 +32,7 @@ class PaymentController extends Controller
         if (!$order) {
             abort(500, 'order is not found');
         }
-        if ($order->status === 1) return true;
+        if ($order->status !== 0) return true;
         $orderService = new OrderService($order);
         if (!$orderService->paid($callbackNo)) {
             return false;