-
Notifications
You must be signed in to change notification settings - Fork 0
/
payment.html
120 lines (103 loc) · 4.24 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Payment</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.5.2/js/bootstrap.min.js">
</head>
<body>
<form data-payment-order="form">
<h1>Payment From</h1>
<p>Required fields are followed by <strong><abr title="required">*</abr></strong>.</p>
<div class="panel panel-default">
<div class="panel-body"></div>
<section>
<h2>Contact Information</h2>
<fieldset>
<legend>Title</legend>
<ul>
<li>
<label for="title_1">
<input type ="radio" id="title_1" name="title" value="Mr.">
Mr.
</label>
</li>
</ul>
<ul>
<li>
<label for="title_2">
<input type ="radio" id="title_2" name="title" value="Ms.">
Ms.
</label>
</li>
</ul>
</fieldset>
<p>
<label for="name">
<span>Name: </span>
<strong><abbr title="required">*</abbr></strong>
</label>
<input type="text" name="username" id="name">
</p>
<p>
<label for="mail">
<span>E-mail: </span>
<strong><abbr title="required">*</abbr></strong>
</label>
<input type="email" name="usermail" id="mail">
</p>
<p>
<label for="pwd">
<span>Password: </span>
<strong><abbr title="required">*</abbr></strong>
</label>
<input type="password" name="password" id="pwd">
</p>
</section>
<section>
<h2>Payment Information</h2>
<p>
<label for="card">
<span>Card type:</span>
</label>
<select name="usercard" id="card">
<option value="visa">Visa</option>
<option value="MC">Mastercard</option>
<option value="AE">American Express</option>
</select>
</p>
<p>
<label for="number">
<span>Card number:</span>
<strong><abbr title="required">*</abbr></strong>
</label>
<input type="tel" id="number" name="cardnumber">
</p>
<p>
<label for="date">
<span>Expiration date:</span>
<strong><abbr title="required">*</abbr></strong>
<em>formatted ad mm/dd/yyyy</em>
</label>
<input type="date" id="date" name="expiration">
</p>
</section>
<section>
<p>
<button type="submit">Submit the payment</button>
</p>
</section>
</div>
</form>
<div data-payment-thank="thank">
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.0.0/jquery.min.js" charset="utf-8"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-modal/0.9.1/jquery.modal.min.js" charset="utf-8"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jquery-modal/0.9.1/jquery.modal.min.css" />
<script src= "scripts/payment_handler.js" charset="utf-8"></script>
<script src= "scripts/payment_main.js" charset="utf-8"></script>
<script src="scripts/formhandler.js" charset="utf-8"></script>
<script src="scripts/datastore.js" charset="utf-8"></script>
</body>
</html>