-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpaymentPortal.html
65 lines (52 loc) · 2.29 KB
/
paymentPortal.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
<!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>Payment Portal</title>
<link rel="stylesheet" href="paymentPortal.css">
</head>
<body>
<div class="app-container">
<div class="top-box"><p><span class="left-icon">←</span> CHECK OUT<span class="right-icon">···</span> </p></div>
<div class="middle-box">
<h1> <span>₹</span></h1>
<p>Pay To FoodXprs Lunch Services Pvt Ltd</p>
</div>
<div class="bottom-box">
<button type="button" class="payment-option-btn">Pay with PayPal</button>
<button type="button" class="payment-option-btn">Pay with GooglePay</button>
<div class="card-details">
<p>Pay using credit or debit card</p>
<div class="card-num-field-group">
<label >Card Number</label><br>
<input type="text" class="card-num-field" placeholder="xxxx-xxxx-xxxx-xxxx">
</div>
<div class="date-field-group">
<label >Expiry Date</label><br>
<input type="text" class="date-field" placeholder="mm">
<input type="text" class="date-field" placeholder="yyyy">
</div>
<div class="cvc-field-group">
<label >CVC</label><br>
<input type="password" class="cvc-field" placeholder="xxx">
</div>
<div class="name-field-group">
<label >Card Holder Name</label><br>
<input type="text" class="name-field" placeholder="Full Name">
</div>
<button type="button" class="pay-btn">Pay Now</button>
</div>
</div>
</div>
<script>
var total = localStorage.getItem("total amount");
document.querySelector("h1").textContent = total;
function redirect(){
window.location.href ="end.html";
}
document.querySelector(".pay-btn").addEventListener("click", redirect)
</script>
</body>
</html>