merchant

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

commit 2f314ee5d895ef60c9452f66b3a1f8679021851e
parent 4ae970e988682ed16a2bd7ffaf893dbd73a7e0ca
Author: Christian Grothoff <christian@grothoff.org>
Date:   Fri, 28 Feb 2020 10:08:11 +0100

allow summary to be itself an object for i18n

Diffstat:
Msrc/backend/taler-merchant-httpd_order.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/taler-merchant-httpd_order.c b/src/backend/taler-merchant-httpd_order.c @@ -195,7 +195,7 @@ proposal_put (struct MHD_Connection *connection, int res; struct TALER_Amount total; const char *order_id; - const char *summary; + json_t *summary; const char *fulfillment_url; json_t *products; json_t *merchant; @@ -206,7 +206,7 @@ proposal_put (struct MHD_Connection *connection, struct GNUNET_JSON_Specification spec[] = { TALER_JSON_spec_amount ("amount", &total), GNUNET_JSON_spec_string ("order_id", &order_id), - GNUNET_JSON_spec_string ("summary", &summary), + GNUNET_JSON_spec_json ("summary", &summary), GNUNET_JSON_spec_string ("fulfillment_url", &fulfillment_url), /**