diff options
author | Florian Dold <florian@dold.me> | 2021-08-13 14:22:12 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2021-08-13 14:22:34 +0200 |
commit | a3eaa7a79dfb006ce7bb2495b0f7258fa8f8f6ce (patch) | |
tree | ebe4e0721a115bad5400e4a19c9974742349e136 | |
parent | 0b9486a54c3a9ebd55ff0b12c43a216ccc44a32d (diff) | |
download | merchant-a3eaa7a79dfb006ce7bb2495b0f7258fa8f8f6ce.tar.gz merchant-a3eaa7a79dfb006ce7bb2495b0f7258fa8f8f6ce.tar.bz2 merchant-a3eaa7a79dfb006ce7bb2495b0f7258fa8f8f6ce.zip |
return fulfillment URL in paid response
-rw-r--r-- | src/backend/taler-merchant-httpd_get-orders-ID.c | 3 |
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 e1f53d37..549a6b54 100644 --- a/src/backend/taler-merchant-httpd_get-orders-ID.c +++ b/src/backend/taler-merchant-httpd_get-orders-ID.c @@ -1289,6 +1289,9 @@ TMH_get_orders_ID (const struct TMH_RequestHandler *rh, return TALER_MHD_REPLY_JSON_PACK ( connection, MHD_HTTP_OK, + GNUNET_JSON_pack_allow_null ( + GNUNET_JSON_pack_string ("fulfillment_url", + god->fulfillment_url)), GNUNET_JSON_pack_bool ("refunded", god->refunded), GNUNET_JSON_pack_bool ("refund_pending", |