forked from stripe-samples/accept-a-payment
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
39 lines (33 loc) · 1.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Payment</title>
<link rel="stylesheet" href="/css/base.css" />
<script src="https://js.stripe.com/v3/"></script>
<script src="/utils.js" defer></script>
<script src="/index.js" defer></script>
</head>
<body>
<main>
<h1>Payment</h1>
<p>Enable more payment method types <a
href="https://dashboard.stripe.com/settings/payment_methods" target="_blank">in your
dashboard</a>.</p>
<form id="payment-form">
<div id="link-authentication-element">
<!-- Elements will create authentication element here -->
</div>
<div id="payment-element">
<!-- Elements will create form elements here -->
</div>
<button id="submit">Pay now</button>
<div id="error-message">
<!-- Display error message to your customers here -->
</div>
</form>
<div id="messages" role="alert" style="display: none;"></div>
</main>
</body>
</html>