forked from stripe-samples/accept-a-payment
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsepa-debit.html
71 lines (60 loc) · 2.41 KB
/
sepa-debit.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
61
62
63
64
65
66
67
68
69
70
71
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>SEPA Direct Debit</title>
<link rel="stylesheet" href="css/base.css" />
<script src="https://js.stripe.com/v3/"></script>
<script src="/utils.js" defer></script>
<script src="/sepa-debit.js" defer></script>
</head>
<body>
<main>
<a href="/">home</a>
<h1>SEPA Direct Debit</h1>
<p>
<h4>Try a <a href="https://stripe.com/docs/testing#sepa-direct-debit">test IBAN account number</a>:</h4>
<div>
<code>DE89370400440532013000</code>
</div>
<div>
<code>IE29AIBK93115212345678</code>
</div>
</p>
<form id="payment-form">
<label for="name">
Name
</label>
<input id="name" placeholder="Jenny Rosen" value="Jenny Rosen" required />
<label for="email">
Email Address
</label>
<input id="email" type="email" value="jenny.rosen@example.com" placeholder="jenny.rosen@example.com" required />
<label for="iban-element">
IBAN
</label>
<div id="iban-element">
<!-- A Stripe Element will be inserted here. -->
</div>
<button type="submit">Pay</button>
<!-- Display mandate acceptance text. -->
<div id="mandate-acceptance">
By providing your payment information and confirming this payment, you authorise
(A) <strong>INSERT YOUR BUSINESS NAME HERE</strong> and Stripe,
our payment service provider and/or PPRO, its local service provider, to send
instructions to your bank to debit your account and (B) your bank to debit your
account in accordance with those instructions. As part of your rights, you are
entitled to a refund from your bank under the terms and conditions of your agreement
with your bank. A refund must be claimed within 8 weeks starting from the date on
which your account was debited. Your rights are explained in a statement that you
can obtain from your bank. You agree to receive notifications for future debits up
to 2 days before they occur.
</div>
<!-- Used to display form errors. -->
<div id="error-message" role="alert"></div>
</form>
<div id="messages" role="alert"></div>
</main>
</body>
</html>