-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
60 lines (58 loc) · 2.09 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"
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
/>
<link
rel="shortcut icon"
href="https://culqi.com/assets/images/brand/brand.svg"
type="image/x-icon"
/>
<title>CULQI 3DS DEMO</title>
</head>
<body>
<div class="container my-4">
<h1>CHECKOUT V4<br />(Órdenes y Tarjetas + 3DS)</h1>
<label>CREAR CARGO</label><br />
<p id="loading" style="display: none">CARGANDO...</p>
<p id="payment-success" style="display: none">PAGO EXITOSO</p>
<p id="payment-fail" style="display: none; color: 'red'">PAGO FALLIDO</p>
<p id="authentication-fail" style="display: none; color: 'red'">
AUTENTICACIÓN FALLIDA
</p>
<p id="customer-creation-fail" style="display: none; color: 'red'">
CREACIÓN DE CLIENTE FALLO
</p>
</div>
<!----- -->
<div class="container" id="containerForm">
<div class="card-body">
<div class="row">
<div class="col-md-6">
<h3 id="createOrPayBtn">Realiza un pago</h3>
<a id="crearCard" class="btn btn-primary btn-lg" href="#"
>Pagar</a
><br /><br />
<div class="panel panel-default" id="response-panel">
<div class="panel-heading">Respuesta</div>
<div class="panel-body" id="response_card"></div>
</div>
</div>
</div>
</div>
</div>
<script src="https://3ds.culqi.com" defer></script>
<script src="https://checkout.culqi.com/js/v4"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
<script>
const paymenType = "cargo";
</script>
<script src="./main.js" type="module"></script>
</body>
</html>