-
Notifications
You must be signed in to change notification settings - Fork 105
/
payment.html
384 lines (370 loc) · 21.9 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
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
<!DOCTYPE html>
<html>
<head>
<title>Apni Dukaan</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="./static/style.css">
<link rel="icon" href="./Images/favicon.ico" type="image/x-icon">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Yanone+Kaffeesatz&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@300;400;500&display=swap" rel="stylesheet">
<script src="https://kit.fontawesome.com/60fedd8558.js" crossorigin="anonymous"></script>
<!-- Bootstrap CSS -->
<script src="https://kit.fontawesome.com/60fedd8558.js" crossorigin="anonymous"></script>
<title>Apni Dukaan</title>
</head>
<body>
<section>
<nav class="navbar navbar-expand-lg navbar-light" style="background: #2980b9;">
<div class="container-fluid">
<a class="navbar-brand" href="./index.html">
<img src="Images\Logo\ApniDukan.png" alt="logo" width="45" height="35" class="d-inline-block align-text-top mr-2 navbar-logo">
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav ms-auto mb-2 mb-lg-0 text-capitalize">
<ul class="navbar-nav mr-auto mb-2 mb-lg-0 text-capitalize">
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="./home.html">Home</a>
</li>
<li class="nav-item text-capitalize">
<a class="nav-link" href="./offers.html">Offers</a>
</li>
<li class="nav-item text-capitalize">
<a class="nav-link" href="./contactus.html">Contact us</a>
</li>
<li class="nav-item text-capitalize">
<a class="nav-link" href="login.html">Login</a>
</li>
<li class="nav-item text-capitalize">
<a class="nav-link" href="./about.html">About us</a>
</li>
<li class="nav-item text-capitalize">
<a class="nav-link" href="faq.html">FAQ</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
Category
</a>
<ul class="dropdown-menu" aria-labelledby="navbarDropdown">
<li><a class="dropdown-item" href="./mobile.html">Mobile</a></li>
<li><a class="dropdown-item" href="./books.html">Books</a></li>
<li><a class="dropdown-item" href="./">TV/Appliances</a></li>
<li><a class="dropdown-item" href="./furniture.html">Furniture</a></li>
<li><a class="dropdown-item" href="#">Baby/Kids</a></li>
<li><a class="dropdown-item" href="./stationery.html">Stationery</a></li>
<li>
<hr class="dropdown-divider">
</li>
<li><a class="dropdown-item" href="./login.html">Login/Signup</a></li>
</ul>
</li>
<li class="nav-item text-capitalize">
<a class="nav-link" href="cart.html">My Cart</a>
</li>
</ul>
<form class="d-flex">
<input class="form-control me-2" type="search" placeholder="Search" aria-label="Search">
<button class="btn btn-outline-dark" type="submit">Search</button>
</form>
</div>
</div>
</nav>
</section>
<section>
<div style="margin:20px 20px;" class="row">
<div style="padding:20px 30px;box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;margin-right: 20px;margin-left: 35px;width: 58% !important;" class="col-md-7 box-sz">
<h3 class="mid1-sz" style="font-weight: 450!important;padding: 0px!important">Select a Payment Method</h3>
<div style="border:1px solid #E2E5DE;padding:10px 20px;margin-top: 15px">
<div style="border-bottom:1px solid #E2E5DE " class="row">
<div class="col-md-6">
<p style="font-size: 17px!important;font-weight: 500!important">Your saved debit and credit cards</p>
</div>
<div class="col-md-3">
<p style="font-size: 17px!important;font-weight: 500!important">Name on Card</p>
</div>
<div class="col-md-3">
<p style="font-size: 17px!important;font-weight: 500!important">Expiry Date</p>
</div>
</div>
<div class="cards-users">
</div>
<p style="font-size: 17px!important;font-weight: 500!important;margin-top: 15px;border-bottom:1px solid #E2E5DE;padding-bottom: 17px ">Another Payment Methods</p>
<div class="form-check">
<input id="card" class="form-check-input" type="radio" name="flexRadioDefault" id="flexRadioDefault1">
<label style="font-size:14px!important" class="form-check-label" for="flexRadioDefault1">
<span style="font-weight: 500!important">Add Debit/Credit/ATM Card</span><br><img style="height:23px;margin-left: 5px" src="Images/rupay.jpg"><img style="height:23px;" src="Images/visa.jpg"><img style="height:23px;" src="Images/mastercard.jpg"><img style="height:23px;" src="Images/maestro.png"><img style="height:23px;" src="Images/bajaj.jpg">
</label>
<div style="margin-top: 20px;margin-bottom: 15px" class="cvv">
<span style="font-size:14px!important;margin-left: 5px;font-weight: 500!important">Card Number : </span>
<input id="card-number" style="width: 305px" type="text" required>
<br>
<div style="margin-top: 15px">
<span style="font-size:14px!important;margin-left: 5px;font-weight: 500!important;">Name on Card : </span>
<input id="card-name" style="width: 150px" type="text" required>
<span style="font-size:14px!important;margin-left: 20px;font-weight: 500!important;">Expires : </span>
<input id="card-expiry" style="width: 70px" type="text" required>
</div>
<button id="card-submit" type="button" class="btn btn-sm btn-warning">Add Card</button>
<br>
</div>
</div>
<div style="margin-top: 24px" class="form-check">
<input id="upi" class="form-check-input" type="radio" name="flexRadioDefault" id="flexRadioDefault1">
<label style="font-size:14px!important" class="form-check-label" for="flexRadioDefault1">
<span style="font-weight: 500!important">UPI</span><br><img style="height:23px;margin-left: 5px" src="Images/gpay.jpg"><img style="height:23px;" src="Images/phonepe.jpg"><img style="height:23px;margin-left: 7px" src="Images/paytm.jpg"><img style="height:23px;margin-left: 7px" src="Images/mobikwik.png">
</label>
<div style="margin-top: 20px!important" class="cvv">
<span style="font-size:14px!important;margin-left: 5px;font-weight: 500!important">Enter UPI Id : </span>
<input style="width: 180px" type="text" placeholder="MobileNumber@upi" required>
<br>
<button type="button" class="btn btn-sm btn-warning">Verify</button>
<br>
</div>
</div>
<div style="margin-top: 24px" class="form-check">
<input id="net" class="form-check-input" type="radio" name="flexRadioDefault" id="flexRadioDefault1">
<label class="form-check-label" for="flexRadioDefault1">
Net Banking
<br>
<select style="margin-top: 15px" class="form-select" aria-label="Disabled select example">
<option selected>Choose a Bank</option>
<option value="1">HDFC Bank</option>
<option value="2">Bank Of Baroda</option>
<option value="3">Axis Bank</option>
<option value="4">ICICI Bank</option>
<option value="5">Kotak Bank</option>
</select>
</label>
</div>
<div style="margin-top: 24px" class="form-check">
<input id="emi" class="form-check-input" type="radio" name="flexRadioDefault" id="flexRadioDefault1">
<label class="form-check-label" for="flexRadioDefault1">
EMI
</label>
</div>
<div style="margin-top: 24px" class="form-check">
<input id="cod" class="form-check-input" type="radio" name="flexRadioDefault" id="flexRadioDefault1">
<label class="form-check-label" for="flexRadioDefault1">
Cash on Delivery
</label>
</div>
</div>
</div>
<div style="width: 36% !important;" class="col-md-4">
<div class="box-sz" style="padding:20px 30px;box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;">
<h3 class="mid1-sz" style="font-weight: 450!important;padding: 0px!important">Total Amount</h3>
<div class="box1-sz" style="margin-top: 15px;padding: 15px 0px;border-top:1.5px solid #E2E5DE">
<p class="mid3-sz" style="color:#058552"><i class="fa fa-check-circle" aria-hidden="true"></i> Your order is eligible for FREE Delivery.</p>
<div>
<h5 class="mid2-sz" style="font-weight: 500!important;margin:0!important;float: left;">Item Total: </h5>
<h5 class="mid2-sz" style="font-weight: 400!important;margin:0!important;float: right;"><i class="fa fa-inr" aria-hidden="true"></i> <span id="total">40000</span></h5>
</div>
<br>
<div class="df-sz" style="margin-top: 15px">
<h5 class="mid2-sz" style="font-weight: 500!important;margin:0!important;float: left;">Taxes & Charges: </h5>
<h5 class="mid2-sz" style="font-weight: 400!important;margin:0!important;float: right;"><i class="fa fa-inr" aria-hidden="true"></i> <span>100</span></h5>
</div>
<br>
<div class="box1-sz" style="margin-top: 15px;padding: 15px 0px;border-top:1.5px solid #E2E5DE">
<h5 class="mid2-sz" style="font-weight: 500!important;margin:0!important;float: left;">To Pay: </h5>
<h5 class="mid2-sz" style="font-weight: 400!important;margin:0!important;float: right;"><i class="fa fa-inr" aria-hidden="true"></i> <span id="totaltopay">41000</span></h5>
</div>
<br>
<div style="display: flex;justify-content: center;">
<a class="btn btn-success" href="https://rzp.io/l/fT8PgCx" role="button">Buy Now</a>
</div>
</div>
</div>
<div class="box-sz" style="padding:20px 30px;box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;margin-top: 20px">
<h5 class="mid2-sz" style="font-weight: 500!important;margin:0!important;color:#058552"><i class="fa fa-envelope" aria-hidden="true"></i> Offers</h5>
<div style="margin-top: 15px">
<span style="font-weight: 500">5% Unlimited Cashback on Apni Dukaan Axis Credit Card</span>
<br>
<span style="color:blue">T&C</span>
</div>
<div style="margin-top: 15px">
<span style="font-weight: 500">Flat Rs.100 off on First Apni Dukaan Pay Later App</span>
<br>
<span style="color:blue">T&C</span>
</div>
</div>
<h5 class="mid2-sz" style="font-weight: 500!important;margin:0!important;color:grey;margin-top: 25px!important;margin-left:20px!important"><i style="margin-right: 7px" class="fa fa-shield" aria-hidden="true"></i> Safe and Secure Payments. Easy returns. 100% Authentic products.</h5>
</div>
</div>
</section>
<footer class="bg-dark text-white pt-5 pb-4" style="font-size: 18px;">
<div class="container text-md-left">
<div class="row text-md-left">
<div class="col mt-3" style="color:#808080;">
<h5 class="text-uppercase mb-4 font-weight-bold md-sz">Get to know us</h5>
<p>
<a href="./about.html" class="text-white" style="text-decoration: none;">About us</a>
</p>
<p>
<a href="./career.html" class="text-white" style="text-decoration: none;">Careers</a>
</p>
<p>
<a href="" class="text-white" style="text-decoration: none;">Press releases</a>
</p>
<p>
<a href="./cares.html" class="text-white" style="text-decoration: none;">Apni Dukaan cares</a>
</p>
<p>
<a href="./Partner Stores.html" class="text-white" style="text-decoration: none;">Our Partners</a>
</p>
</div>
<div class="col mt-3" style="color:#808080;">
<h5 class="text-uppercase mb-4 font-weight-bold md-sz">Let us help you</h5>
<p>
<a href="./paypolicy.html" class="text-white" style="text-decoration: none;">Payments</a>
</p>
<p>
<a href="./shippolicy.html" class="text-white" style="text-decoration: none;">Shipping</a>
</p>
<p>
<a href="" class="text-white" style="text-decoration: none;">Cancellation and Returns</a>
</p>
<p>
<a href="" class="text-white" style="text-decoration: none;">Report an issue</a>
</p>
<p>
<a href="./contactus.html" class="text-white" style="text-decoration: none;">Contact us</a>
</p>
</div>
<div class="col mt-3" style="color:#808080;">
<h5 class="text-uppercase mb-4 font-weight-bold md-sz">Policy</h5>
<p>
<a href="" class="text-white" style="text-decoration: none;">Return policy</a>
</p>
<p>
<a href="" class="text-white" style="text-decoration: none;">Time of use</a>
</p>
<p>
<a href="./privacy.html" class="text-white" style="text-decoration: none;">Privacy</a>
</p>
</div>
<div class="col mt-3" style="color:#808080;">
<h5 class="text-uppercase mb-4 font-weight-bold md-sz">Make money with us</h5>
<p>
<a href="" class="text-white" style="text-decoration: none;">Sell on Apni Dukaan</a>
</p>
<p>
<a href="" class="text-white" style="text-decoration: none;">Advertise your products</a>
</p>
<p>
<a href="./Partner Stores.html" class="text-white" style="text-decoration: none;">Become our partner</a>
</p>
<p>
<a href="" class="text-white" style="text-decoration: none;">Join our mission</a>
</p>
</div>
<div class="col mt-3" style="color:#808080;">
<div>
<h5 class="text-uppercase mb-4 font-weight-bold md-sz">Connect with us</h5>
<p>
<a href="https://www.facebook.com" class="text-white" style="text-decoration: none;">
<i class="fab fa-facebook-square"></i>
Facebook
</a>
</p>
<p>
<a href="https://twitter.com" class="text-white" style="text-decoration: none;">
<i class="fab fa-twitter-square"></i>
Twitter
</a>
</p>
<p>
<a href="https://instagram.com" class="text-white" style="text-decoration: none;">
<i class="fab fa-instagram-square"></i>
Instagram
</a>
</p>
</div>
</div>
</div>
<hr class="mb-4">
<div class="row align-items-center">
<div class="text-center">
Copyright © and ® Since 2020 Under ApniDukaan.com | Qazi Maaz Arshad
</div>
</div>
</div>
</footer>
<!-- scroll to top button -->
<button id = "btnScrollToTop">
<i class="material-icons">arrow_upward</i>
</button>
<script>
const btnScrollToTop = document.querySelector("#btnScrollToTop");
btnScrollToTop.addEventListener("click", function () {
window.scrollTo(0,0); }
);
</script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous"></script>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
crossorigin="anonymous"></script>
<script>
var cards=[{'number':'4362436245735921','name':'Ram Sharma','expires':'11/24'},{'number':'8764324645374547','name':'Vikas Sharma','expires':'08/24'},{'number':'4362436245739874','name':'Ishant Sharma','expires':'04/24'}];
for(let i=0;i<cards.length;i++){
$('.cards-users').append('<div style="margin-top: 12px" class="row"><div class="col-md-6"><div class="form-check"><input class="form-check-input cards-ids" type="radio" name="flexRadioDefault" id="flexRadioDefault1"><label style="font-size:14px!important" class="form-check-label" for="flexRadioDefault1"><span style="font-weight: 500!important">Bank of Baroda Debit Card</span> ending in '+cards[i].number.substring(12,16)+'<img style="height:23px;margin-left: 5px" src="Images/rupay.jpg"></label></div></div><div class="col-md-3"><p style="font-size:14px!important;color:grey">'+cards[i].name+'</p></div><div class="col-md-3"><p style="font-size:14px!important;color:grey">'+cards[i].expires+'</p></div><div class="cvv"><span style="font-size:14px!important;margin-left: 25px;font-weight: 500!important">Enter CVV : </span><input style="width: 80px" type="text" required></div></div>');
}
$('.cvv').each(function(){
$(this).hide();
})
$(document).on('click','.cards-ids',function(){
$('.cvv').each(function(){
$(this).hide();
});
$(this).parent('div').parent('div').parent('div').children('.cvv').show();
});
$("#card").on('click',function(){
$('.cvv').each(function(){
$(this).hide();
});
$(this).parent('div').children('.cvv').show();
});
$("#upi").on('click',function(){
$('.cvv').each(function(){
$(this).hide();
});
$(this).parent('div').children('.cvv').show();
});
$("#emi").on('click',function(){
$('.cvv').each(function(){
$(this).hide();
});
});
$("#cod").on('click',function(){
$('.cvv').each(function(){
$(this).hide();
});
});
$("#net").on('click',function(){
$('.cvv').each(function(){
$(this).hide();
});
});
$('#card-submit').on('click',function(){
var obj={'name':' ','number':' ','expires':' '};
obj.number=$('#card-number').val();
obj.name=$('#card-name').val();
obj.expires=$('#card-expiry').val();
$('#card-number').val('');
$('#card-name').val('');
$('#card-expiry').val('');
$('.cards-users').append('<div style="margin-top: 12px" class="row"><div class="col-md-6"><div class="form-check"><input class="form-check-input cards-ids" type="radio" name="flexRadioDefault" id="flexRadioDefault1"><label style="font-size:14px!important" class="form-check-label" for="flexRadioDefault1"><span style="font-weight: 500!important">Bank of Baroda Debit Card</span> ending in '+obj.number.substring(12,16)+'<img style="height:23px;margin-left: 5px" src="Images/rupay.jpg"></label></div></div><div class="col-md-3"><p style="font-size:14px!important;color:grey">'+obj.name+'</p></div><div class="col-md-3"><p style="font-size:14px!important;color:grey">'+obj.expires+'</p></div><div class="cvv"><span style="font-size:14px!important;margin-left: 25px;font-weight: 500!important">Enter CVV : </span><input style="width: 80px" type="text" required></div></div>');
cards.push(obj);
$('.cvv').each(function(){
$(this).hide();
});
})
</script>
</body>
</html>