diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-11-09 13:06:21 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-11-09 13:06:21 +0100 |
commit | e095f81c0acf1ae21874eb50936b30111fefef89 (patch) | |
tree | 6b437b5bf5ad3780e8345b58515747eb2d4da740 /src/lib/merchant_api_check_payment.c | |
parent | edfc078b18effea43865a093df69e5fcb1c3475d (diff) | |
download | merchant-e095f81c0acf1ae21874eb50936b30111fefef89.tar.gz merchant-e095f81c0acf1ae21874eb50936b30111fefef89.tar.bz2 merchant-e095f81c0acf1ae21874eb50936b30111fefef89.zip |
api update, not fully implemented
Diffstat (limited to 'src/lib/merchant_api_check_payment.c')
-rw-r--r-- | src/lib/merchant_api_check_payment.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/merchant_api_check_payment.c b/src/lib/merchant_api_check_payment.c index 35cd44ce..fe38a18a 100644 --- a/src/lib/merchant_api_check_payment.c +++ b/src/lib/merchant_api_check_payment.c @@ -178,6 +178,10 @@ handle_check_payment_finished (void *cls, * @param backend_url base URL of the merchant backend * @param order_id order id to identify the payment * @parem session_id sesion id for the payment (or NULL if the payment is not bound to a session) + * @param timeout timeout to use in long polling (how long may the server wait to reply + * before generating an unpaid response). Note that this is just provided to + * the server, we as client will block until the response comes back or until + * #TALER_MERCHANT_poll_payment_cancel() is called. * @param check_payment_cb callback which will work the response gotten from the backend * @param check_payment_cb_cls closure to pass to @a check_payment_cb * @return handle for this operation, NULL upon errors @@ -187,6 +191,7 @@ TALER_MERCHANT_check_payment (struct GNUNET_CURL_Context *ctx, const char *backend_url, const char *order_id, const char *session_id, + struct GNUNET_TIME_Relative timeout, TALER_MERCHANT_CheckPaymentCallback check_payment_cb, void *check_payment_cb_cls) |