merchant

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

commit 5bf86b2356026e97b007ba966cc300e9056aefa0
parent 0f9b59280605bd54ac4c7219ab57558fce45ed1e
Author: Florian Dold <florian.dold@gmail.com>
Date:   Sun, 24 Jan 2016 19:09:48 +0100

type error

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

diff --git a/src/frontend/generate_taler_contract.php b/src/frontend/generate_taler_contract.php @@ -130,7 +130,7 @@ if ($status_code != 200) } else { - $got_json = json_decode ($resp->body->toString ()); + $got_json = json_decode ($resp->body->toString (), true); $got_json['pay_url'] = url_rel("pay.php"); $got_json['exec_url'] = url_rel("execute.php") . "?H_contract=" . $got_json->H_contract; $_SESSION['H_contract'] = $got_json->H_contract;