merchant

Merchant backend to process payments, run by merchants
Log | Files | Refs | Submodules | README | LICENSE

commit 8e2a3f641a9cd727b6daf67b320ac2b52e01f9f8
parent 4f51dec8a3cc2e2290fdc712f94d74381b98a154
Author: Christian Grothoff <grothoff@gnunet.org>
Date:   Wed,  3 Nov 2021 00:27:27 +0100

add ACCEPTED case

Diffstat:
Msrc/testing/testing_api_cmd_get_orders.c | 10+++-------
1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/src/testing/testing_api_cmd_get_orders.c b/src/testing/testing_api_cmd_get_orders.c @@ -179,6 +179,9 @@ get_orders_cb (void *cls, } } break; + case MHD_HTTP_ACCEPTED: + /* FIXME: do more checks here (new KYC logic!) */ + break; default: GNUNET_log (GNUNET_ERROR_TYPE_WARNING, "Unhandled HTTP status.\n"); @@ -190,7 +193,6 @@ get_orders_cb (void *cls, /** * Run the "GET /orders" CMD. * - * * @param cls closure. * @param cmd command being run now. * @param is interpreter state. @@ -499,9 +501,6 @@ merchant_poll_orders_start_cleanup (void *cls, } -/** - * Start a long poll for GET /private/orders. - */ struct TALER_TESTING_Command TALER_TESTING_cmd_poll_orders_start (const char *label, const char *merchant_url, @@ -586,9 +585,6 @@ merchant_poll_orders_conclude_cleanup (void *cls, } -/** - * Complete a long poll for GET /private/orders. - */ struct TALER_TESTING_Command TALER_TESTING_cmd_poll_orders_conclude (const char *label, unsigned int http_status,