Explorar o código

update: mgate

tokumeikoi %!s(int64=3) %!d(string=hai) anos
pai
achega
92d236f5c0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;