-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPaymentSuccess - Copy.html
More file actions
145 lines (139 loc) · 3.53 KB
/
PaymentSuccess - Copy.html
File metadata and controls
145 lines (139 loc) · 3.53 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>UPI Payment & Order</title>
<style>
body {
margin: 0;
font-family: Arial, sans-serif;
background: url('Payment_bg.jpg') no-repeat center center/cover;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
}
.qr-box {
text-align: center;
background: #cd8b95;
padding: 30px;
border-radius: 15px;
box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.3);
width: 400px;
margin-bottom: 20px;
}
.qr-box img {
width: 250px;
border-radius: 10px;
}
h3 {
margin-bottom: 15px;
font-size: 22px;
color: #333;
}
p {
font-size: 18px;
font-weight: bold;
color: #555;
}
.btn {
padding: 12px 20px;
font-size: 18px;
border: none;
background-color: #4CAF50;
color: white;
cursor: pointer;
border-radius: 8px;
transition: 0.3s;
margin-top: 20px;
display: inline-block;
}
.btn:hover {
background-color: #45a049;
}
/* Overlay covers entire viewport */
.overlay {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
z-index: 100;
justify-content: center;
align-items: center;
}
/* Centered popup */
.order-container {
background: white;
padding: 30px;
border-radius: 15px;
box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
width: 400px;
text-align: center;
animation: fadeIn 0.8s ease-in-out;
}
.checkmark {
width: 80px;
height: 80px;
background-color: #4CAF50;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 20px;
animation: pop 0.6s ease-in-out;
}
.checkmark::after {
content: '✔';
font-size: 40px;
color: white;
font-weight: bold;
}
.order-text {
font-size: 24px;
font-weight: bold;
color: #333;
animation: pop 0.6s ease-in-out;
}
@keyframes fadeIn {
from { opacity: 0; transform: scale(0.8); }
to { opacity: 1; transform: scale(1); }
}
@keyframes pop {
0% { transform: scale(0.5); opacity: 0; }
80% { transform: scale(1.1); opacity: 1; }
100% { transform: scale(1); }
}
</style>
</head>
<body>
<div class="qr-box">
<h3>Scan & Pay via UPI</h3>
<img src="Gpay_QR.jpg" alt="Scan to Pay via UPI">
<p>UPI ID: <span style="color: #086ad4;">#SAMB11@oksbi</span></p>
</div>
<!-- Green Button Under the Center Box -->
<button class="btn" onclick="placeOrder()">Proceed to Confirm</button>
<!-- Dim overlay with centered popup -->
<div class="overlay" id="popupOverlay">
<div class="order-container">
<div class="checkmark"></div>
<p class="order-text"> Payment Successfully Done! 🎉</p>
</div>
</div>
<script>
function placeOrder() {
const overlay = document.getElementById('popupOverlay');
overlay.style.display = 'flex';
// Hide the popup after 3 seconds
setTimeout(() => {
overlay.style.display = 'none';
}, 3000);
}
</script>
</body>
</html>