From d7328bafdc97ef3d891f9d462f0442684664d868 Mon Sep 17 00:00:00 2001 From: Omair Saleh Date: Tue, 13 Dec 2022 10:54:46 +0800 Subject: [PATCH] fix billplz bill status --- routes/web.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/routes/web.php b/routes/web.php index 4c13db32..234ff57d 100644 --- a/routes/web.php +++ b/routes/web.php @@ -606,6 +606,9 @@ Route::get('/billplz/fix', function(){ if($response->successful()){ $data = $response->json(); $invoice = $payment->owner; + if(!$invoice){ + dd($payment); + } $packingList = $invoice->owner; $order = $packingList->owner;