merchant

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

commit 3d551635bc34cda92a75202ade8f1d8c76f62322
parent 60dd54200942fba728fb13460ccc44d899a485a1
Author: Christian Grothoff <christian@grothoff.org>
Date:   Thu,  2 Sep 2021 19:39:17 +0200

-nicer logging

Diffstat:
Msrc/backend/taler-merchant-httpd_private-post-transfers.c | 4++++
Msrc/backenddb/plugin_merchantdb_postgres.c | 2+-
Msrc/testing/test_merchant_transfer_tracking.sh | 2+-
3 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/backend/taler-merchant-httpd_private-post-transfers.c b/src/backend/taler-merchant-httpd_private-post-transfers.c @@ -1047,6 +1047,10 @@ TMH_private_post_transfers (const struct TMH_RequestHandler *rh, TALER_EC_MERCHANT_PRIVATE_POST_TRANSFERS_ACCOUNT_NOT_FOUND, ptc->payto_uri); case GNUNET_DB_STATUS_SUCCESS_ONE_RESULT: + GNUNET_log (GNUNET_ERROR_TYPE_WARNING, + "Bank account `%s' is configured at row %llu\n", + ptc->payto_uri, + (unsigned long long) account_serial); break; } diff --git a/src/backenddb/plugin_merchantdb_postgres.c b/src/backenddb/plugin_merchantdb_postgres.c @@ -4244,7 +4244,7 @@ postgres_lookup_transfer ( "lookup_transfer", params, rs); - GNUNET_log (GNUNET_ERROR_TYPE_WARNING, + GNUNET_log (GNUNET_ERROR_TYPE_INFO, "Lookup transfer returned %d\n", qs); if (qs > 0) diff --git a/src/testing/test_merchant_transfer_tracking.sh b/src/testing/test_merchant_transfer_tracking.sh @@ -176,7 +176,7 @@ export LAST_RESPONSE echo -n "Notifying merchant of correct wire transfer, but on wrong instance..." #issue 6912 -#here we are notifying the transfer into a wrong instance (default) and the payto_uri with the default instance +#here we are notifying the transfer into a wrong instance (default) and the payto_uri of the default instance STATUS=$(curl 'http://localhost:9966/instances/default/private/transfers' \ -d '{"credit_amount":"'$CREDIT_AMOUNT'","wtid":"'$WTID'","payto_uri":"payto://x-taler-bank/localhost:8082/Tor","exchange_url":"'$WURL'"}' \ -m 3 \