merchant

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

commit db5834df598e4ea4635872700f801cc6b720934a
parent 4f68918039408854874a2e402a86f7c15f74fd2f
Author: Christian Grothoff <grothoff@gnunet.org>
Date:   Tue, 13 Jan 2026 07:38:05 +0900

fix #10861

Diffstat:
Msrc/backend/taler-merchant-httpd_private-patch-products-ID.c | 11+++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/src/backend/taler-merchant-httpd_private-patch-products-ID.c b/src/backend/taler-merchant-httpd_private-patch-products-ID.c @@ -1,6 +1,6 @@ /* This file is part of TALER - (C) 2020--2025 Taler Systems SA + (C) 2020--2026 Taler Systems SA TALER is free software; you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as @@ -115,6 +115,14 @@ TMH_private_patch_products_ID ( &pd.total_lost), NULL), GNUNET_JSON_spec_mark_optional ( + GNUNET_JSON_spec_uint64 ("product_group_id", + &pd.product_group_id), + NULL), + GNUNET_JSON_spec_mark_optional ( + GNUNET_JSON_spec_uint64 ("money_pot_id", + &pd.money_pot_id), + NULL), + GNUNET_JSON_spec_mark_optional ( GNUNET_JSON_spec_json ("address", &pd.address), NULL), @@ -140,7 +148,6 @@ TMH_private_patch_products_ID ( bool no_group; bool no_pot; - pd.total_sold = 0; /* will be ignored anyway */ GNUNET_assert (NULL != mi); GNUNET_assert (NULL != product_id); {