-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapireciept.php
39 lines (35 loc) · 954 Bytes
/
apireciept.php
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
<?php
include("config.php");
$_trans_id = $_POST["trans_id"];
$codeText = $_rrrr = $_POST["rrrr"];
$productData= new productsData();
$_id = $_SESSION["productID"];
$productData->getDataValues($_id);
?>
<html>
<head>
<title></title>
</head>
<body>
<a href="index.php"><input type="button" value="HOME" > </a>
<div style="text-align: center;">
<h2>Transaction Successful</h2>
<p><b>Remita Retrieval Reference (RRR): </b><?php echo $_rrrr; ?><p>
<br/>
<p><b>Order ID: </b><?php echo $_trans_id; ?><p>
<br>
<br>
<div>
<img src="<?php echo "rqcodelog/rq".$_trans_id.".png"; ?>" width=140 />
</div>
<br/>
<br/>
<p><b>Thanks for shopping with us </b><p>
<p><b>Date: </b><?php echo date("d M, Y @ H:i:s"); ?><p>
</div>
</body>
<script>
//Print wait of 1seconds
setTimeout(function(){window.print()},1000)
</script>
</html>