diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/taler-merchant-httpd_private-get-instances-ID-kyc.c | 8 | ||||
-rw-r--r-- | src/backend/taler-merchant-kyccheck.c | 5 |
2 files changed, 11 insertions, 2 deletions
diff --git a/src/backend/taler-merchant-httpd_private-get-instances-ID-kyc.c b/src/backend/taler-merchant-httpd_private-get-instances-ID-kyc.c index 8d7f437c..18fc4ceb 100644 --- a/src/backend/taler-merchant-httpd_private-get-instances-ID-kyc.c +++ b/src/backend/taler-merchant-httpd_private-get-instances-ID-kyc.c @@ -772,6 +772,14 @@ kyc_status_cb ( struct KycContext *kc = cls; struct ExchangeKycRequest *ekr; + GNUNET_log (GNUNET_ERROR_TYPE_INFO, + "KYC status for `%s' at `%s' is %u/%s/%s/%s\n", + payto_uri, + exchange_url, + last_http_status, + kyc_ok ? "KYC OK" : "KYC NEEDED", + in_aml_review ? "IN AML REVIEW" : "NO AML REVIEW", + NULL == jlimits ? "DEFAULT LIMITS" : "CUSTOM LIMITS"); switch (kc->lpt) { case TALER_EXCHANGE_KLPT_NONE: diff --git a/src/backend/taler-merchant-kyccheck.c b/src/backend/taler-merchant-kyccheck.c index 036f33e9..ae142511 100644 --- a/src/backend/taler-merchant-kyccheck.c +++ b/src/backend/taler-merchant-kyccheck.c @@ -606,10 +606,11 @@ exchange_check_cb ( return; } GNUNET_log (GNUNET_ERROR_TYPE_INFO, - "account_set_kyc_status (%s, %u, %d) returned %d\n", + "account_set_kyc_status (%s, %u, %s, %s) returned %d\n", i->e->keys->exchange_url, i->last_http_status, - i->auth_ok, + i->auth_ok ? "auth OK" : "auth needed", + NULL == i->jlimits ? "default limits" : "custom limits", (int) qs); i->not_first_time = true; } |