forked from jondavidjohn/payform
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
36 lines (31 loc) · 945 Bytes
/
index.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
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>Payform Demo</title>
</head>
<body>
<div>
<label for="ccnum">Number</label>
<input type="text" name="ccnum" id="ccnum">
</div>
<div>
<label for="expiry">Expiry</label>
<input type="text" name="expiry" id="expiry">
</div>
<div>
<label for="cvc">CVC</label>
<input type="text" name="cvc" id="cvc">
</div>
<div>
<label for="numeric">Numeric</label>
<input type="text" name="numeric" id="numeric">
</div>
<script src="dist/payform.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript" charset="utf-8">
payform.cardNumberInput(document.getElementById('ccnum'));
payform.expiryInput(document.getElementById('expiry'));
payform.cvcInput(document.getElementById('cvc'));
payform.numericInput(document.getElementById('numeric'));
</script>
</body>
</html>