From 49bb51daf5486817c3adc8a63137de1ec9d98589 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 18 May 2020 19:11:08 +0200 Subject: implement POST /reserves --- src/backend/taler-merchant-httpd_post-orders-ID-pay.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/backend/taler-merchant-httpd_post-orders-ID-pay.c') 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) -- cgit v1.2.3