commit fe4fecb017950ae1eb31db72f1b8c3717a62094d parent 647604503e53c36549646463cc201c0021ca8c15 Author: Christian Grothoff <christian@grothoff.org> Date: Tue, 2 Sep 2025 13:59:23 +0200 rework ECs Diffstat:
| M | gnu-taler-error-codes/registry.rec | | | 37 | +++++++++++++++++++++++++++++++------ |
1 file changed, 31 insertions(+), 6 deletions(-)
diff --git a/gnu-taler-error-codes/registry.rec b/gnu-taler-error-codes/registry.rec @@ -1537,11 +1537,6 @@ Name: MERCHANT_GENERIC_CATEGORY_UNKNOWN Description: The product category is not known to the backend. HttpStatus: 404 -Value: 2004 -Name: MERCHANT_GENERIC_MFA_HELPER_EXEC_FAILED -Description: The backend failed to launch a helper process required for the multi-factor authentication step. The backend operator should check the logs and fix the Taler merchant backend configuration. -HttpStatus: 500 - Value: 2005 Name: MERCHANT_GENERIC_ORDER_UNKNOWN Description: The proposal is not known to the backend. @@ -1674,7 +1669,7 @@ HttpStatus: 501 # 2100-2499: public API -# 2100-2149: get orders endpoint +# 2100-2124: get orders endpoint Value: 2100 Name: MERCHANT_GET_ORDERS_EXCHANGE_TRACKING_FAILURE @@ -1706,6 +1701,36 @@ Name: MERCHANT_GET_ORDERS_ID_INVALID_CONTRACT_VERSION Description: The contract terms version is not invalid. HttpStatus: 403 + +# 2125-2149: multi-factor authentication + +Value: 2125 +Name: MERCHANT_TAN_CHALLENGE_FAILED +Description: The provided TAN code is invalid for this challenge. +HttpStatus: 409 + +Value: 2126 +Name: MERCHANT_TAN_CHALLENGE_EXPIRED +Description: The challenge has expired and thus cannot be solved anymore. +HttpStatus: 410 + +Value: 2127 +Name: MERCHANT_TAN_TOO_MANY_ATTEMPTS +Description: There have been too many attempts to solve the challenge. A new TAN must be requested. +HttpStatus: 429 + +Value: 2128 +Name: MERCHANT_TAN_MFA_HELPER_EXEC_FAILED +Description: The backend failed to launch a helper process required for the multi-factor authentication step. The backend operator should check the logs and fix the Taler merchant backend configuration. +HttpStatus: 502 + +Value: 2129 +Name: MERCHANT_TAN_CHALLENGE_UNKNOWN +Description: The backend is not aware of the specified MFA challenge. +HttpStatus: 404 + + + # 2150-2199: post orders ID pay endpoint Value: 2150