From 3f1cb92782e404d907e4337393d92d8157acd4e7 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 1 Nov 2017 12:44:12 +0100 Subject: tests and bugfixes for /tip-authorize --- src/lib/merchant_api_tip_authorize.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/lib/merchant_api_tip_authorize.c') diff --git a/src/lib/merchant_api_tip_authorize.c b/src/lib/merchant_api_tip_authorize.c index e422197d..c2590b2b 100644 --- a/src/lib/merchant_api_tip_authorize.c +++ b/src/lib/merchant_api_tip_authorize.c @@ -139,6 +139,12 @@ handle_tip_authorize_finished (void *cls, response_code = 0; } break; + case MHD_HTTP_NOT_FOUND: + /* Well-defined status code, pass on to application! */ + break; + case MHD_HTTP_PRECONDITION_FAILED: + /* Well-defined status code, pass on to application! */ + break; case MHD_HTTP_INTERNAL_SERVER_ERROR: /* Server had an internal issue; we should retry, but this API leaves this to the application */ -- cgit v1.2.3