commit d4d9a210782c2a964bd140cfafd7cb15e5c1dae3
parent 96b566aa19a09be3d96cf8894ca3bd5615914e06
Author: Christian Grothoff <christian@grothoff.org>
Date: Fri, 26 Sep 2025 14:25:26 +0200
fix #10458
Diffstat:
1 file changed, 4 insertions(+), 5 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
@@ -2100,10 +2100,9 @@ merchant_donau_issue_receipt_cb (
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
"Donau batch issue request from merchant-httpd failed (http_status==0)");
resume_pay_with_error (pc,
- resp->hr.ec,
- "Donau batch issue request failed");
+ TALER_EC_MERCHANT_GENERIC_DONAU_INVALID_RESPONSE,
+ resp->hr.hint);
return;
-
case MHD_HTTP_OK:
case MHD_HTTP_CREATED:
if (TALER_EC_NONE != resp->hr.ec)
@@ -2137,8 +2136,8 @@ merchant_donau_issue_receipt_cb (
resp->hr.http_status,
resp->hr.ec);
resume_pay_with_error (pc,
- resp->hr.ec,
- "Donau HTTP error");
+ TALER_EC_MERCHANT_GENERIC_DONAU_INVALID_RESPONSE,
+ resp->hr.hint);
return;
}
}