-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpayment.html
155 lines (149 loc) · 9.87 KB
/
payment.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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="./Styles/payment.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.bundle.min.js">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.1/css/all.css">
</head>
<body>
<div class="wrapper">
<h1></h1>
<div><span class="dot"></span></div>
<div><span class="dot"></span></div>
<div><span class="dot"></span></div>
<div><span class="dot"></span></div>
<div><span class="dot"></span></div>
<div><span class="dot"></span></div>
<div><span class="dot"></span></div>
<div><span class="dot"></span></div>
<div><span class="dot"></span></div>
<div><span class="dot"></span></div>
<div><span class="dot"></span></div>
<div><span class="dot"></span></div>
<div><span class="dot"></span></div>
<div><span class="dot"></span></div>
<div><span class="dot"></span></div>
</div>
<div id="body">
<div class="container py-5">
<!-- For demo purpose -->
<div class="row mb-4">
<div class="col-lg-8 mx-auto text-center">
<h1 class="display-6">Payment Gate way</h1>
</div>
</div> <!-- End -->
<div class="row">
<div class="col-lg-6 mx-auto" id="payment">
<div class="card ">
<div class="card-header">
<div class="bg-white shadow-sm pt-4 pl-2 pr-2 pb-2">
<!-- Credit card form tabs -->
<ul role="tablist" class="nav bg-light nav-pills rounded nav-fill mb-3">
<li class="nav-item"> <a data-toggle="pill" href="#credit-card"
class="nav-link active "> <i class="fas fa-credit-card mr-2"></i> Credit
Card </a> </li>
<li class="nav-item"> <a data-toggle="pill" onclick="change" href="#paypal" class="nav-link "> <i
class="fab fa-paypal mr-2"></i> Paypal </a> </li>
<li class="nav-item"> <a data-toggle="pill" href="#net-banking" class="nav-link ">
<i class="fas fa-mobile-alt mr-2"></i> Net Banking </a> </li>
</ul>
</div> <!-- End -->
<!-- Credit card form content -->
<div class="tab-content">
<!-- credit card info-->
<div id="credit-card" class="tab-pane fade show active pt-3">
<form role="form" onsubmit="event.preventDefault()">
<div class="form-group"> <label for="username">
<h6>Card Owner</h6>
</label> <input type="text" id="name" name="username" placeholder="Card Owner Name"
required class="form-control "> </div>
<div class="form-group"> <label for="cardNumber">
<h6>Card number</h6>
</label>
<div class="input-group"> <input type="text" id="Card" name="cardNumber"
placeholder="Valid card number" class="form-control " required>
<div class="input-group-append"> <span
class="input-group-text text-muted"> <i
class="fab fa-cc-visa mx-1"></i> <i
class="fab fa-cc-mastercard mx-1"></i> <i
class="fab fa-cc-amex mx-1"></i> </span> </div>
</div>
</div>
<div class="row">
<div class="col-sm-8">
<div class="form-group"> <label><span class="hidden-xs">
<h6>Expiration Date</h6>
</span></label>
<div class="input-group"> <input type="number" placeholder="MM"
name="" class="form-control" required> <input type="number"
placeholder="YY" id="Edate" name="" class="form-control" required>
</div>
</div>
</div>
<div class="col-sm-4">
<div class="form-group mb-4"> <label data-toggle="tooltip"
title="Three digit CV code on the back of your card">
<h6>CVV <i class="fa fa-question-circle d-inline"></i></h6>
</label> <input type="text" id="cvv" required class="form-control"> </div>
</div>
</div>
<div class="card-footer"> <button type="button"
class="subscribe btn btn-primary btn-block shadow-sm" id="payBtn"> Confirm Payment
</button>
</form>
</div>
</div> <!-- End -->
<!-- Paypal info -->
<div id="paypal" class="tab-pane fade pt-3">
<h6 class="pb-2">Select your paypal account type</h6>
<div class="form-group "> <label class="radio-inline"> <input type="radio"
name="optradio" checked> Domestic </label> <label class="radio-inline">
<input type="radio" name="optradio" class="ml-5">International </label></div>
<p> <button type="button" class="btn btn-primary "><i class="fab fa-paypal mr-2"></i>
Log into my Paypal</button> </p>
<p class="text-muted"> Note: After clicking on the button, you will be directed to a
secure gateway for payment. After completing the payment process, you will be
redirected back to the website to view details of your order. </p>
</div> <!-- End -->
<!-- bank transfer info -->
<div id="net-banking" class="tab-pane fade pt-3">
<div class="form-group "> <label for="Select Your Bank">
<h6>Select your Bank</h6>
</label> <select class="form-control" id="ccmonth">
<option value="" selected disabled>--Please select your Bank--</option>
<option>Bank 1</option>
<option>Bank 2</option>
<option>Bank 3</option>
<option>Bank 4</option>
<option>Bank 5</option>
<option>Bank 6</option>
<option>Bank 7</option>
<option>Bank 8</option>
<option>Bank 9</option>
<option>Bank 10</option>
</select> </div>
<div class="form-group">
<p> <button type="button" class="btn btn-primary "><i
class="fas fa-mobile-alt mr-2"></i> Proceed Payment</button> </p>
</div>
<p class="text-muted">Note: After clicking on the button, you will be directed to a
secure gateway for payment. After completing the payment process, you will be
redirected back to the website to view details of your order. </p>
</div> <!-- End -->
<!-- End -->
</div>
</div>
</div>
</div>
</div>
<span class="notification" id="added"> ✅ Succesfully Order </span>
<span class="notification" id="already"> ❌ Payment Failed</span>
</body>
<script src="./scripts/payment.js"></script>
</html>