-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnew payment.html
More file actions
70 lines (61 loc) · 1.72 KB
/
new payment.html
File metadata and controls
70 lines (61 loc) · 1.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Payment Confirmation</title>
<style>
body {
font-family: Arial, sans-serif;
background: #f4f4f4;
margin: 0;
padding: 0;
}
.container {
max-width: 600px;
margin: 50px auto;
background: white;
padding: 30px;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
text-align: center;
}
h2 {
color: #2c3e50;
}
.amount {
font-size: 22px;
margin: 20px 0;
color: green;
font-weight: bold;
}
button {
background: #27ae60;
color: white;
padding: 12px 25px;
border: none;
border-radius: 5px;
font-size: 18px;
cursor: pointer;
}
button:hover {
background: #219150;
}
</style>
</head>
<body>
<div class="container">
<h2>Confirm Your Booking</h2>
<p>Thank you for booking security services with us.</p>
<p class="amount">Total Amount: ₹<span id="showAmount">0</span></p>
<button onclick="alert('Payment Gateway Integration Coming Soon!')">
Make Payment
</button>
</div>
<script>
// Read amount from previous form submission
const params = new URLSearchParams(window.location.search);
const amount = params.get("total_amount") || 0;
document.getElementById("showAmount").innerText = amount;
</script>
</body>
</html>