diff --git a/app/Services/BillplzService.php b/app/Services/BillplzService.php index 6c05cdf..512766d 100644 --- a/app/Services/BillplzService.php +++ b/app/Services/BillplzService.php @@ -257,7 +257,7 @@ class BillplzService $client->useVersion('v4'); try { - return $this->client->bill()->transaction($billId)->toArray(); + return $client->bill()->transaction($billId)->toArray(); } catch (\Throwable $th) { logger()->error('Error when querying billplz id : ' . $billId); logger()->error($th->getMessage());