forked from arunksv3/Paytm_Web_Sample_Kit_PHP
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathkart.php
133 lines (112 loc) · 6.47 KB
/
kart.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
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
<!------ Include the below in your HEAD tag ---------->
<?php
include "include/head.php";
?>
<!------ Include the above in your HEAD tag ---------->
<body>
<?php
date_default_timezone_set("Asia/Kolkata"); //India time (GMT+5:30)
$timestamp = date('d-m-Y H:i:s');
header("Pragma: no-cache");
header("Cache-Control: no-cache");
header("Expires: 0");
?>
<!-- Image and text -->
<div class="container">
<div class="row" style="margin-top:50px;">
<!------ Include the below in your NAV tag ---------->
<?php
include "include/nav.php";
?>
<!------ Include the above in your NAV tag ---------->
<div class="well col-xs-10 col-sm-10 col-md-6 col-xs-offset-1 col-sm-offset-1 col-md-offset-3">
<form method="post" action="pgRedirect.php">
<div class="row">
<div class="col-xs-6 col-sm-6 col-md-6">
<address>
<strong><i class="fab fa-youtube text-danger" ></i> Codelone</strong>
<br>
<i class="fab fa-instagram text-default" ></i> instagram.com/<strong>code_lone/</strong>
<br> <br>
<small><i class="fas fa-info-circle" ></i> If you have specific video request then you may comment or message me on instagam.</small>
</address>
</div>
<div class="col-xs-6 col-sm-6 col-md-6 text-right">
<p>
<em>Date: <?php echo date("jS F, Y", strtotime($timestamp)); ?></em>
</p>
<p>
<em>ORDER-ID #: <input id="ORDER_ID" tabindex="1" maxlength="20" size="11" style="border: none;background: #f5f5f5"
name="ORDER_ID" autocomplete="off"
value="<?php echo "ORDS" . rand(10000,99999999)?>"></em>
</p>
<p>
<em>CUST-ID #: <input id="CUST_ID" tabindex="1" maxlength="20" size="11" style="border: none;background: #f5f5f5"
name="CUST_ID" autocomplete="off"
value="<?php echo "CUST" . rand(10000,99999999)?>"></em>
</p>
</div>
</div>
<div class="row">
<div class="text-center">
<h1>Standard Checkout</h1>
</div>
</span>
<table class="table table-hover">
<thead>
<tr>
<th>Product</th>
<th>Q</th>
<th class="text-center">Price</th>
<th class="text-center">Total</th>
</tr>
</thead>
<tbody>
<tr>
<td class="col-md-9"><em>Item 1</em></h4></td>
<td class="col-md-1" style="text-align: center"> 2 </td>
<td class="col-md-1 text-center">Rs.13</td>
<td class="col-md-1 text-center">Rs.26</td>
</tr>
<tr>
<td class="col-md-9"><em>Item 2</em></h4></td>
<td class="col-md-1" style="text-align: center"> 1 </td>
<td class="col-md-1 text-center">Rs.8</td>
<td class="col-md-1 text-center">Rs.8</td>
</tr>
<tr>
<td class="col-md-9"><em>Item 3</em></h4></td>
<td class="col-md-1" style="text-align: center"> 3 </td>
<td class="col-md-1 text-center">Rs.16</td>
<td class="col-md-1 text-center">Rs.48</td>
</tr>
<tr>
<td> </td>
<td> </td>
<td class="text-right">
<p>
<strong>Tax: </strong>
</p></td>
<td class="text-center">
<p>
<strong>Rs.6.94</strong>
</p></td>
</tr>
<tr>
<td><input type="hidden" id="INDUSTRY_TYPE_ID" tabindex="4" maxlength="12" size="12" name="INDUSTRY_TYPE_ID" autocomplete="off" value="Retail"> </td>
<td><input type="hidden" id="CHANNEL_ID" tabindex="4" maxlength="12" size="12" name="CHANNEL_ID" autocomplete="off" value="WEB"> </td>
<td class="text-right"><h4><strong>Total: </strong></h4></td>
<td class="text-center text-danger">
<h4><strong><input title="TXN_AMOUNT" tabindex="10" type="text" name="TXN_AMOUNT" value="88.94" size="3" style="border: none;background: #f5f5f5" ></strong></h4>
</td>
</tr>
</tbody>
</table>
<button type="submit" value="CheckOut" class="btn btn-success btn-lg btn-block">
Pay Now <span class="glyphicon glyphicon-chevron-right"></span>
</button></td>
</div>
</form>
</div>
</div>
</body>