summaryrefslogtreecommitdiff
path: root/src/frontend/cert.php
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-08-18 18:30:38 +0200
committerChristian Grothoff <christian@grothoff.org>2015-08-18 18:30:38 +0200
commitd09f4dd972c9ef6dce68fca786f9dce964d689d5 (patch)
tree80feb740de19c7e7022f6e54b4de4f3b4d422507 /src/frontend/cert.php
parent5223abda2bcab0b33a67ff7817034954ec072095 (diff)
downloadmerchant-d09f4dd972c9ef6dce68fca786f9dce964d689d5.tar.gz
merchant-d09f4dd972c9ef6dce68fca786f9dce964d689d5.tar.bz2
merchant-d09f4dd972c9ef6dce68fca786f9dce964d689d5.zip
revamping the toy site: more explanations, closer to desired flow
Diffstat (limited to 'src/frontend/cert.php')
-rw-r--r--src/frontend/cert.php9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/frontend/cert.php b/src/frontend/cert.php
index 501fe31b..5572281c 100644
--- a/src/frontend/cert.php
+++ b/src/frontend/cert.php
@@ -1,7 +1,6 @@
+<!DOCTYPE html>
<?php
-
/*
-
This file is part of TALER
Copyright (C) 2014, 2015 Christian Grothoff (and other contributing authors)
@@ -15,7 +14,6 @@
You should have received a copy of the GNU General Public License along with
TALER; see the file COPYING. If not, If not, see <http://www.gnu.org/licenses/>
-
*/
/*
@@ -23,11 +21,8 @@
Here goes all the Taler paying logic. The steps are
1. recover the session
-
2. generate the JSON to forward to the backend
-
3. route back to the wallet the certificate just gotten
-
*/
@@ -37,7 +32,6 @@ if(!isset($_SESSION['maydonate'])){
http_response_code(404);
echo "Please try to donate before getting to this page :)";
}
-
else{
// fake product id
$p_id = rand(0,1001);
@@ -83,7 +77,6 @@ else{
else{
echo $resp->body->toString ();
}
-
}