This repository has been archived by the owner on Apr 19, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpaymentfinalllll.html
198 lines (174 loc) · 9.09 KB
/
paymentfinalllll.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
<!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>Document</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.2/css/all.css">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css"
integrity="sha512-KfkfwYDsLkIlwQp6LFnl8zNdLGxu9YAA1QvwINks4PhcElQSvqcyVLLD9aMhXd13uQjoXtEKNosOWaZqXgel0g=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<style>
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
body {
background: linear-gradient(to right, rgba(235, 224, 232, 1) 52%, rgba(254, 191, 1, 1) 53%, rgba(254, 191, 1, 1) 100%);
font-family: 'Roboto', sans-serif
}
.card {
border: none;
max-width: 450px;
border-radius: 15px;
margin: 150px 0 150px;
padding: 35px;
padding-bottom: 20px !important
}
#proceed-btn:hover{
background-color: tomato;
color: white;
}
.heading {
color: #C1C1C1;
font-size: 14px;
font-weight: 500
}
img {
transform: translate(160px, -10px)
}
img:hover {
cursor: pointer
}
.text-warning {
font-size: 12px;
font-weight: 500;
color: #edb537 !important
}
#cno {
transform: translateY(-10px)
}
input {
border-bottom: 1.5px solid #E8E5D2 !important;
font-weight: bold;
border-radius: 0;
border: 0
}
.form-group input:focus {
border: 0;
outline: 0
}
.col-sm-5 {
padding-left: 90px
}
.btn {
background: #F3A002 !important;
border: none;
border-radius: 30px
}
.btn:focus {
box-shadow: none
}
</style>
<link rel="stylesheet" href="style.css">
</head>
<body>
<!-- <nav class="navbar navbar-expand-lg navbar-dark bg-dark static-top nav-pos " style="overflow-y: hidden;"> -->
<!-- <nav class="navbar navbar-expand-lg navbar-dark bg-dark static-top nav-pos " style="overflow-y: hidden;"> -->
<nav class="navbar navbar-expand-lg navbar-dark bg-dark fixed sticky-top" style="overflow-y: hidden;">
<div class="container">
<a class="navbar-brand" href="#">
<i class="fa-solid fa-cart-shopping"></i>
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse"
data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false"
aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent" style="text-align: center;">
<ul class="navbar-nav ms-auto">
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="index.html">Home</a>
</li>
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="/aboutus.html">About Us</a>
</li>
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="/partners.html">Partners</a>
</li>
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="/contact.html">Contact Us</a>
</li>
<li class="nav-item dropdown">
<!-- <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button"
data-bs-toggle="dropdown" aria-expanded="false">
Categories
</a> -->
<a class="nav-link active" aria-current="page" href="/categories.html">Categories</a>
<!-- <ul class="dropdown-menu dropdown-menu-end" aria-labelledby="navbarDropdown">
<li><a class="dropdown-item" href="#">Mobile</a></li>
<li><a class="dropdown-item" href="#">Laptop</a></li>
<li><a class="dropdown-item" href="#">Cloths</a></li>
<li><a class="dropdown-item" href="#">Electric Appliances</a></li>
<li>
<hr class="dropdown-divider">
</li>
<li><a class="dropdown-item" href="#">Something else here</a></li>
</ul> -->
<div >
<a href="/login.html" > <li > <button type="button" class=" btn-dark" id="side-spacing-2" style="border-radius: 14px; top: 1.1vh;">Login</button>
</li></a><a href="/sign-up.html"><li><button type="button" class="btn-dark" id="side-spacing" style="border-radius: 14px; top: 1.1vh;">Signup</button></li></a>
</div>
</li>
</ul>
</div>
</div>
</nav>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<div class="container-fluid">
<div class="row d-flex justify-content-center">
<div class="col-sm-12">
<div class="card mx-auto">
<p class="heading">PAYMENT DETAILS</p>
<form class="card-details " method="post" autocomplete="off" name="google-sheet">
<div class="form-group mb-0">
<p class="text-warning mb-0">Card Number</p> <input type="text" name="card-num" placeholder="1234 5678 9012 3457" size="17" id="cno" minlength="19" maxlength="19"> <img src="https://img.icons8.com/color/48/000000/visa.png" width="64px" height="60px" />
</div>
<div class="form-group">
<p class="text-warning mb-0">Cardholder's Name</p> <input type="text" name="name" placeholder="Name" size="17">
</div>
<div class="form-group pt-2">
<div class="row d-flex">
<div class="col-sm-4">
<p class="text-warning mb-0">Expiration</p> <input type="text" name="exp" placeholder="MM/YYYY" size="7" id="exp" minlength="7" maxlength="7">
</div>
<div class="col-sm-3">
<p class="text-warning mb-0">Cvv</p> <input type="password" name="cvv" placeholder="●●●" size="1" minlength="3" maxlength="3">
</div>
<div class="col-sm-5 pt-0"><input type="submit" name="submit" class="btnSubmit btn-block" value="Pay"/></div>
<div><button id="proceed-btn"style="border: none; background-color: aqua; margin-top: 20px;"><a href="/order.html" style="text-decoration: none; color: aliceblue;">Proceed</a> </button></div>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.bundle.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous">
</script>
<script src="/main.js"></script>
<script>
const scriptURL = 'https://script.google.com/macros/s/AKfycbzlQNWH7FNIQDqXvOIwalwv13FVZn__YxlKODZEDPS3EUasnYh6/exec'
const form = document.forms['google-sheet']
form.addEventListener('submit', e => {
e.preventDefault()
fetch(scriptURL, { method: 'POST', body: new FormData(form)})
.then(response => alert("Thanks for Contacting us..! We Will Contact You Soon..."))
.catch(error => console.error('Error!', error.message))
})
</script>
</body>
</html>