diff --git a/app/Console/Commands/debugBillplzFailedPayment.php b/app/Console/Commands/debugBillplzFailedPayment.php index cf7a9664..ce481d3a 100644 --- a/app/Console/Commands/debugBillplzFailedPayment.php +++ b/app/Console/Commands/debugBillplzFailedPayment.php @@ -55,7 +55,7 @@ class debugBillplzFailedPayment extends Command $data = $response->json(); if($data['paid']){ if (!in_array($transaction->status, [ApprovalStatus::APPROVED, ApprovalStatus::COMPLETED])) { - echo 'Paid transaction - : id: '. $transaction->id . ' - Date: '.$transaction->created_at->format('d-m-Y').' - Amount: '. $transaction->amount . "

"; + $this->info('Paid transaction - : id: '. $transaction->id . ' - Date: '.$transaction->created_at->format('d-m-Y').' - Amount: '. $transaction->amount); } } else { $totalAmount += $transaction->amount;