-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
43 lines (40 loc) · 2.4 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Gerador de Card Hash - Pagarme</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Gerador de Card Hash no PagarMe">
<meta name="keywords" content="Pagarme,card,hash,gerador">
<meta name="author" content="Leandro Marques do Nascimento">
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link rel="stylesheet" href="./css/sweetalert.css">
</head>
<body>
<div class="container">
<h1 class="text-center">Gerador de Card Hash - Pagarme</h1>
<form id="payment_form" action="" method="POST">
<div id="form" class="jumbotron">
Chave de encriptação: <input class="form-control" type="text" id="encription_key" required/>
<br/>
Número do cartão: <input class="form-control" type="text" id="card_number" minlength="16" maxlength="16" required/>
<br/>
Nome (como escrito no cartão): <input class="form-control" type="text" id="card_holder_name" required/>
<br/>
Mês de expiração: <input class="form-control" type="text" id="card_expiration_month" maxlength="2" required/>
<br/>
Ano de expiração: <input class="form-control" type="text" id="card_expiration_year" minlength="4" maxlength="4" required/>
<br/>
Código de segurança: <input class="form-control" type="text" id="card_cvv" maxlength="3" required/>
<br/>
<input type="submit" value="Gerar Card Hash" class="btn btn-success btn-lg btn-block"></input>
</form>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script src="./scripts/sweetalert.min.js"></script>
<script src="./scripts/pagarme.min.js"></script>
<script src="./scripts/index.js"/></script>
</body>
</html>