gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-merchant] branch master updated: more logging


From: gnunet
Subject: [taler-merchant] branch master updated: more logging
Date: Mon, 11 Nov 2019 19:54:03 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository merchant.

The following commit(s) were added to refs/heads/master by this push:
     new 5379d57  more logging
5379d57 is described below

commit 5379d577ff6f674fcfb080425bf5a8a42dd2b1c0
Author: Christian Grothoff <address@hidden>
AuthorDate: Mon Nov 11 19:54:00 2019 +0100

    more logging
---
 src/backend/taler-merchant-httpd_check-payment.c | 4 ++++
 src/backend/taler-merchant-httpd_pay.c           | 5 +++++
 2 files changed, 9 insertions(+)

diff --git a/src/backend/taler-merchant-httpd_check-payment.c 
b/src/backend/taler-merchant-httpd_check-payment.c
index f0e39c2..260f331 100644
--- a/src/backend/taler-merchant-httpd_check-payment.c
+++ b/src/backend/taler-merchant-httpd_check-payment.c
@@ -461,6 +461,10 @@ MH_handler_check_payment (struct TMH_RequestHandler *rh,
     if (GNUNET_OK !=
         parse_contract_terms (cprc))
       return cprc->ret;
+    GNUNET_log (GNUNET_ERROR_TYPE_INFO,
+                "Order `%s' matches contract %s\n",
+                cprc->order_id,
+                GNUNET_h2s (&cprc->h_contract_terms));
   }
   GNUNET_log (GNUNET_ERROR_TYPE_INFO,
               "Checking payment status for order `%s'\n",
diff --git a/src/backend/taler-merchant-httpd_pay.c 
b/src/backend/taler-merchant-httpd_pay.c
index fb41383..f178aa6 100644
--- a/src/backend/taler-merchant-httpd_pay.c
+++ b/src/backend/taler-merchant-httpd_pay.c
@@ -980,6 +980,7 @@ generate_error_response (struct PayContext *pc,
 static void
 find_next_exchange (struct PayContext *pc);
 
+
 /**
  * Begin of the DB transaction.  If required (from
  * soft/serialization errors), the transaction can be
@@ -1524,6 +1525,10 @@ parse_pay (struct MHD_Connection *connection,
     }
     return GNUNET_NO;
   }
+  GNUNET_log (GNUNET_ERROR_TYPE_INFO,
+              "Handling /pay for order `%s' with contract hash `%s'\n",
+              order_id,
+              GNUNET_h2s (&pc->h_contract_terms));
 
   merchant = json_object_get (pc->contract_terms,
                               "merchant");

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]