mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-20 21:13:59 +00:00
debug billplz payment
This commit is contained in:
@@ -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 . " </br></br>";
|
||||
$this->info('Paid transaction - : id: '. $transaction->id . ' - Date: '.$transaction->created_at->format('d-m-Y').' - Amount: '. $transaction->amount);
|
||||
}
|
||||
} else {
|
||||
$totalAmount += $transaction->amount;
|
||||
|
||||
Reference in New Issue
Block a user