vb_book/app/Views/response.php
2024-11-08 12:12:22 +05:30

41 lines
1.8 KiB
PHP

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Payment Response</title>
<!-- Bootstrap CSS -->
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet">
<style>
.payment-success {
margin-top: 50px;
text-align: center;
color: #28a745; /* Bootstrap's success color */
}
.info-text {
font-size: 1.1rem;
}
</style>
</head>
<body>
<?php var_dump($receivedFromPaytm);die();?>
<div class="container payment-success">
<div class="card shadow-sm">
<div class="card-body">
<h2 class="card-title text-success">Payment Success!</h2>
<p class="card-text info-text">Thank you! Your payment of Rs. <strong><?= htmlspecialchars(isset($price)? $price : '1500') ?></strong> has been received.</p>
<p class="card-text info-text">Order ID: <strong><?= htmlspecialchars(isset($orderID) ? $orderID : "") ?></strong></p>
<p class="card-text info-text">Transaction ID: <strong><?= htmlspecialchars(isset($transactionID) ? $transactionID : "") ?></strong></p>
<p class="card-text info-text">Your scheme <strong><?= htmlspecialchars(isset($scheme) ? $scheme : "") ?></strong> is renewed up to <strong>[Renewal Date]</strong>.</p>
</div>
</div>
</div>
<!-- Bootstrap JS and dependencies -->
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
</body>
</html>