[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] branch master updated: add ec
From: |
gnunet |
Subject: |
[taler-exchange] branch master updated: add ec |
Date: |
Mon, 04 May 2020 10:07:35 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository exchange.
The following commit(s) were added to refs/heads/master by this push:
new c7ae928f add ec
c7ae928f is described below
commit c7ae928ffc428edf1b1ceb373dfe89e92c434073
Author: Christian Grothoff <address@hidden>
AuthorDate: Mon May 4 10:07:32 2020 +0200
add ec
---
src/include/taler_error_codes.h | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/src/include/taler_error_codes.h b/src/include/taler_error_codes.h
index b3be7dc4..f75464c3 100644
--- a/src/include/taler_error_codes.h
+++ b/src/include/taler_error_codes.h
@@ -844,7 +844,7 @@ enum TALER_ErrorCode
/**
* The currency specified for the refund is different from the
* currency of the coin. This response is provided with HTTP status
- * code #MHD_HTTP_PRECONDITION_FAILED.
+ * code #MHD_HTTP_BAD_REQUEST.
*/
TALER_EC_REFUND_CURRENCY_MISMATCH = 1504,
@@ -1367,6 +1367,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,
--
To stop receiving notification emails like this one, please contact
address@hidden.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-exchange] branch master updated: add ec,
gnunet <=