[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-merchant] branch master updated: include next_url in
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-merchant] branch master updated: include next_url in tip token |
Date: |
Mon, 11 Dec 2017 17:30:51 +0100 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository merchant.
The following commit(s) were added to refs/heads/master by this push:
new 3f2625a include next_url in tip token
3f2625a is described below
commit 3f2625a0517cb37d69142c804839012834bbcc51
Author: Florian Dold <address@hidden>
AuthorDate: Mon Dec 11 17:30:43 2017 +0100
include next_url in tip token
---
src/backend/taler-merchant-httpd_tip-authorize.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/backend/taler-merchant-httpd_tip-authorize.c
b/src/backend/taler-merchant-httpd_tip-authorize.c
index bcfca94..7031413 100644
--- a/src/backend/taler-merchant-httpd_tip-authorize.c
+++ b/src/backend/taler-merchant-httpd_tip-authorize.c
@@ -206,6 +206,9 @@ MH_handler_tip_authorize (struct TMH_RequestHandler *rh,
"amount", TALER_JSON_from_amount (&amount),
"exchange_url", mi->tip_exchange,
"pickup_url", pickup_url);
+ json_t *next_url = json_object_get (root, "next_url");
+ if (json_is_string (next_url))
+ json_object_set (tip_token, "next_url", next_url);
char *tip_token_str = json_dumps (tip_token, JSON_ENSURE_ASCII |
JSON_COMPACT);
json_decref (tip_token);
json_decref (root);
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-merchant] branch master updated: include next_url in tip token,
gnunet <=