merchant

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

commit 0572dca585521031a73e08bdd88efd401329d744
parent 64978c91814964429d25b0b9618d10980d8625a0
Author: Christian Grothoff <grothoff@gnunet.org>
Date:   Mon, 26 Jan 2026 06:07:13 +0100

return specific EC when token family is unknown on /pay; fixes (part of) #10415

Diffstat:
Msrc/backend/taler-merchant-httpd_post-orders-ID-pay.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/taler-merchant-httpd_post-orders-ID-pay.c b/src/backend/taler-merchant-httpd_post-orders-ID-pay.c @@ -3581,8 +3581,8 @@ handle_output_token (struct PayContext *pc, TALER_MHD_reply_with_error ( pc->connection, MHD_HTTP_NOT_FOUND, - TALER_EC_GENERIC_DB_FETCH_FAILED, - NULL)); + TALER_EC_MERCHANT_GENERIC_TOKEN_KEY_UNKNOWN, + family->slug)); return GNUNET_NO; case GNUNET_DB_STATUS_SUCCESS_ONE_RESULT: