Fix status set when customer failed to pay the bill from billplz

- Changes made because the cronjob searches for the status NOT PAID to update payment status from BillPlz
This commit is contained in:
Afiq Hamzah
2024-11-12 09:24:31 +08:00
parent d2315dfe3c
commit ee48f51a46
+1 -1
View File
@@ -206,7 +206,7 @@ class BayaranController extends Controller
if ($isBillUnpaid) {
Http::arrahn()->put('/api/online/transaction', [
'billplz_id' => $data['id'],
'status' => 'UNSUCCESSFUL',
'status' => 'NOT PAID',
'paid_at' => null,
]);