merchant

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

commit 65cef9a1b4d958b59d93893ac3652c1a956e11e3
parent 2bd0fa0bdda025f2234b422d8bd23ff1800da5aa
Author: Marcello Stanisci <marcello.stanisci@inria.fr>
Date:   Mon, 21 Dec 2015 13:41:41 +0100

fixing string concatentation when building pay URL addressed
to the backend

Diffstat:
Msrc/frontend/pay.php | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/frontend/pay.php b/src/frontend/pay.php @@ -84,7 +84,7 @@ if ($cli_debug && !$backend_test) // Backend is relative to the shop site. -$url = (new http\URL("http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]")) +$url = (new http\URL("http://".$_SERVER["HTTP_HOST"].$_SERVER["REQUEST_URI"])) ->mod(array ("path" => "backend/pay"), http\Url::JOIN_PATH); $req = new http\Client\Request("POST",