gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-merchant] branch master updated: log refunded amount


From: gnunet
Subject: [GNUnet-SVN] [taler-merchant] branch master updated: log refunded amount
Date: Sat, 31 Aug 2019 13:45:22 +0200

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

dold pushed a commit to branch master
in repository merchant.

The following commit(s) were added to refs/heads/master by this push:
     new dc0907d  log refunded amount
dc0907d is described below

commit dc0907d254a901491e50bb955d8ed10c8c9655b7
Author: Florian Dold <address@hidden>
AuthorDate: Sat Aug 31 13:45:19 2019 +0200

    log refunded amount
---
 src/backend/taler-merchant-httpd_pay.c | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/src/backend/taler-merchant-httpd_pay.c 
b/src/backend/taler-merchant-httpd_pay.c
index 7ebc579..a367af6 100644
--- a/src/backend/taler-merchant-httpd_pay.c
+++ b/src/backend/taler-merchant-httpd_pay.c
@@ -680,9 +680,11 @@ check_payment_sufficient (struct PayContext *pc)
   }
 
   GNUNET_log (GNUNET_ERROR_TYPE_INFO,
-              "Amount got by wallet: %s"
-              "\nDeposit fee for all coins: %s\n",
-              TALER_amount_to_string (&acc_amount),
+              "Amount received from wallet: %s\n"
+              TALER_amount_to_string (&acc_amount));
+
+  GNUNET_log (GNUNET_ERROR_TYPE_INFO,
+              "Deposit fee for all coins: %s\n",
               TALER_amount_to_string (&acc_fee));
 
   GNUNET_log (GNUNET_ERROR_TYPE_INFO,
@@ -694,6 +696,10 @@ check_payment_sufficient (struct PayContext *pc)
               "Deposit fee limit for merchant: %s\n",
               TALER_amount_to_string (&pc->max_fee));
 
+  GNUNET_log (GNUNET_ERROR_TYPE_INFO,
+              "Total refunded amount: %s\n",
+              TALER_amount_to_string (&pc->total_refunded));
+
   /* Now compare exchange wire fee compared to
    * what we are willing to pay */
   if (GNUNET_YES !=

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



reply via email to

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