diff options
author | Christian Grothoff <christian@grothoff.org> | 2024-02-13 22:01:02 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2024-02-13 22:01:02 +0100 |
commit | 2d6bce2dc0ded9fcb77caa1cafecd401216b7238 (patch) | |
tree | 7614abdaea0d86b8356f26e9be78bd5ba5dad1f9 /src/include | |
parent | c4dfd21ebe721959312cd52a7224fbbf84e75c4d (diff) |
set 'finished' to TRUE when KYC process is done (either way, successful or failure); should fix #8055, needs testing
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/taler_exchangedb_plugin.h | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/src/include/taler_exchangedb_plugin.h b/src/include/taler_exchangedb_plugin.h index 33546e008..c7bffbd89 100644 --- a/src/include/taler_exchangedb_plugin.h +++ b/src/include/taler_exchangedb_plugin.h @@ -1,6 +1,6 @@ /* This file is part of TALER - Copyright (C) 2014-2023 Taler Systems SA + Copyright (C) 2014-2024 Taler Systems SA TALER is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software @@ -7186,6 +7186,26 @@ struct TALER_EXCHANGEDB_Plugin struct GNUNET_TIME_Timestamp *last_date); + /** + * Update KYC process status to finished (and failed). + * + * @param cls closure + * @param process_row KYC process row to update + * @param h_payto account for which the attribute data is stored + * @param provider_section provider that must be checked + * @param provider_account_id provider account ID + * @param provider_legitimization_id provider legitimization ID + * @return database transaction status + */ + enum GNUNET_DB_QueryStatus + (*insert_kyc_failure)( + void *cls, + uint64_t process_row, + const struct TALER_PaytoHashP *h_payto, + const char *provider_section, + const char *provider_account_id, + const char *provider_legitimization_id); + }; #endif /* _TALER_EXCHANGE_DB_H */ |