-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
60 lines (51 loc) · 2.3 KB
/
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<!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">
<link rel="stylesheet" type="text/css"href="style.css">
<title>Document</title>
</head>
<body>
<div class="container">
<form action="" method="POST" id="card-form">
<div class="block-group">
<input type="text" placeholder="John Smith" class="b75 block" id="cardholdername">
<input type="text" placeholder="10018" class="b25 block" id="cardholderzip">
</div>
<div class="block-group">
<div class="block" data-processout-input="cc-number"
data-processout-placeholder="4242 4242 4242 4242"></div>
<div class="block" data-processout-input="cc-exp"
data-processout-placeholder="MM / YY"></div>
<div class="block" data-processout-input="cc-cvc"
data-processout-placeholder="CVC"></div>
</div>
<div>
<input type="submit" id="paymentBtn">
</div>
<div id="errors"></div>
<div id="success"></div>
</form>
</div>
<div class="container">
<form action="/your-capture-endpoint" method="POST" id="payment-form">
<div data-processout-input="cc-number"
data-processout-placeholder="4242 4242 4242 4242"></div>
<div data-processout-input="cc-exp-month"
data-processout-placeholder="Expiration month"></div>
<div data-processout-input="cc-exp-year"
data-processout-placeholder="Expiration year"></div>
<!-- It is also possible to use a unified field for the expiration date: -->
<div data-processout-input="cc-exp"
data-processout-placeholder="Expiration date (mm / yy)"></div>
<div data-processout-input="cc-cvc"
data-processout-placeholder="CVC"></div>
<input type="submit" class="submit" value="Submit Payment">
</form>
</div>
<script src="https://js.processout.com/processout.js"></script>
<script type="text/javascript" src="index.js"></script>
</body>
</html>