From 9f15044d5f39fbb4029928d362382ace87ab4602 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Mon, 22 Jan 2018 13:41:32 +0100 Subject: error codes for merchant /check-payment --- src/include/taler_error_codes.h | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) (limited to 'src') 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 ************* */ -- cgit v1.2.3