No Transaction Id Received
prefix."vtupress_wallet";
$info = "Your account should be credit/debited almost instantly";
break;
case"airtime":
$table = $wpdb->prefix."sairtime";
$info = "The recipient phone number is expected to be credited within 2 minutes (max). Subject to notification by network provider";
break;
case"data":
$table = $wpdb->prefix."sdata";
$info = "The recipient phone number is expected to be credited within 2 minutes (max). Subject to notification by network provider";
break;
case"cable":
$table = $wpdb->prefix."scable";
$info = "The recipient cableTv is expected to be renewed within 2 minutes (max).";
break;
case"bill":
$table = $wpdb->prefix."sbill";
$info = "The recipient bill is expected to be credited within 5 minutes (max). ";
break;
case"bet":
$table = $wpdb->prefix."sbet";
$info = "The recipient account is expected to be credited within 5 minutes (max). ";
break;
case"verification":
$table = $wpdb->prefix."vtupress_verifications";
$info = "Verification is always instant";
break;
}
if(isset($_GET["generate"])){
$prepare = $wpdb->prepare("SELECT * FROM $table WHERE user_id = %s ORDER BY ID DESC LIMIT 1",$user_id);
}else{
$prepare = $wpdb->prepare("SELECT * FROM $table WHERE user_id = %s AND id = %d LIMIT 1",$user_id,$id);
}
$results = $wpdb->get_results($prepare);
if($results != NULL && !empty($results)){
$thisResult = $results[0];
include(__DIR__."/functions.php");
if(strtolower($status) == "credit"){
$statusText = "Credited";
$status = "successful";
}
elseif(strtolower($status) == "debit"){
$statusText = "Debited";
$status = "failed";
}
else{
$statusText = $status;
}
if($sub == "wallet"){
$info = ucfirst($thisResult->description);
}
?>
No Transaction With Id Recorded
₦
Started
<
Completed
<
Transaction Details
Transaction Type
Recipient Details
Meter Token
Transaction Id
Payment Method
Wallet
Transaction Date
More Actions
Service