merchant

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

commit b066127343e62a96c965db88911cc7af3ac9fb31
parent 0572dca585521031a73e08bdd88efd401329d744
Author: Christian Grothoff <grothoff@gnunet.org>
Date:   Mon, 26 Jan 2026 06:21:08 +0100

return more specific ECs (#10415)

Diffstat:
Msrc/backend/taler-merchant-httpd_post-orders-ID-pay.c | 13+++++++------
1 file changed, 7 insertions(+), 6 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 @@ -4716,8 +4716,8 @@ phase_parse_wallet_data (struct PayContext *pc) TALER_MHD_reply_with_error ( pc->connection, MHD_HTTP_NOT_FOUND, - TALER_EC_GENERIC_PARAMETER_MALFORMED, - "No matching Donau charity found for the given URL")); + TALER_EC_MERCHANT_GENERIC_DONAU_CHARITY_UNKNOWN, + donau_url_tmp)); return; case GNUNET_DB_STATUS_SUCCESS_ONE_RESULT: pc->parse_wallet_data.donau.donau_url = @@ -4782,10 +4782,11 @@ phase_parse_wallet_data (struct PayContext *pc) if (NULL != donau_obj) { pay_end (pc, - TALER_MHD_reply_with_error (pc->connection, - MHD_HTTP_NOT_IMPLEMENTED, - TALER_EC_MERCHANT_GENERIC_DONAU_NOT_CONFIGURED, - "donau support disabled")); + TALER_MHD_reply_with_error ( + pc->connection, + MHD_HTTP_NOT_IMPLEMENTED, + TALER_EC_MERCHANT_GENERIC_DONAU_NOT_CONFIGURED, + "donau support disabled")); return; } #endif /* HAVE_DONAU_DONAU_SERVICE_H */