summaryrefslogtreecommitdiff
path: root/src/frontend/fullfillment.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/fullfillment.php')
-rw-r--r--src/frontend/fullfillment.php50
1 files changed, 50 insertions, 0 deletions
diff --git a/src/frontend/fullfillment.php b/src/frontend/fullfillment.php
new file mode 100644
index 00000000..ced9a183
--- /dev/null
+++ b/src/frontend/fullfillment.php
@@ -0,0 +1,50 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <title>Taler's "Demo" Shop</title>
+ <link rel="stylesheet" type="text/css" href="style.css">
+</head>
+<body>
+
+<?php
+/*
+ This file is part of GNU TALER.
+ Copyright (C) 2014, 2015 GNUnet e.V.
+
+ TALER is free software; you can redistribute it and/or modify it under the
+ terms of the GNU Lesser General Public License as published by the Free Software
+ Foundation; either version 2.1, or (at your option) any later version.
+
+ TALER is distributed in the hope that it will be useful, but WITHOUT ANY
+ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+ A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public License along with
+ TALER; see the file COPYING. If not, If not, see <http://www.gnu.org/licenses/>
+
+*/
+
+$cli_debug = false;
+$backend_test = true;
+
+if ($_GET['cli_debug'] == 'yes')
+ $cli_debug = true;
+
+if ($_GET['backend_test'] == 'no')
+{
+ $cli_debug = true;
+ $backend_test = false;
+}
+
+session_start();
+$receiver = $_SESSION['receiver'];
+
+if (! $receiver)
+ echo "Please buy something before landing here!";
+else
+ echo "Thanks for donating to " . $receiver;
+
+?>
+
+</body>
+</html>