commit 53b6ad1820b0706fd58d2818bc1c2cf1331ad477
parent 52c25ba37e4dfa1ca7bad9c25a419eb9364f1603
Author: Christian Grothoff <christian@grothoff.org>
Date: Mon, 11 Nov 2019 23:19:12 +0100
fix json construction
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main.c b/src/main.c
@@ -683,7 +683,7 @@ launch_payment (const struct Product *product)
uuid_s);
GNUNET_free (uuid_s);
/* create the json object for the order request */
- orderReq = json_pack ("{ s:s, s:s, s:s }",
+ orderReq = json_pack ("{ s:s, s:o, s:s }",
"summary", product->description,
"amount", TALER_JSON_from_amount (&product->price),
"fulfillment_url", fulflmntUrl);
diff --git a/taler.conf b/taler.conf
@@ -31,7 +31,7 @@ number = 3
[product-1]
description = Twix
-price = TESTKDUOS:0.1
+price = TESTKUDOS:0.1
key = t
number = 2
#snickers