merchant

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

commit 75f41a6bf10039d341f3a54c1a5dbf3ed4ca7e5a
parent 9c8891a5120e9299ab06c73b8778a0b50537b904
Author: Christian Grothoff <grothoff@gnunet.org>
Date:   Sun, 14 Jan 2024 16:17:43 +0100

add logging

Diffstat:
Msrc/backend/taler-merchant-httpd_post-orders-ID-pay.c | 3+++
Msrc/backend/taler-merchant-httpd_private-post-orders.c | 3+++
2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/src/backend/taler-merchant-httpd_post-orders-ID-pay.c b/src/backend/taler-merchant-httpd_post-orders-ID-pay.c @@ -2538,6 +2538,9 @@ phase_check_contract (struct PayContext *pc) return; } /* hash contract (needed later) */ + json_dumpf (pc->contract_terms, + stderr, + JSON_INDENT (2)); if (GNUNET_OK != TALER_JSON_contract_hash (pc->contract_terms, &pc->h_contract_terms)) diff --git a/src/backend/taler-merchant-httpd_private-post-orders.c b/src/backend/taler-merchant-httpd_private-post-orders.c @@ -957,6 +957,9 @@ check_contract (struct OrderContext *oc) { struct TALER_PrivateContractHashP h_control; + json_dumpf (oc->serialize_order.contract, + stderr, + JSON_INDENT (2)); switch (TALER_JSON_contract_hash (oc->serialize_order.contract, &h_control)) {