aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2018-01-22 13:41:32 +0100
committerFlorian Dold <florian.dold@gmail.com>2018-01-22 13:41:32 +0100
commit9f15044d5f39fbb4029928d362382ace87ab4602 (patch)
tree97ab828c696267100f564978adb68fd486ffacf9 /src/include
parentbb39c62dffe9d9418a3b4b53ff9e94b29a0fae2a (diff)
error codes for merchant /check-payment
Diffstat (limited to 'src/include')
-rw-r--r--src/include/taler_error_codes.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/include/taler_error_codes.h b/src/include/taler_error_codes.h
index 1e309a456..6353d8905 100644
--- a/src/include/taler_error_codes.h
+++ b/src/include/taler_error_codes.h
@@ -1457,6 +1457,38 @@ enum TALER_ErrorCode
*/
TALER_EC_TIP_QUERY_TIP_ID_UNKNOWN = 2810,
+ /**
+ * The instance for check-payment is unknown, likely
+ * a buggy frontend or misconfigured instances.
+ */
+ TALER_EC_CHECK_PAYMENT_INSTANCE_UNKNOWN = 2910,
+
+ /**
+ * We failed to contract terms from our merchant database.
+ * The response is provided with HTTP status code
+ * MHD_HTTP_INTERNAL_SERVER_ERROR.
+ */
+ TALER_EC_CHECK_PAYMENT_DB_FETCH_CONTRACT_TERMS_ERROR = 2911,
+
+ /**
+ * We failed to contract terms from our merchant database.
+ * The response is provided with HTTP status code
+ * MHD_HTTP_INTERNAL_SERVER_ERROR.
+ */
+ TALER_EC_CHECK_PAYMENT_DB_FETCH_ORDER_ERROR = 2912,
+
+ /**
+ * The order id we're checking is unknown, likely
+ * the frontend did not create the order first.
+ */
+ TALER_EC_CHECK_PAYMENT_ORDER_ID_UNKNOWN = 2913,
+
+ /**
+ * Failed computing a hash code (likely server out-of-memory).
+ * This response is
+ * provided with HTTP status code MHD_HTTP_INTERNAL_SERVER_ERROR.
+ */
+ TALER_EC_CHECK_PAYMENT_FAILED_COMPUTE_PROPOSAL_HASH = 2014,
/* ********** /test API error codes ************* */