-
Notifications
You must be signed in to change notification settings - Fork 1
/
pay.php
93 lines (65 loc) · 3.05 KB
/
pay.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
<html>
<head>
<title> Payment Gateway </title>
<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<link href="style.css" rel="stylesheet">
<style>
.amt
{
display:none;
}
</style>
</head>
<body>
<div class="container">
<div class="row">
<div class="col-xs-12 col-md-6">
<ul class="nav nav-pills nav-stacked ">
<li class="active">
<a><span class="badge pull-right">Rs. <?php echo $_POST["amount"]; ?></span>Amount to be paid:</a>
</li>
</ul>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">
Payment Details
</h3>
</div>
<div class="panel-body">
<form role="form" action="fetch.php" method="POST">
<div class="form-group">
<div class="input-group">
<input type="number" onKeyPress="if(this.value.length==16) return false;" class="form-control" name= "cardno" id="cardNumber" placeholder="Card Number"
required autofocus />
<span class="input-group-addon"><span class="glyphicon glyphicon-lock"></span></span>
</div>
</div>
<div class="row">
<div class="col-xs-7 col-md-7">
<div class="form-group">
<div class="col-xs-6 col-lg-6 pl-ziro">
<input type="number" onKeyPress="if(this.value.length==2) return false;" class="form-control" name="mm" id="expityMonth" placeholder="MM" required />
</div>
<div class="col-xs-6 col-lg-6 pl-ziro">
<input type="number" onKeyPress="if(this.value.length==2) return false;" class="form-control" name="yy" id="expityYear" placeholder="YY" required /></div>
</div>
</div>
<div class="col-xs-5 col-md-5 pull-right">
<div class="form-group">
<input type="password" onKeyPress="if(this.value.length==3) return false;" class="form-control" name="cvv" id="cvCode" placeholder="CVV" required />
</div>
</div>
</div>
<input type="integer" name="amt" class="amt" value="<?php echo $_POST["amount"]; ?>">
<button class="btn btn-success col-xs-11" type="Submit">Pay</button>
</form>
</div>
</div>
</div>
</div>
</div>
</body>
</html>