diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-05-18 19:11:08 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-05-18 19:11:08 +0200 |
commit | 49bb51daf5486817c3adc8a63137de1ec9d98589 (patch) | |
tree | c1b3151faf42ab2abdb64b46b4e10c0330183b84 /src/backend/taler-merchant-httpd_post-orders-ID-pay.c | |
parent | 1792cbaa740194e7aebb051f7ce49b3d17976648 (diff) | |
download | merchant-49bb51daf5486817c3adc8a63137de1ec9d98589.tar.gz merchant-49bb51daf5486817c3adc8a63137de1ec9d98589.tar.bz2 merchant-49bb51daf5486817c3adc8a63137de1ec9d98589.zip |
implement POST /reserves
Diffstat (limited to 'src/backend/taler-merchant-httpd_post-orders-ID-pay.c')
-rw-r--r-- | src/backend/taler-merchant-httpd_post-orders-ID-pay.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/backend/taler-merchant-httpd_post-orders-ID-pay.c b/src/backend/taler-merchant-httpd_post-orders-ID-pay.c index ca519a9f..b1f5c037 100644 --- a/src/backend/taler-merchant-httpd_post-orders-ID-pay.c +++ b/src/backend/taler-merchant-httpd_post-orders-ID-pay.c @@ -689,22 +689,25 @@ deposit_cb (void *cls, * @param cls the `struct PayContext` * @param hr HTTP response details * @param exchange_handle NULL if exchange was not found to be acceptable + * @param payto_uri payto://-URI of the exchange * @param wire_fee current applicable fee for dealing with @a exchange_handle, * NULL if not available - * @param exchange_trusted #GNUNET_YES if this exchange is + * @param exchange_trusted true if this exchange is * trusted by config */ static void process_pay_with_exchange (void *cls, const struct TALER_EXCHANGE_HttpResponse *hr, struct TALER_EXCHANGE_Handle *exchange_handle, + const char *payto_uri, const struct TALER_Amount *wire_fee, - int exchange_trusted) + bool exchange_trusted) { struct PayContext *pc = cls; struct TMH_HandlerContext *hc = pc->hc; const struct TALER_EXCHANGE_Keys *keys; + (void) payto_uri; pc->fo = NULL; GNUNET_assert (GNUNET_YES == pc->suspended); if (MHD_HTTP_OK != hr->http_status) |