From d8b984856df460045dd313c4434e49ad7db2da0d Mon Sep 17 00:00:00 2001 From: Hafifie PKB Date: Thu, 23 Jan 2025 16:45:23 +0800 Subject: [PATCH] client added --- app/Services/BillplzService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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());