commit 5512e94d100b44c482ea62f72492700e8a1a1df6
parent 71876a14450a058006b3eaf70f8cf91992f82f04
Author: Christian Grothoff <christian@grothoff.org>
Date: Sun, 21 Dec 2025 19:58:31 +0100
update gana
Diffstat:
2 files changed, 17 insertions(+), 1 deletion(-)
diff --git a/src/include/taler/taler_error_codes.h b/src/include/taler/taler_error_codes.h
@@ -3058,6 +3058,14 @@ enum TALER_ErrorCode
/**
+ * Some of the exchanges involved refused the request for reasons related to legitimization. The wallet should try with coins of different exchanges. The merchant should check if they have some legitimization process pending at the exchange.
+ * Returned with an HTTP status code of #MHD_HTTP_UNAVAILABLE_FOR_LEGAL_REASONS (451).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ TALER_EC_MERCHANT_POST_ORDERS_ID_PAY_EXCHANGE_LEGALLY_REFUSED = 2186,
+
+
+ /**
* The contract hash does not match the given order ID.
* Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
* (A value of 0 indicates that the error is generated client-side).
diff --git a/src/util/taler_error_codes.c b/src/util/taler_error_codes.c
@@ -3038,6 +3038,14 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
},
{
+ /* 2186 */
+ .ec = TALER_EC_MERCHANT_POST_ORDERS_ID_PAY_EXCHANGE_LEGALLY_REFUSED,
+ .hint = gettext_noop (
+ "Some of the exchanges involved refused the request for reasons related to legitimization. The wallet should try with coins of different exchanges. The merchant should check if they have some legitimization process pending at the exchange."),
+ .http_code = MHD_HTTP_UNAVAILABLE_FOR_LEGAL_REASONS
+ },
+
+ {
/* 2200 */
.ec = TALER_EC_MERCHANT_POST_ORDERS_ID_PAID_CONTRACT_HASH_MISMATCH,
.hint = gettext_noop (
@@ -5499,7 +5507,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/**
* The length of @e code_hint_pairs.
*/
-static const unsigned int code_hint_pairs_length = 688;
+static const unsigned int code_hint_pairs_length = 689;
const char *