Explorar o código

fix: telegram multiple notification issues

Tokumeikoi %!s(int64=4) %!d(string=hai) anos
pai
achega
20911fb669
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      app/Http/Controllers/Guest/OrderController.php

+ 1 - 0
app/Http/Controllers/Guest/OrderController.php

@@ -157,6 +157,7 @@ class OrderController extends Controller
     private function handle($tradeNo, $callbackNo)
     {
         $order = Order::where('trade_no', $tradeNo)->first();
+        if ($order->status === 1) return true;
         if (!$order) {
             abort(500, 'order is not found');
         }