mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-30 09:53:58 +00:00
wallet audit
This commit is contained in:
+6
-4
@@ -323,11 +323,13 @@ Route::get('/wallet/audit', function (Request $request) {
|
||||
|
||||
if($response->successful()){
|
||||
$data = $response->json();
|
||||
dd($data);
|
||||
$topups += (float) $transaction->amount;
|
||||
// return (object) $data;
|
||||
if($data['paid']){
|
||||
$topups += (float) $transaction->amount;
|
||||
} else {
|
||||
echo $transaction->id." => Fraud";
|
||||
}
|
||||
}else{
|
||||
echo $transaction->id." => Fraud";
|
||||
echo "billplz error";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user