merchant

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

commit 90ce6b204b6001b43800e28c47f1904cfe91b7f4
parent 577c93b3f881b6eb8f3be71a346e12ed495dd301
Author: Christian Grothoff <christian@grothoff.org>
Date:   Mon,  2 Feb 2026 10:30:14 +0100

implement #10615

Diffstat:
Msrc/backend/taler-merchant-httpd_private-get-orders-ID.c | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/backend/taler-merchant-httpd_private-get-orders-ID.c b/src/backend/taler-merchant-httpd_private-get-orders-ID.c @@ -1067,6 +1067,8 @@ phase_check_repurchase (struct GetOrderRequestContext *gorc) TALER_amount_is_valid (&gorc->contract_amount) ? &gorc->contract_amount : NULL)), + GNUNET_JSON_pack_object_incref ("proto_contract_terms", + gorc->contract_terms_json), GNUNET_JSON_pack_string ("summary", gorc->contract_terms->summary), GNUNET_JSON_pack_timestamp ("pay_deadline", @@ -1157,6 +1159,8 @@ phase_unpaid_finish (struct GetOrderRequestContext *gorc) order_status_url), GNUNET_JSON_pack_string ("order_status", "unpaid"), + GNUNET_JSON_pack_object_incref ("proto_contract_terms", + gorc->contract_terms_json), /* undefined for unpaid v1 contracts */ GNUNET_JSON_pack_allow_null ( TALER_JSON_pack_amount ("total_amount",