✓ Payment Successful!
Thank you for your purchase. Your payment has been received and is being processed.
Invoice Reference:
What happens next?
- Payment Confirmation: Your payment has been captured by PayPal
- Order Creation: Your game server order has been created
- Server Provisioning: Your server will be provisioned automatically (this may take a few minutes)
- Email Notification: You'll receive an email with your server details and login credentials
0) {
$db = createDatabaseConnection($db_host, $db_user, $db_pass, $db_name, $db_port);
if ($db) {
$result = mysqli_query($db, "SELECT * FROM ogp_billing_orders WHERE user_id=$user_id ORDER BY order_date DESC LIMIT 5");
if ($result && mysqli_num_rows($result) > 0) {
echo '
';
echo '
Your Recent Orders
';
echo '
';
echo '';
echo '| Order ID | ';
echo 'Server | ';
echo 'Status | ';
echo 'Date | ';
echo 'Price | ';
echo '
';
while ($order = mysqli_fetch_assoc($result)) {
$statusColor = $order['status'] === 'paid' ? '#28a745' : '#6c757d';
echo '';
echo '| #' . htmlspecialchars($order['order_id']) . ' | ';
echo '' . htmlspecialchars($order['home_name']) . ' | ';
echo '' . htmlspecialchars(ucfirst($order['status'])) . ' | ';
echo '' . htmlspecialchars($order['order_date']) . ' | ';
echo '$' . htmlspecialchars(number_format($order['price'], 2)) . ' | ';
echo '
';
}
echo '
';
echo '
';
}
mysqli_close($db);
}
}
?>