merchant

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

commit 64a7d25e935107383d468a35ed37bb6f0f8776a6
parent 257ee8379ecc4af7ac325aaf868b4e23a9293c14
Author: Christian Grothoff <christian@grothoff.org>
Date:   Fri, 10 Apr 2020 21:33:19 +0200

fix log levels

Diffstat:
Msrc/backend/taler-merchant-httpd_refund_increase.c | 2+-
Msrc/backenddb/plugin_merchantdb_postgres.c | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/taler-merchant-httpd_refund_increase.c b/src/backend/taler-merchant-httpd_refund_increase.c @@ -248,7 +248,7 @@ process_refund (struct MHD_Connection *connection, } if (GNUNET_DB_STATUS_SUCCESS_NO_RESULTS == qs) { - GNUNET_log (GNUNET_ERROR_TYPE_ERROR, + GNUNET_log (GNUNET_ERROR_TYPE_WARNING, "Refusing refund amount %s that is larger than original payment\n", TALER_amount2s (refund)); return TALER_MHD_reply_with_error (connection, diff --git a/src/backenddb/plugin_merchantdb_postgres.c b/src/backenddb/plugin_merchantdb_postgres.c @@ -2388,7 +2388,7 @@ process_deposits_for_refund_cb (void *cls, * issue a refund bigger than the contract's actual price, we cannot * rely upon the frontend being correct. */// - GNUNET_log (GNUNET_ERROR_TYPE_ERROR, + GNUNET_log (GNUNET_ERROR_TYPE_WARNING, "The refund of %s is bigger than the order's value\n", TALER_amount2s (ctx->refund)); ctx->qs = GNUNET_DB_STATUS_SUCCESS_NO_RESULTS;