diff options
author | Özgür Kesim <oec-taler@kesim.org> | 2022-03-15 17:06:55 +0100 |
---|---|---|
committer | Özgür Kesim <oec-taler@kesim.org> | 2022-03-15 17:06:55 +0100 |
commit | 3454c60abebb6f49e5adfd0c2f67571aca637dd7 (patch) | |
tree | f89a7c89c94cec0476ad73a51158dda4332d69bf /gnu-taler-error-codes/registry.rec | |
parent | 048ad729b3177a5de1726517bc905e6cd7688d0d (diff) | |
download | gana-3454c60abebb6f49e5adfd0c2f67571aca637dd7.tar.gz gana-3454c60abebb6f49e5adfd0c2f67571aca637dd7.zip |
[TALER merchant] added error codes for age restriction in the merchant
Diffstat (limited to 'gnu-taler-error-codes/registry.rec')
-rw-r--r-- | gnu-taler-error-codes/registry.rec | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gnu-taler-error-codes/registry.rec b/gnu-taler-error-codes/registry.rec index 701c316..70e09d7 100644 --- a/gnu-taler-error-codes/registry.rec +++ b/gnu-taler-error-codes/registry.rec | |||
@@ -1061,6 +1061,21 @@ Name: MERCHANT_POST_ORDERS_ID_PAY_EXCHANGE_FAILED | |||
1061 | Description: The payment failed at the exchange. | 1061 | Description: The payment failed at the exchange. |
1062 | HttpStatus: 502 | 1062 | HttpStatus: 502 |
1063 | 1063 | ||
1064 | Value: 2171 | ||
1065 | Name: TALER_EC_MERCHANT_POST_ORDERS_ID_PAY_AGE_COMMITMENT_MISSING | ||
1066 | Description: The payment required a minimum age but one of the coins (of a denomination with support for age restriction) did not provide any age_commitment. | ||
1067 | HttpStatus: 400 | ||
1068 | |||
1069 | Value: 2172 | ||
1070 | Name: TALER_EC_MERCHANT_POST_ORDERS_ID_PAY_AGE_COMMITMENT_SIZE_MISMATCH | ||
1071 | Description: The payment required a minimum age but one of the coins provided an age_commitment that contained a wrong number of public keys compared to the number of age groups defined in the denomination of the coin. | ||
1072 | HttpStatus: 400 | ||
1073 | |||
1074 | Value: 2173 | ||
1075 | Name: TALER_EC_MERCHANT_POST_ORDERS_ID_PAY_AGE_VERIFICATION_FAILED | ||
1076 | Description: The payment required a minimum age but one of the coins provided a minimum_age_sig that couldn't be verified with the given age_commitment for that particular minimum age. | ||
1077 | HttpStatus: 400 | ||
1078 | |||
1064 | # 2200-2249: post orders ID paid endpoint | 1079 | # 2200-2249: post orders ID paid endpoint |
1065 | 1080 | ||
1066 | Value: 2200 | 1081 | Value: 2200 |