forked from stripe-samples/accept-a-payment
-
Notifications
You must be signed in to change notification settings - Fork 0
/
oxxo.html
46 lines (36 loc) · 1.1 KB
/
oxxo.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>OXXO</title>
<link rel="stylesheet" href="css/base.css" />
<script src="https://js.stripe.com/v3/"></script>
<script src="/utils.js" defer></script>
<script src="/oxxo.js" defer></script>
</head>
<body>
<main>
<a href="/">home</a>
<h1>OXXO</h1>
<p>
Note: OXXO requires a Stripe account in Mexico.
</p>
<form id="payment-form">
<label for="name">
Name
</label>
<input id="name" value="Jenny Rosen" required>
<label for="email">
Email
</label>
<input id="email" value="jr.succeed_immediately@example.com" required>
<!-- Used to display form errors. -->
<div id="error-message" role="alert"></div>
<button type="submit">Pay</button>
</form>
<div id="messages" role="alert"></div>
<p> <a href="https://youtu.be/8ezSzH8jnY4" target="_blank">Watch a demo walkthrough</a> </p>
</main>
</body>
</html>