diff options
Diffstat (limited to 'src/frontend/pay.php')
-rw-r--r-- | src/frontend/pay.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/frontend/pay.php b/src/frontend/pay.php index 624be97e..55aaf9a3 100644 --- a/src/frontend/pay.php +++ b/src/frontend/pay.php @@ -94,12 +94,13 @@ else { /*$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");*/ + . $_SERVER["SERVER_NAME"] . "\">our homepage</a></body></html>";*/ + header("Content-Type", "application/json"); /*$resp_page = "<html><title>GNU Taler payment</title>" . "<body>Payment succeeded!</body></html>";*/ - echo "http://" + $_SERVER['SERVER_NAME']; + $ffill_obj = array ("fullfillment_page" => "http://" + $_SERVER['SERVER_NAME']); + echo json_encode ($ffill_obj); } ?> |