forked from JS-Knights/Carto
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Payment.html
executable file
·92 lines (87 loc) · 4.06 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
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/all.min.css">
<link rel="stylesheet" href="Payment.css">
</head>
<body>
<h2>Make a Payment</h2>
<div class="row">
<div class="col-75">
<div class="container">
<form action="/action_page.php" method="POST" target="_self">
<!-- Contributor @24Taylor:
* Updated Form to include Method="POST" to ensure sensitive information captured on the payment page form is not visible in the URL once form has been submitted
* Also Updated Form element so that the 'result' page for submitting the form/ clicking on the "continue to checkout" button, opens in the same tab instead of a different one-->
<div class="row">
<div class="col-50">
<h3>Billing Address</h3>
<label for="fname"><i class="fa fa-user"></i> Full Name</label>
<input type="text" id="fname" name="firstname" placeholder="Mira Garcia">
<label for="email"><i class="fa fa-envelope"></i> Email</label>
<input type="text" id="email" name="email" placeholder="[email protected]">
<label for="adr"><i class="fas fa-home"></i> Address</label>
<input type="text" id="adr" name="address" placeholder="600 W. 15th Street">
<label for="city"><i class="fas fa-city"></i> City</label>
<input type="text" id="city" name="city" placeholder="San Francisco">
<div class="row">
<div class="col-50">
<label for="state">State</label>
<input type="text" id="state" name="state" placeholder="CA">
</div>
<div class="col-50">
<label for="zip">Zip</label>
<input type="text" id="zip" name="zip" placeholder="94016">
</div>
</div>
</div>
<div class="col-50">
<h3>Payment</h3>
<label for="fname">Accepted Cards</label>
<div class="icon-container">
<i class="fab fa-cc-visa" style="color:navy;"></i>
<i class="fab fa-cc-amex" style="color:blue;"></i>
<i class="fab fa-cc-mastercard" style="color:red;"></i>
<i class="fab fa-cc-discover" style="color:orange;"></i>
<i class="fab fa-cc-apple-pay"></i>
</div>
<label for="cname">Name on Card</label>
<input type="text" id="cname" name="cardname" placeholder="Mira Garcia">
<label for="ccnum">Credit card number</label>
<input type="text" id="ccnum" name="cardnumber" placeholder="1111-2222-3333-4444">
<label for="expmonth">Exp Month</label>
<input type="text" id="expmonth" name="expmonth" placeholder="October">
<div class="row">
<div class="col-50">
<label for="expyear">Exp Year</label>
<input type="text" id="expyear" name="expyear" placeholder="2018">
</div>
<div class="col-50">
<label for="cvv">CVV</label>
<input type="text" id="cvv" name="cvv" placeholder="548">
</div>
</div>
</div>
</div>
<label>
<input type="checkbox" checked="checked" name="sameadr"> Shipping address same as billing
</label>
<input type="submit" value="Continue to checkout" class="btn">
</form>
</div>
</div>
<div class="col-25">
<div class="container">
<h4>Cart <span class="price" style="color:black"><i class="fa fa-shopping-cart"></i> <b>4</b></span></h4>
<p><a href="#">Item 1</a> <span class="price">$20</span></p>
<p><a href="#">Item 2</a> <span class="price">$15</span></p>
<p><a href="#">Item 3</a> <span class="price">$18</span></p>
<p><a href="#">Item 4</a> <span class="price">$27</span></p>
<hr>
<p>Total <span class="price" style="color:black"><b>$80</b></span></p>
</div>
</div>
</div>
</body>
</html>