<?php
// Check if the status parameter is present in the URL
if (isset($_GET['status'])) {
// Check the value of the status parameter
$status = $_GET['status'];
if ($status === "success") {
// Display success message with green background
echo '<div class="alert alert-success" role="alert" style="background-color: #d4edda; border-color: #c3e6cb; color: #155724;">';
echo 'Success! Your wallet will be credited once admin confirms your payment.';
echo '</div>';
} elseif ($status === "error") {
// Display error message
echo '<div class="alert alert-danger" role="alert">';
echo 'Oops! Something went wrong. Please try again later.';
echo '</div>';
}
}
?>