-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsuccess.php
More file actions
27 lines (21 loc) · 760 Bytes
/
success.php
File metadata and controls
27 lines (21 loc) · 760 Bytes
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
<!DOCTYPE html>
<html>
<head>
<title>Stripe Implementation</title>
<meta charset="UTF-8">
</head>
<body>
<h1>Stripe Implementation Success</h1>
<p>Thank you for your payment!</p>
<?php
session_start();
if ($_SESSION["cookbook_purchased"] == true) {
echo "<a href='indesignCookbook.pdf' download='germanCookbookPDF.pdf'>Download Cookbook PDF</a>";
}
if ($_SESSION["grimm_purchased"] == true) {
echo "<a href='brothersGrimmFairyTalesBookDesignCompressed.pdf' download='grimmPDF.pdf'>Download Grimm PDF</a>";
}
?>
<p><a href="index.php"><button>Return To Store</button></a></p>
</body>
</html>