summaryrefslogtreecommitdiff
path: root/src/backend/taler-merchant-httpd_get-orders-ID.c
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2021-05-17 14:39:43 +0200
committerFlorian Dold <florian@dold.me>2021-05-17 14:39:52 +0200
commite0e86588565baf0111db24b431e8a4c908017da5 (patch)
tree85d7e6073e1aebc359db49fe4d135a50400e8179 /src/backend/taler-merchant-httpd_get-orders-ID.c
parentd671ac4a7a9fcac65d8a0baa4f846e934e77f0d9 (diff)
downloadmerchant-e0e86588565baf0111db24b431e8a4c908017da5.tar.gz
merchant-e0e86588565baf0111db24b431e8a4c908017da5.tar.bz2
merchant-e0e86588565baf0111db24b431e8a4c908017da5.zip
pass static_url to templates
Diffstat (limited to 'src/backend/taler-merchant-httpd_get-orders-ID.c')
-rw-r--r--src/backend/taler-merchant-httpd_get-orders-ID.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/backend/taler-merchant-httpd_get-orders-ID.c b/src/backend/taler-merchant-httpd_get-orders-ID.c
index 420a19c4..ff2b3fa3 100644
--- a/src/backend/taler-merchant-httpd_get-orders-ID.c
+++ b/src/backend/taler-merchant-httpd_get-orders-ID.c
@@ -562,6 +562,7 @@ send_pay_request (struct GetOrderData *god,
res = TMH_return_from_template (god->sc.con,
MHD_HTTP_PAYMENT_REQUIRED,
"request_payment",
+ god->hc->instance->settings.id,
taler_pay_uri,
context);
if (GNUNET_SYSERR == res)
@@ -1162,6 +1163,7 @@ TMH_get_orders_ID (const struct TMH_RequestHandler *rh,
res = TMH_return_from_template (god->sc.con,
MHD_HTTP_OK,
"offer_refund",
+ hc->instance->settings.id,
uri,
context);
json_decref (context);
@@ -1184,6 +1186,7 @@ TMH_get_orders_ID (const struct TMH_RequestHandler *rh,
res = TMH_return_from_template (god->sc.con,
MHD_HTTP_OK,
"show_order_details",
+ hc->instance->settings.id,
NULL,
context);
json_decref (context);