-
Notifications
You must be signed in to change notification settings - Fork 4
/
paymentpage1.html
231 lines (209 loc) · 20.5 KB
/
paymentpage1.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
<!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>Flipkart.com: Secure Payment: Login > Select Shipping Address > Review</title>
<link rel="shortcut icon" type="image/png" href="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBxIQDxAQEBAQEA4QEA8QEA8QEBAPDw8QFhYWFhUSFRUYHyggGBolGxYVITEhJSkrLi4uFx80OTQtOCgtLisBCgoKDg0OGhAQGy0mHyItKy0tKy0wLS0tLS0rLS0tLS0rLS0tKy0wLS0tLSstLS0vLS0tLS0tLS0rLSstLS0tLf/AABEIAN8A4gMBIgACEQEDEQH/xAAbAAEAAgMBAQAAAAAAAAAAAAAAAQQCAwUGB//EAEMQAAIBAgIGBgcGBAMJAAAAAAABAgMRBBIFEyExQVEGYXGRobEUIjJSgcHRFkNTcpOiFUJi4SOCgw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078Ebanw7SsHyNYKuKrxwk7K0dltgPWKlFbLbiDp/wBnI/xnuVd7adl//9k=">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons+Outlined" rel="stylesheet">
<link rel="stylesheet" href="./style/payment_styles1.css">
</head>
<body>
<div style="display: flex; flex-direction: column;">
<div class="header">
<div>
<a href="index.html"><img src="https://static-assets-web.flixcart.com/www/linchpin/fk-cp-zion/img/fk-plus_3b0baa.png" alt=""></a>
</div>
</div>
<section class="background">
<!-- <div class="seperation"> -->
<div class="leftspan">
<div class="login">
<div class="no">1</div>
<div>
<div class="heading">LOGIN <span class="material-icons-outlined">done</span></div>
<div style="display: flex;">
<p class="contentN">USER</p>
<p class="font" id="contentM">usermail</p>
</div>
</div>
<div class="change_btn1"><button>CHANGE</button></div>
</div>
<div class="login">
<div class="no">2</div>
<div>
<div class="heading">DELIVERY ADDRESS <span class="material-icons-outlined">done</span></div>
<div style="display: flex;">
<p class="contentN">USER</p>
<p class="font" id="contentA">Address</p>
</div>
</div>
<div class="change_btnA" onclick="show()">
<button>CHANGE</button>
<form class="adform" style="display: none;" onsubmit="subadd()">
<input type="text" placeholder="Enter your address" id="addr">
<input type="text" placeholder="Enter your Pincode" id="pincode">
<input type="text" placeholder="Enter your Mobile number" id="mobi">
<input type="submit">
</form>
</div>
</div>
<div class="login">
<div class="no">3</div>
<div>
<div class="heading">ORDER SUMMARY <span class="material-icons-outlined">done</span></div>
<div class="content"><span class="items"></span> item</div>
</div>
<div class="change_btn"><button>CHANGE</button></div>
</div>
<div class="paymentoptions">
<div class="cont1">
<div class="div1">
<div class="no">4</div>
<div class="heading1">PAYMENT OPTIONS</div>
</div>
<div class="radio-group">
<label class="radio" onclick="displayBlock('pay1')">
<input type="radio" value="sbi" name="options" id="click1"> <img src="https://img1a.flixcart.com/www/linchpin/fk-cp-pay/sbi-7804ae3e.svg" alt=""> State Bank of India Net Banking <span></span>
</label>
<div class="pay" id="pay1"><button class="pay_btn" onclick="onClick()">PAY ₹ <div class="amount">####</div></button></div>
<label class="radio" onclick="displayBlock('pay2')">
<input type="radio" value="sbi" name="options" id="click2"> <img src="https://img1a.flixcart.com/linchpin-web/batman-returns/logos/upiLogo6.gif" alt=""> UPI<span></span>
</label>
<div class="pay" id="pay2"><button class="pay_btn" onclick="onClick()">PAY ₹ <div class="amount">####</div></button></div>
<label class="radio" onclick="displayBlock('pay3')">
<input type="radio" value="sbi" name="options" id="click3"> <img src="https://img1a.flixcart.com/www/linchpin/batman-returns/logos/Payments%20Logo%20animation_1.gif" alt=""> Wallets<span></span>
</label>
<div class="pay" id="pay3"><button class="pay_btn" onclick="onClick()">PAY ₹ <div class="amount">####</div></button></div>
<label class="radio" onclick="displayBlock('pay4')">
<input type="radio" value="sbi" name="options" id="click4"> Credit / Debit / ATM Card<span></span>
</label>
<div class="pay" id="pay4"><button class="pay_btn" onclick="onClick()">PAY ₹ <div class="amount">####</div></button></div>
<label class="radio" onclick="displayBlock('pay5')">
<input type="radio" value="sbi" name="options" id="click5"> Net Banking<span></span>
</label>
<div class="pay" id="pay5"><button class="pay_btn" onclick="onClick()">PAY ₹ <div class="amount">####</div></button></div>
<label class="radio" id="cod" onclick="displayBlock('pay6')">
<input type="radio" value="sbi" name="options"> <div>Cash on Delivery <p class="supercoin"><img src="https://static-assets-web.flixcart.com/www/linchpin/fk-cp-zion/img/super-coin_bac003.svg" alt=""> Get ₹100 off by using 100 Supercoins with Kotak 811 Debit and slice card.</p></div> <span></span>
</label>
<div class="pay" id="pay6"><button class="co_btn" onclick="onClickCo()">CONFIRM ORDER</button></div>
<label class="radio" id="disable">
<input type="radio" value="sbi" name="options" disabled> <div id="emi">EMI (Easy Installments) <p class="na">Not applicable ?</p></div> <span></span>
</label>
</div>
</div>
<div class="cont2"><span class="material-icons-outlined">add</span> Add Gift Card</div>
</div>
</div>
<div class="rightspan">
<div class="pricedetails">
<div class="pd">PRICE DETAILS</div>
<div id="line"></div>
<p>Price ( <span class="items">#</span> item) <span class="symbol">₹</span> <span class="amount1">####</span> </p>
<p>Delivery Charges <span class="free">FREE</span></p>
<div class="dot"> ---------------------------------------------------------------------------------</div>
<div class="total">Amount Payable <span class="symbol1">₹</span> <span class="amount1">####</span></div>
</div>
<div class="offer">
<div class="pd"><span><img src="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTUiIHZpZXdCb3g9IjAgMCAxNCAxNSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+PGRlZnM+PHBhdGggaWQ9ImEiIGQ9Ik0wIC4yNTZoMTMuOTJ2MTMuOTdIMCIvPjwvZGVmcz48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxnPjxtYXNrIGlkPSJiIiBmaWxsPSIjZmZmIj48dXNlIHhsaW5rOmhyZWY9IiNhIi8+PC9tYXNrPjxwYXRoIGQ9Ik0uMDQzLjg3NUwwIDcuMjAyYzAgLjE1NS4wNi4zMDQuMTcuNDEzbDYuMzk3IDYuNDIyYy4yNTIuMjUyLjY2LjI1Mi45MSAwbDYuMjU0LTYuMjc1Yy4yNTMtLjI1My4yNTMtLjY2MiAwLS45MTVMNy4zMzQuNDI3Yy0uMTEtLjExLS4yNTgtLjE3Mi0uNDEyLS4xN0wuNjE3LjNDLjMuMzAyLjA0Ni41NTguMDQzLjg3NSIgZmlsbD0iIzM4OGUzYyIgbWFzaz0idXJsKCNiKSIvPjwvZz48cGF0aCBkPSJNMy42MTcgNS40MTdjLS44MzcgMC0xLjUxNi0uNjgtMS41MTYtMS41MnMuNjgtMS41MjMgMS41MTctMS41MjNjLjgzOCAwIDEuNTE2LjY4MiAxLjUxNiAxLjUyMnMtLjY3OCAxLjUyLTEuNTE2IDEuNTJ6IiBmaWxsPSIjRkZGIi8+PC9nPjwvc3ZnPgo=" alt=""></span> <span id="offer">OFFERS</span></div>
<div class="line"></div>
<p class="txt">5% Unlimited Cashback on Flipkart Axis Bank Credit Card <div class="col">T&C</div> </p>
<div class="line"></div>
<p class="txt">15% Instant discount on first pay later order of ₹500 and above <div class="col">T&C</div> </p>
<div class="line"></div>
<p class="txt">Use Supercoin pay on Kotak 811 debit and slice cards <div class="col">T&C</div> </p>
</div>
<div class="security"><img src="https://static-assets-web.flixcart.com/www/linchpin/fk-cp-zion/img/shield_b33c0c.svg" alt=""> Safe and Secure Payments.Easy returns.100% Authentic products.</div>
</div>
<!-- </div> -->
</section>
<div class="footer">
<div>Policies:</div> <div class="policies"><div>Returns Policy</div> | <div>Terms of use</div> | <div>Security</div> | <div>Privacy</div> | Infringement
© 2007-2021 Flipkart.com
Need help? Visit the <div class="help">Help Center</div> or <div class="help">Contact Us</div></div>
</div>
</div>
</body>
</html>
<script>
let name = JSON.parse(localStorage.getItem("token"))?.user.username;
let mail = JSON.parse(localStorage.getItem("token"))?.user.email;
let id = JSON.parse(localStorage.getItem("token"))?.user._id;
let usertoken = JSON.parse(localStorage.getItem("token"))?.token;
let user = document.querySelectorAll(".contentN");
user[0].textContent = name;
user[1].textContent = name;
document.getElementById("contentM").textContent = mail;
function subadd(){
let data = `${document.getElementById("addr").value},${document.getElementById("pincode").value},${document.getElementById("mobi").value},`
fetch("https://flipkart-dummy-server.herokuapp.com/user/"+id,{
method : "PATCH",
body : JSON.stringify({address : data}),
headers : {"Content-type": "application/json; charset=UTF-8",authorization : "Bearer"+" "+usertoken}
}).then((res)=>{
return res.json();
}).then((res)=>{
console.log(res,data);
document.getElementById("contentA").textContent = res.address;
return document.querySelector(".adform").style.display = "none"
}).catch((e)=>{
return alert("Error :",e);
})
}
fetch(`https://flipkart-dummy-server.herokuapp.com/cart/${id}`,{
headers : {authorization : "Bearer"+" "+usertoken}
}).then(function(res){
return res.json();
}).then(function(res){
console.log(res);
document.querySelector(".items").textContent = (res.cart).length;
});
fetch(`https://flipkart-dummy-server.herokuapp.com/user/${id}`,{
headers : {authorization : "Bearer"+" "+usertoken}
}).then(function(res){
return res.json();
}).then(function(res){
console.log(res);
document.getElementById("contentA").textContent = res.address;
});
function show(){
let adres = document.querySelector(".adform");
adres.style.display = "block";
document.querySelector(".change_btnA > button").style.marginTop = "-12px";
}
var flag = false;
let amount = window.location.hash.split('=')[1];
let amountTopay = document.getElementsByClassName('amount');
for(let i=0;i<amountTopay.length;i++)
{
amountTopay[i].textContent = amount;
}
let total = document.getElementsByClassName('amount1');
for(let i=0;i<total.length;i++)
{
total[i].textContent = amount;
}
function displayBlock(id)
{
let div = document.querySelectorAll(".radio-group > .pay")
//console.log('div:', div)
div.forEach((each_div) => {
each_div.style.display = "none";
})
let payopt = document.getElementById(id);
//console.log('payopt:', payopt);
payopt.style.display = "block";
}
function onClick()
{
document.location.href = `payment_loading.html#price=${amount}`;
}
function onClickCo()
{
document.location.href = `confirmation_loading.html#price=${amount}`;
}
let cart = JSON.parse(localStorage.getItem("cart"));
</script>