commit 48bf24e2f03e7e2bef4a317ea06bc1ea3389939c
parent d3cacfde052322bd4598fdabf7d835cbad6d3ad1
Author: Christian Grothoff <christian@grothoff.org>
Date: Sun, 31 May 2026 12:13:21 +0200
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
@@ -5921,6 +5921,14 @@ enum TALER_ErrorCode
/**
+ * The paywall functionality is currently disabled. Thus, proofs of payment are unnecessary and also not supported.
+ * Returned with an HTTP status code of #MHD_HTTP_NOT_IMPLEMENTED (501).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ TALER_EC_PAIVANA_PAYWALL_DISABLED = 9808,
+
+
+ /**
* End of error code range.
* Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0).
* (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
@@ -5669,6 +5669,14 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
},
{
+ /* 9808 */
+ .ec = TALER_EC_PAIVANA_PAYWALL_DISABLED,
+ .hint =
+ "The paywall functionality is currently disabled. Thus, proofs of payment are unnecessary and also not supported.",
+ .http_code = MHD_HTTP_NOT_IMPLEMENTED
+ },
+
+ {
/* 9999 */
.ec = TALER_EC_END,
.hint = "End of error code range.",
@@ -5682,7 +5690,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/**
* The length of @e code_hint_pairs.
*/
-static const unsigned int code_hint_pairs_length = 734;
+static const unsigned int code_hint_pairs_length = 735;
const char *