diff --git a/app/Http/Controllers/Guest/OrderController.php b/app/Http/Controllers/Guest/OrderController.php index 6896ed40..602d9ece 100644 --- a/app/Http/Controllers/Guest/OrderController.php +++ b/app/Http/Controllers/Guest/OrderController.php @@ -25,7 +25,7 @@ class OrderController extends Controller $obj = $event->data->object; if ($obj['status'] == 'succeeded') { - $order = Order::where('callback_no', $obj['id'])->first(); + $order = Order::where('callback_no', $obj['source']['id'])->first(); if (!$order) { die('ERROR'); } diff --git a/app/Models/V2rayUser.php b/app/Models/V2rayUser.php deleted file mode 100755 index 45cab56e..00000000 --- a/app/Models/V2rayUser.php +++ /dev/null @@ -1,11 +0,0 @@ -