summaryrefslogtreecommitdiff
path: root/src/backend/taler-merchant-httpd_get-orders-ID.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/taler-merchant-httpd_get-orders-ID.c')
-rw-r--r--src/backend/taler-merchant-httpd_get-orders-ID.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/backend/taler-merchant-httpd_get-orders-ID.c b/src/backend/taler-merchant-httpd_get-orders-ID.c
index 34a5a2bf..bb4d1b37 100644
--- a/src/backend/taler-merchant-httpd_get-orders-ID.c
+++ b/src/backend/taler-merchant-httpd_get-orders-ID.c
@@ -597,6 +597,10 @@ send_pay_request (struct GetOrderData *god,
// language preferences from summary_i18n if present.
json_string_value (json_object_get (god->contract_terms,
"summary")) },
+ { "already_paid_fulfillment_url",
+ (NULL != already_paid_order_id)
+ ? god->fulfillment_url
+ : "" },
{ NULL, NULL }
};
enum GNUNET_GenericReturnValue res;
@@ -952,7 +956,7 @@ TMH_get_orders_ID (const struct TMH_RequestHandler *rh,
MHD_GET_ARGUMENT_KIND,
"timeout");
if ((NULL != long_poll_timeout_s) &&
- !god->generate_html)
+ ! god->generate_html)
{
unsigned int timeout;