merchant

Merchant backend to process payments, run by merchants
Log | Files | Refs | Submodules | README | LICENSE

commit e142f344f8159c737425692f878e7ee1231477cd
parent 20b597e91802a3a6b925eabd4b236069fe706d8b
Author: Marcello Stanisci <marcello.stanisci@inria.fr>
Date:   Wed, 18 Nov 2015 11:21:40 +0100

setting a longer fullfillment page (the link inside not shown)

Diffstat:
Msrc/frontend/index.html | 4+---
Msrc/frontend/pay.php | 10++++++++--
2 files changed, 9 insertions(+), 5 deletions(-)

diff --git 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 @@ -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; } ?>