forked from stripe-samples/github-pages-stripe-checkout
-
Notifications
You must be signed in to change notification settings - Fork 0
/
canceled.html
37 lines (34 loc) · 1.15 KB
/
canceled.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>CourseHorse Tips | Cancellation</title>
<meta name="description" content="Tip CourseHorse!" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" href="favicon.ico" type="image/x-icon" />
<link rel="stylesheet" href="css/normalize.css" />
<link rel="stylesheet" href="css/global.css" />
<script src="https://js.stripe.com/v3/"></script>
</head>
<body>
<div class="sr-root">
<div class="sr-main">
<header class="sr-header">
<a href="./" class="sr-header__logo"></a>
</header>
<div class="sr-payment-summary completed-view">
<h1>Your payment was canceled.</h1>
<h2>Please <a href="https://coursehorse.com/contact-us">Contact Us</a> if you need assistance.</h2>
</div>
</div>
</div>
<script>
var urlParams = new URLSearchParams(window.location.search);
if (urlParams.has("session_id")) {
document.getElementById("session").textContent = urlParams.get(
"session_id"
);
}
</script>
</body>
</html>