summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcello Stanisci <marcello.stanisci@inria.fr>2015-11-18 11:21:40 +0100
committerMarcello Stanisci <marcello.stanisci@inria.fr>2015-11-18 11:21:40 +0100
commite142f344f8159c737425692f878e7ee1231477cd (patch)
treee247b1479540cd8c0700a13255e4f85e0ceca061
parent20b597e91802a3a6b925eabd4b236069fe706d8b (diff)
downloadmerchant-e142f344f8159c737425692f878e7ee1231477cd.tar.gz
merchant-e142f344f8159c737425692f878e7ee1231477cd.tar.bz2
merchant-e142f344f8159c737425692f878e7ee1231477cd.zip
setting a longer fullfillment page (the link inside not shown)
-rw-r--r--src/frontend/index.html4
-rw-r--r--src/frontend/pay.php10
2 files changed, 9 insertions, 5 deletions
diff --git a/src/frontend/index.html b/src/frontend/index.html
index a867e0af..8111735f 100644
--- a/src/frontend/index.html
+++ b/src/frontend/index.html
@@ -48,8 +48,6 @@
<!-- TODO: maybe offer the wallet at 'taler.net/extension' in the
future, instead of at 'demo.taler.net/'? -->
</p>
- <p>Still missing a wallet? <a href="http://demo.taler.net/extension">Install one!</a>
- </p>
</div>
</div>
<div class="supporting" id="instructions" role="main">
@@ -57,7 +55,7 @@
<h2>Step 1: Installing the Taler wallet (once)</h2>
<p>First, you need to install the Taler wallet browser extension.
It is currently only available for Firefox. If you run
- Firefox, simply click <a href="/extension">here</a>
+ Firefox, simply click <a href="http://demo.taler.net/extension">here</a>
to download and install the extension. You will then have to
click on "allow" and "install" dialogs shown by Firefox.
After that, the Taler logo should appear on the right side
diff --git a/src/frontend/pay.php b/src/frontend/pay.php
index 3b49c01d..d13bb6d5 100644
--- a/src/frontend/pay.php
+++ b/src/frontend/pay.php
@@ -92,8 +92,14 @@ if ($status_code != 200)
}
else
{
- header("Content-Type", "text/html");
- echo '<html><title>GNU Taler payment</title><body>Payment succeeded!</body></html>\n';
+ /*$resp_page = "<html><title>GNU Taler payment</title>"
+ . "<body>Payment succeeded! Go to <a href=\"http://"
+ . $_SERVER["SERVER_NAME"] . "\">our homepage</a></body></html>";
+ header("Content-Type", "text/html");*/
+ $resp_page = "<html><title>GNU Taler payment</title>"
+ . "<body>Payment succeeded!</body></html>";
+
+ echo $resp_page;
}
?>