-
Notifications
You must be signed in to change notification settings - Fork 2
/
payment-fail.html
109 lines (95 loc) · 1.93 KB
/
payment-fail.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Payment Failed</title>
<style>
body {
font-family: 'Arial', sans-serif;
background-color: #f7f7f7;
margin: 0;
padding: 0;
}
.payment-status {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.status-container {
text-align: center;
padding: 30px 40px;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
width: 400px;
background-color: white;
transition: background-color 0.3s;
}
.success {
background-color: #d4edda;
color: #155724;
}
.fail {
background-color: #f8d7da;
color: #721c24;
}
h1 {
font-size: 2rem;
margin-bottom: 20px;
}
p {
font-size: 1.2rem;
margin-bottom: 20px;
}
.buttons {
display: flex;
justify-content: center;
gap: 15px;
}
.btn {
display: inline-block;
padding: 12px 20px;
font-size: 1rem;
font-weight: bold;
text-decoration: none;
border-radius: 5px;
transition: background-color 0.3s, transform 0.2s;
text-align: center;
cursor: pointer;
}
.btn:hover {
transform: scale(1.05);
}
.retry {
background-color: #ffc107;
color: white;
}
.retry:hover {
background-color: #e0a800;
}
.home {
background-color: #28a745;
color: white;
}
.home:hover {
background-color: #218838;
}
a {
text-decoration: none;
}
</style>
</head>
<body>
<div class="payment-status">
<div class="status-container fail">
<h1>Payment Failed</h1>
<p>Something went wrong while processing your payment. Please try again later.</p>
<div class="buttons">
<a href="javascript:history.back()" class="btn retry">Retry</a>
<a href="/" class="btn home">Back to Home</a>
</div>
</div>
</div>
</body>
</html>