merchant

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

commit 0dc840d7c83f176858f3ea9c381c1e76344fa3be
parent 90d329ca9ce53644cec0061f9810f0713aeb85d5
Author: Florian Dold <florian.dold@gmail.com>
Date:   Tue, 16 Jan 2018 03:30:34 +0100

products must be array, not object

Diffstat:
Msrc/backend/taler-merchant-httpd_proposal.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/backend/taler-merchant-httpd_proposal.c b/src/backend/taler-merchant-httpd_proposal.c @@ -257,7 +257,7 @@ proposal_put (struct MHD_Connection *connection, { // FIXME: When there is no explicit product, // should we create a singleton product list? - json_object_set_new (order, "products", json_object ()); + json_object_set_new (order, "products", json_array ()); } const char *instance = json_string_value (json_object_get (order, "instance"));