merchant

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

commit dc0907d254a901491e50bb955d8ed10c8c9655b7
parent 09b3d97746973387ff5594285e77dd5bf5235eb4
Author: Florian Dold <florian.dold@gmail.com>
Date:   Sat, 31 Aug 2019 13:45:19 +0200

log refunded amount

Diffstat:
Msrc/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 @@ -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 !=