summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-05-04 10:07:02 +0200
committerChristian Grothoff <christian@grothoff.org>2020-05-04 10:07:02 +0200
commit02eeee79d89ef782c3f9561c92268eec538aae04 (patch)
treec036725bb88aed5910c3af4e7eee834eb6617af9
parente4aa60fc4eaac55bdfa88c92e8b50a21750ba453 (diff)
downloadexchange-02eeee79d89ef782c3f9561c92268eec538aae04.tar.gz
exchange-02eeee79d89ef782c3f9561c92268eec538aae04.tar.bz2
exchange-02eeee79d89ef782c3f9561c92268eec538aae04.zip
add ec
-rw-r--r--src/include/taler_error_codes.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/include/taler_error_codes.h b/src/include/taler_error_codes.h
index bbdd7a4ac..f75464c35 100644
--- a/src/include/taler_error_codes.h
+++ b/src/include/taler_error_codes.h
@@ -1368,6 +1368,12 @@ enum TALER_ErrorCode
TALER_EC_PAY_REFUNDS_EXCEED_PAYMENTS = 2133,
/**
+ * Legacy stuff. Remove me with protocol v1. This response is provided
+ * with HTTP status code #MHD_HTTP_PREREQUISTE.
+ */
+ TALER_EC_PAY_ABORT_REFUND_REFUSED_PAYMENT_COMPLETE = 2134,
+
+ /**
* The merchant failed to contact the exchange. This response is
* provided with HTTP status code of #MHD_HTTP_FAILED_DEPENDENCY.
*/
@@ -1417,14 +1423,13 @@ enum TALER_ErrorCode
/**
* The payment was already completed and thus cannot be aborted
* anymore. This response is provided with HTTP status code of
- * #MHD_HTTP_FORBIDDEN.
+ * #MHD_HTTP_PRECONDITION_FAILED.
*/
TALER_EC_ABORT_REFUND_REFUSED_PAYMENT_COMPLETE = 2157,
/**
* The hash provided by the wallet does not match the order. This
- * response is provided with HTTP status code of
- * #MHD_HTTP_BAD_REQUEST.
+ * response is provided with HTTP status code of #MHD_HTTP_FORBIDDEN.
*/
TALER_EC_ABORT_CONTRACT_HASH_MISSMATCH = 2158,