-
Notifications
You must be signed in to change notification settings - Fork 4
/
Payment.html
176 lines (126 loc) · 5.42 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
<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/pay.css">
</head>
<body>
<div id="navbar"></div>
<div id="main">
<!-- Left Part -->
<div id="left">
<!-- Showing Contact Details (Email and full Address) -->
<h1 id="pp">Shipping Details</h1>
<div id="box">
<div class="display">
<p class="text">Contact</p>
<div>
<div id="email" class="text" style="color: black;">iesParag@gmail.com</div>
</div>
<p>
<a class="text pink" href="information.html">Change</a>
</p>
</div>
<hr>
<div class="display">
<p class="text">Ship to</p>
<div>
<div id="address" class="text" style="color: black;">Show Full address here</div>
</div>
<p>
<a class="text pink" href="information.html">Change</a>
</p>
</div>
<hr>
<div class="display">
<p class="text">Method</p>
<div>
<div class="text" style="color: black;">Standard (3-5 Business Days) ·</div>
<p class="text" style="color: #dc3226;font-weight: 600;">Free</p>
</div>
<p></p>
</div>
</div>
<h2 id="contact">Payment</h2>
<p class="text" style="margin: -10px 0px 20px ;">All transactions are secure and encrypted.</p>
<form id="form">
<div id="pay">
<div class="payment">
<a
href="https://razorpay.com/?utm_adgroup=brandsearch_core&utm_gclid=Cj0KCQjwlemWBhDUARIsAFp1rLXTSWmaHeO0j4NHoxcMpgSxlRI2fJx5KFWFR8oENfs59lE3Y7MlfGkaAlVDEALw_wcB&utm_source=google&utm_medium=cpc&utm_campaign=RPSME-RPPerf-GSearchBrand-Prospect-Dweb-Core&utm_term=razorpay&hsa_src=g&hsa_ad=600098996154&hsa_kw=razorpay&hsa_mt=e&hsa_acc=9786800965&hsa_net=adwords&hsa_ver=3&hsa_grp=27293859910&hsa_tgt=kwd-337200051286&hsa_cam=400139470&gclid=Cj0KCQjwlemWBhDUARIsAFp1rLXTSWmaHeO0j4NHoxcMpgSxlRI2fJx5KFWFR8oENfs59lE3Y7MlfGkaAlVDEALw_wcB">
<div>
<input type="radio" name="pay" style="background-color: #141212; width: 20px; height: 20px" />
<img style="width: 20% ;" src="https://www.rentomojo.com/public/images/cart/payment/razorpay.png"
alt="">
</div>
</a>
</div>
<div class="payment">
<a href="https://www.amazon.in/amazonpay/home?ref_=apay_logo_APayDashboard">
<div>
<input type="radio" name="pay" style="background-color: #141212; width: 20px; height: 20px" />
<img style="width: 30% ;" src="https://www.rentomojo.com/public/images/cart/payment/amazon-pay.png"
alt="">
</div>
</a>
<p class="text" style="font-weight: 600"></p>
</div>
<div class="payment">
<a href="https://www.mobikwik.com/">
<div>
<input type="radio" name="pay" style="background-color: #141212; width: 20px; height: 20px" />
<img style="width: 30% ;" src="https://www.rentomojo.com/public/images/cart/payment/mobikwik.png"
alt="">
</div>
</a>
<p class="text" style="font-weight: 600"></p>
</div>
<div class="payment">
<a href="https://paytm.com/">
<div>
<input type="radio" name="pay" style="background-color: #141212; width: 20px; height: 20px" />
<img style="width: 30% ;" src="https://www.rentomojo.com/public/images/cart/payment/paytm.png" alt="">
</div>
</a>
<p class="text" style="font-weight: 600"></p>
</div>
<div class="payment">
<div>
<input type="radio" name="pay" style="background-color: #dc3226; width: 20px; height: 20px" />
<p class="text" style="margin-left: -10px ; ;">
Cash on Delivery (COD)</p>
</div>
<p class="text" style="font-weight: 600"></p>
</div>
</div>
<!-- Submit button -->
<div>
<p>
<a class="text pink" href="information.html">
< Return to shipping</a>
</p>
<button id="submit"><a href="success.html">Complete Order</a></button>
</div>
</form>
</div>
</div>
<div id="footer"></div>
</body>
</html>
<script type="module">
import navbar1 from "../components/scripts/navbar.js";
import footer1 from "../components/scripts/footer.js";
document.querySelector("#navbar").innerHTML = navbar1();
document.querySelector("#footer").innerHTML = footer1();
function kau_myfunc() {
let div = document.querySelector("#kau_show-on-hover");
div.classList.toggle("kau_show");
console.log("kau_button")
}
document.querySelector("#kau_button").addEventListener("click", kau_myfunc)
let address = JSON.parse(localStorage.getItem("userAddress"));
document.querySelector("#email").innerText = address.phone;
document.querySelector("#address").innerText = address.address + "," + " " + address.apartment + "," + " " + address.pin + "," + " " + address.city + "," + " " + address.state + "," + " " + address.country;
</script>