-
Notifications
You must be signed in to change notification settings - Fork 0
/
bewakoof_payment.html
332 lines (273 loc) · 13.9 KB
/
bewakoof_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
<!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>Online Fashion Shopping for Men,Women,Accessories-Bewakoof.com</title>
<link rel="shortcut icon" type="image/x-icon" href="https://images.bewakoof.com/web/favicon-1635856217.png"
hreflang="en-in">
<link rel="stylesheet" href="bewakoof_payment.css">
<!-- <link rel="stylesheet" href="dropdown.css"> -->
</head>
<body>
<!-- top section -->
<div id="header">
<div id="topsection">
<div id="firstdiv">
<div><a href="#">
<p>Offers</p>
</a></div>
<div><a href="#">
<p>Fanpage</p>
</a></div>
<div><img id="dwimg" src="https://img.icons8.com/fluency-systems-regular/344/iphone.png" alt="mobile"><a
href="#">
<p>Download App</p>
</a></div>
<div><a href="#">
<p>TriBe Membership</p>
</a></div>
</div>
<div id="lastdiv">
<div><a href="#">
<p>Contact Us</p>
</a></div>
<div><a href="#">
<p>Track Order</p>
</a></div>
</div>
</div>
<!-- navbar -->
<div id="navbar">
<div id="logo_and_page">
<div id="logo">
<img id="resp_menu" src="https://img.icons8.com/ios-filled/2x/menu--v4.gif" alt="">
<a href="index.html"><img src=" https://images.bewakoof.com/web/ic-desktop-pride-bwkf-logo.svg"
alt="">
<img id="resp_logo" src="https://images.bewakoof.com/web/ic-web-bwkf-logo-pride-.svg" alt="">
</a>
</div>
<div class="sections dropdown anim-link" id="men">
<a id="men" target="_blank" href="menspage.html">MEN</a>
<div class="dropdown-content">
<ul> <a href="menspage.html">Topwear</a>
<li><a href="menspage.html">Printed Shirts</a></li>
<li><a href="menspage.html">Over Sized Shirts</a></li>
<li><a href="#">Shirts</a></li>
<li><a href="#">VestS</a></li>
<li><a href="#">TShirts</a></li>
<li><a href="#">Kurtas</a></li>
</ul>
<ul> <a href="menspage.html">Bottomwear</a>
<li><a href="menspage.html">Poggers</a></li>
<li><a href="menspage.html">Payjams</a></li>
<li><a href="#">Shorts</a></li>
<li><a href="#">Jeans</a></li>
<li><a href="#">Denim</a></li>
<li><a href="#">Boxers</a></li>
</ul>
<ul> <a href="menspage.html">Sports&activewear</a>
<li><a href="menspage.html">Active TShirts</a></li>
<li><a href="menspage.html">Sports Shorts</a></li>
<li><a href="#">Clogs</a></li>
<li><a href="#">Flip-flops</a></li>
<li><a href="#">Casual Shoes</a></li>
</ul>
<hr>
<ul> <a href="menspage.html" id="spacial_ul">SPACIALS</a>
<li><a href="menspage.html"><img
src="https://images.bewakoof.com/nav_menu/OOFsale-CircleNavigation-168x168--revised-1654790782.png"
alt="">OFF Sale</a></li>
<li><a href="#"><img src="https://images.bewakoof.com/nav_menu/go-local-icon-1654622393.png"
alt="">Go local collection</a></li>
<li><a href="#"><img src="https://images.bewakoof.com/nav_menu/arena-icon-1652290108.png"
alt="">Arena collection</a></li>
<li><a href="#"><img src="https://images.bewakoof.com/nav_menu/coke-icon-1645251020.png"
alt="">Coca Colla collection</a></li>
</ul>
</div>
</div>
<div class="sections dropdown anim-link" id="women">
<a id="women" target="_blank" href="women.html"> WOMEN</a>
<div class="dropdown-content">
<ul> <a href="women.html">Topwear</a>
<li><a href="#">Printed Shirts</a></li>
<li><a href="#">Boyfriend TShirts</a></li>
<li><a href="#">Shirts</a></li>
<li><a href="#">Top</a></li>
<li><a href="#">OnePeace</a></li>
<li><a href="#">Kurtas</a></li>
</ul>
<ul> <a href="women.html">Bottomwear</a>
<li><a href="#">Poggers</a></li>
<li><a href="#">Payjams</a></li>
<li><a href="#">Shorts</a></li>
<li><a href="#">Jeans</a></li>
<li><a href="#">Denim</a></li>
<li><a href="#">Boxers</a></li>
</ul>
<ul> <a href="women.html">Footwear</a>
<li><a href="#">Sliders</a></li>
<li><a href="#">Slippers</a></li>
<li><a href="#">Clogs</a></li>
<li><a href="#">Flip-flops</a></li>
<li><a href="#">Casual Shoes</a></li>
</ul>
<hr>
<ul> <a href="women.html" id="spacial_ul">SPACIALS</a>
<li><a href="#"><img
src="https://images.bewakoof.com/nav_menu/OOFsale-CircleNavigation-168x168--revised-1654790782.png"
alt="">OFF Sale</a></li>
<li><a href="#"><img
src="https://images.bewakoof.com/nav_menu/Circle-icon-kpop-1654702057.png"
alt="">K Pop collection</a></li>
<li><a href="#"><img src="https://images.bewakoof.com/nav_menu/icon-regional-1652171530.png"
alt="">Regional collection</a></li>
<li><a href="#"><img src="https://images.bewakoof.com/nav_menu/coke-icon-1645251020.png"
alt="">Coca Colla collection</a></li>
</ul>
</div>
</div>
<div class="sections dropdown anim-link" id="mobile">
<a id="MOBILE_COVERS" target="_blank" href="cover.html"> MOBILE COVERS</a>
<div class="dropdown-content">
<ul> <a href="cover.html" Oneplus</a>
<li><a href="cover.html">Oneplus Nord</a></li>
<li><a href="#">Oneplus 9R</a></li>
<li><a href="#">Oneplus 9</a></li>
<li><a href="#">Oneplus 10</a></li>
</ul>
<ul> <a href="cover.html">Xiaomi </a>
<li><a href="#"> Xiaomi Mi 10i</a></li>
<li><a href="#"> Xiaomi Redmi Note 10</a></li>
<li><a href="#">Xiaomi Mi 11X Pro</a></li>
<li><a href="#">Xiaomi 5G </a></li>
<li><a href="#">Xiaomi 12 Pro 5G </a></li>
</ul>
<ul> <a href="cover.html">Apple</a>
<li><a href="#">Iphone 12</a></li>
<li><a href="#">Iphone 11</a></li>
<li><a href="#">Iphone 11pro</a></li>
<li><a href="#">Iphone XR</a></li>
<li><a href="#">Iphone X</a></li>
</ul>
<hr>
<ul> <a href="cover.html" id="spacial_ul">OTHERS BRANDS</a>
<li><a href="#">Oppo</a></li>
<li><a href="#">Infinix</a></li>
<li><a href="#">Moto</a></li>
<li id="span_see_all"><a href="#"><span style=" text-decoration: underline;">See all
devices</span></a></li>
</ul>
<a href="#"> <img id="mobile_cover_img"
src="https://images.bewakoof.com/nav_menu/bewakoof-online-fashion-COTM-mobile-cover-navigation-box-desktop-1612275399.jpg"
alt="mobile"></a>
</div>
</div>
</div>
<div id="login"><a id="login_text" href="login.html">Login</a>
</div>
</div>
</div>
<!-- main section****************************************************** -->
<div id="main">
<div>
<h2>Choose your payment method</h2>
<div id="box">
<div>
<div><img src="https://images.bewakoof.com/web/bank-card-fill-1645697857.svg" alt="">
<h3>Debit/Credit Card</h3>
</div>
<hr>
<div><img src="https://images.bewakoof.com/web/Group-1645705428.png" alt="">
<h3>Wallet</h3>
</div>
<hr>
<div><img src="https://images.bewakoof.com/web/upi-icon-1645705429.png" alt="">
<h3>UPI</h3>
</div>
<hr>
<div><img src="https://images.bewakoof.com/web/upi-icon-1645705429.png" alt="">
<h3>Cash On delivery</h3>
</div>
<hr>
</div>
<hr>
<div>
<div id="card_img"><img src="https://images.bewakoof.com/web/ic-visa-gray-payment-v1.jpg" alt="">
<img src="https://images.bewakoof.com/web/ic-master-card-payment-v1.jpg" alt="">
<img src="https://images.bewakoof.com/web/ic-rupay-payment-v1.jpg" alt="">
</div>
<hr>
<form>
<label>CARD NUMBER</label>
<input type="text/number" maxlength="16" id="cardnumber" placeholder="Enter Card Number" />
<label for="date">EXP DATE</label>
<input id="date" type="date" placeholder="valid till" />
<label for="cvv">CVV</label>
<input type="password" maxlength="4" id="cvv" placeholder="CVV">
<label for="name">NAME</label>
<input type="text" id="name" placeholder="Enter card holder name">
<input id="pay" type="submit">
<!-- <button>PAY</button> -->
<label id="hint">Hint:CN:1234567891234567 Pass:1234
</label>
</form>
</div>
</div>
</div>
<hr>
<div id="show_details">
<p>Delevering Order To</p>
<h4 id="show_address">Add</h4>
<hr>
<h2>Price Summary</h2>
<hr>
<h4>Final Amount</h4>
<p id="showtotal">0</p>
</div>
</div>
</body>
</html>
<script>
let addArr = JSON.parse(localStorage.getItem("address"));
addArr.map(function (ele) {
console.log(addArr)
let address = document.getElementById("show_address").innerText = ele.name + " " + ele.mobile + " " + ele.city + " " + ele.state + " - " + ele.pincode;
})
document.querySelector("form").addEventListener("submit", checkcard);
let amout = JSON.parse(localStorage.getItem("pricestore"))
amout.map(function (el) {
document.querySelector("#showtotal").innerText = el.total;
})
let loadcard = JSON.parse(localStorage.getItem("savedcard"))
function checkcard(event) {
event.preventDefault();
let cardno = document.querySelector("#cardnumber").value;
let date = document.querySelector("#date").value;
let cvv = document.querySelector("#cvv").value;
let name = document.querySelector("#name").value;
if (cardno == "" || date == "" || cvv == "" || name == "") {
alert("Please Fill all Details")
} else {
loadcard.map(function (elem) {
if (elem.cardNo == cardno && elem.cvv == cvv) {
alert("OTP Send on your Mobile");
window.location.href = "otp_payment.html";
}
else {
alert("Please enter All details Correctly")
}
})
}
}
let savedcard = [
{ cardNo: 1234567891234567, date: 2025, cvv: 1234 }
]
localStorage.setItem("savedcard", JSON.stringify(savedcard))
let Namearr = JSON.parse(localStorage.getItem("username"));
Namearr.map(function (ele) {
document.getElementById("login_text").innerText = ele.name;
})
</script>