diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-11-01 12:44:12 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-11-01 12:44:12 +0100 |
commit | 3f1cb92782e404d907e4337393d92d8157acd4e7 (patch) | |
tree | a9c7799e3d863587fd95c1d157585bb292efeff9 /src/lib/merchant_api_tip_authorize.c | |
parent | 26f8dda0fe79159fcb47acb9706d8dad8a2426dc (diff) | |
download | merchant-3f1cb92782e404d907e4337393d92d8157acd4e7.tar.gz merchant-3f1cb92782e404d907e4337393d92d8157acd4e7.tar.bz2 merchant-3f1cb92782e404d907e4337393d92d8157acd4e7.zip |
tests and bugfixes for /tip-authorize
Diffstat (limited to 'src/lib/merchant_api_tip_authorize.c')
-rw-r--r-- | src/lib/merchant_api_tip_authorize.c | 6 |
1 files changed, 6 insertions, 0 deletions
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 */ |