forked from LaxyaRupeja/Stylio-Ecommerce-App
-
Notifications
You must be signed in to change notification settings - Fork 0
/
payment.html
293 lines (256 loc) · 12.7 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
<!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">
<link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon">
<title>Payment</title>
<link rel="stylesheet" href="./styles/payment.css">
<link rel="stylesheet" href="./styles/footer.css">
</head>
<body>
<div class="header-container">
<header>
<div class="logo-box">
<img class="logo-img" src="./images/logo.png" alt="">
</div>
<div class="nav">
<img src="./images/three.PNG" alt="">
</div>
</header>
</div>
<!--------------SignIn box start ---------->
<!--------------SignIn box end ------------>
<div class="container">
<!-- --------------------------RIGTH---------------------->
<div class="right">
<!------------------------DISCOUNT-CONTAINER------------->
<div class="discount-container">
<div class="discount-box-1">
<img src="https://assets.ajio.com/medias/sys_master/root/h83/hcb/32873406431262/71x21.jpg" alt="">
<p>Get instant discount of 10 Percent up to Rs 2000 on a minimum transaction value of Rs 4000 using
Citi cards <span>T&C</span></p>
</div>
<div class="discount-box-2">
<img src="https://assets.ajio.com/medias/sys_master/root/h7b/h20/32884357529630/71x21.jpg" alt="">
<p>Get 5% Instant Cashback on all Credit and Debit Cards <span>T&C</span></p>
</div>
</div>
<!------------------------DISCOUNT-CONTAINER-END------------->
<div class="view-expansion">View 3 More</div>
<!-- -------------------PAYMENTBOX-------------------->
<div class="payment-heading">Select Payment Mode</div>
<div class="payment-container">
<div class="payment-box-1">
<div id="box1" class="box selected-tab" onclick="showMethod('box1','credit')"> Credit/ Debit Card
</div>
<div id="box2" class="box" onclick="showMethod('box2','net-banking')"> NetBanking </div>
<div id="box3" class="box" onclick="showMethod('box3','wallet')"> Wallet </div>
<div id="box4" class="box" onclick="showMethod('box4','upi')"> UPI </div>
<div id="box5" class="box" onclick="showMethod('box5','cashOnDelivery')"> Cash on Delivery </div>
</div>
<div id="credit" class="payment-box-2 credit selected-box">
<div class="pay-head">Add New Card</div>
<p id="payWarning"></p>
<div class="pay-sub-head">Card Number</div>
<div> <input class="payment-box-input" id="cardNumber" type=""></div>
<div class="pay-sub-head">Name on Card</div>
<div><input class="payment-box-input" id="holderName" type="text"></div>
<div>
<div class="pay-sub-head">Expiration Date</div>
<div class="pay-sub-head">CVV <span>(What's This?)</span></div>
</div>
<div>
<div><select>
<option> Month</option>
<option>Jan (1)</otion>
<option>Feb (2)</option>
<option>Mar (3)</option>
<option>Apr (4)</option>
<option>May (5)</option>
<option>june (6)</option>
<option>july (7)</option>
<option>Aug (8)</option>
<option>Sept (9)</option>
<option>Oct (10)</option>
<option>Nov (11)</option>
<option>Dec (12)</option>
</select></div>
<div><select name="year" id="year">
<option value="2021">Year</option>
<option value="2023">2023</option>
<option value="2024">2024</option>
<option value="2021">2025</option>
<option value="2022">2026</option>
<option value="2023">2027</option>
<option value="2024">2028</option>
<option value="2024">2029</option>
<option value="2024">2030</option>
<option value="2021">2031</option>
<option value="2022">2032</option>
</select></div>
<div>
<input id="cvv" type="password">
</div>
</div>
<div class="credit-checkbox-input"> <input type="checkbox" value="true" checked="">Save these details
for faster checkout</div>
<div> <button onclick="placeOrder('card')" class="btn-payment">PAY SECURELY</button></div>
<div class="pay-head-bottom">By placing this order, you agree to STYLIO's T&C</div>
</div>
<div id="net-banking" class="payment-box-2 net-banking ">
<div class="pay-head">Select Bank</div>
<div class="pay-img-container">
<div class="pay-col">
<div> <img src="https://assets.ajio.com/static/peImages/HDFC.png" alt=""> </div>
<div> HDFC </div>
</div>
<div class="pay-col">
<div> <img src="https://assets.ajio.com/static/peImages/SBI.png" alt=""> </div>
<div> SBI </div>
</div>
<div class="pay-col">
<div> <img src="https://assets.ajio.com/static/peImages/ICICI.png" alt=""> </div>
<div> ICICI </div>
</div>
<div class="pay-col">
<div> <img src="https://assets.ajio.com/static/peImages/Axis.png" alt=""> </div>
<div> Axis Bank </div>
</div>
<div class="pay-col">
<div> <img src="https://assets.ajio.com/static/peImages/Kotak-Bank.png" alt=""> </div>
<div> Kotak Bank </div>
</div>
</div>
<div class="view-expansion">View More Banks</div>
<div><Button onclick="placeOrder()" class="btn-payment">PAY SECURELY</Button></div>
<div class="pay-head-bottom"> By placing this order, you agree to STYLIO's T&C</div>
</div>
<div id="wallet" class="payment-box-2 wallet ">
<div class="pay-head">Select Wallet</div>
<div class="pay-img-container">
<div class="pay-col">
<div><img src="https://assets.ajio.com/static/peImages/Paytm.png" alt=""></div>
<div>Paytm</div>
</div>
<div class="pay-col">
<div><img src="https://assets.ajio.com/static/peImages/Phone-pe.png" alt=""></div>
<div>PhonePe</div>
</div>
<div class="pay-col">
<div><img src="https://assets.ajio.com/static/peImages/Jio-Money.png" alt=""></div>
<div>Jio Money</div>
</div>
<div class="pay-col">
<div><img src="https://assets.ajio.com/static/peImages/Mobikwik.png" alt=""></div>
<div>MOBIKWIK</div>
</div>
</div>
<div class="view-expansion">View More Banks</div>
<div><Button onclick="placeOrder()" class="btn-payment">PAY SECURELY</Button></div>
<div class="pay-head-bottom"> By placing this order, you agree to STYLIO's T&C</div>
</div>
<div id="upi" class="payment-box-2 upi ">
<div class="pay-head">Enter your UPI ID</div>
<div class="pay-sub-head">Pay instantly from your bank using your UPI ID.<span
class="view-expansion">How to find UPI ID?</span></div>
<div> <input class="payment-box-input" id="upiInput" type="text" placeholder="12345670@upi"></div>
<p id="upiWarning"></p>
<div class="credit-checkbox-input"> <input type="checkbox" value="true" checked="">Save this UPI ID
for faster checkout</div>
<div><button onclick="placeOrder('upi')" class="btn-payment">PAY SECURELY</button></div>
<div class="pay-head-bottom"> By placing this order, you agree to STYLIO's T&C</div>
</div>
<div id="cashOnDelivery" class="payment-box-2 cash-on-delivery ">
<div class="pay-head">Cash on Delivery</div>
<div> For safe, contactless and hassle free delivery, pay using card/wallet/netbanking</div>
<div><button onclick="placeOrder()" class="btn-payment">PLACE ORDER</button></div>
<div class="pay-head-bottom"> By placing this order, you agree to STYLIO's <span
class="view-expansion">T&C </span> </div>
</div>
</div>
</div>
<!-- -------------------------RIGTH-END-------------------->
<!----------------------- LEFT ------------------------>
<div class="left">
<div class="order-summary">
<div>Order Summary</div>
<div class="summary-amount">
<div>Bag Total</div>
<div id="summary-bag-total"></div>
</div>
<div class="summary-amount">
<div>Delivery</div>
<div id="summary-delivery">FREE</div>
</div>
<!-- <div class="summary-amount strong">
<div>Order Total</div>
<div id="summary-total"></div>
</div> -->
<div class="summary-amount strong">
<div>Amount Payable</div>
<div id="amount-payable"></div>
</div>
</div>
</div>
<!--------------------- LEFT ENDS ------------------->
</div>
<br><br>
<hr>
<div id="footer">
<div>
<img src="./images/footerIcons.jpeg">
</div>
<div>
<div id="sub_footer">
<div>
<h4>Stylio</h4>
<p>Who We Are</p>
<p>Join Our Team</p>
<p>Terms & Conditions</p>
<p>We Respect Your Privacy</p>
<p>Fees & Payments</p>
<p>Returns & Refunds Policy</p>
<p>Promotions Terms & Conditions</p>
</div>
<div>
<h4>Help</h4>
<p>Track Your Order</p>
<p>Frequently Asked Questions</p>
<p>Returns</p>
<p>Cancellations</p>
<p>Payments</p>
<p>Customer Care</p>
<p>How Do I Redeem My Coupon</p>
</div>
<div>
<h4>Shop By</h4>
<p>Men</p>
<p>Women</p>
<p>Kids</p>
<p>Indie</p>
<p>Stores</p>
<p>New Arrivals</p>
<p>Brand Directory</p>
<p>Home</p>
<p>Collections</p>
</div>
<div>
<h4>Follow us</h4>
<p>Facebook</p>
<p>Instagram</p>
<p>Twitter</p>
<p>Pinterest</p>
</div>
</div>
<div>
<img src="./images/footerBottom.jpeg">
</div>
</div>
</div>
</div>
<script src="./src/payment.js"></script>
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
</body>
</html>