merchant

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

commit a91b81e696dc6581947c1882b565224ed365e16d
parent 7878dac503af039f2fcbc17585187af0554da3e7
Author: Florian Dold <florian.dold@gmail.com>
Date:   Mon, 25 Jan 2016 14:52:31 +0100

add fulfillment URL in the right place (next try)

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 @@ -54,6 +54,7 @@ $now = new DateTime('now'); // pack the JSON for the contract $contract = array( + 'fulfillment_url' => (url_rel("fulfillment.php") . '?uuid=${H_contract}'), 'amount' => array( 'value' => $amount_value, 'fraction' => $amount_fraction, @@ -142,7 +143,6 @@ if ($status_code != 200) else { $got_json = json_decode($resp->body->toString(), true); - $got_json['fulfillment_url']= url_rel("fulfillment.php") . '?uuid=${H_contract}'; $_SESSION['H_contract'] = $got_json["H_contract"]; echo json_encode ($got_json, JSON_PRETTY_PRINT); }