-
Notifications
You must be signed in to change notification settings - Fork 0
/
pay.html
45 lines (39 loc) · 1.55 KB
/
pay.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Bootstrap Example</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>
<div class="container">
<center>
<div class="alert alert-success alert-dismissable" padding=140px>
<!--<a href="#" class="close" data-dismiss="alert" aria-label="close">X</a>-->
<h1> <strong><B>PAYMENT SUCCESSFUL!</B></strong></h1>
</div>
<img src="./check-mark-1292787_1280.png" height=180px width=200px>
</center>
</div>
<div>
<div id="details"></div>
<div id="time"></div>
<script>
function makeid() {
var text = "";
var possible = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
for (var i = 0; i < 10; i++)
text += possible.charAt(Math.floor(Math.random() * possible.length));
return text;
}
document.getElementById('details').innerHTML="<center><h4><b>Transaction ID:<b><h4> " + makeid() + "</center>";
var d=new Date().toLocaleTimeString();
document.getElementById('time').innerHTML+="<br><center><h5>Time of Transaction: " + d + "<h5></center><br>";
</script>
<center><a href="./qr code/QR_BarCode1.php">Get QrCode</a></center>;
<center><a href="./Nexmo/1.php">Send SMS</a></center>";
</body>
</html>