gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-merchant] branch master updated: always set the paid


From: gnunet
Subject: [GNUnet-SVN] [taler-merchant] branch master updated: always set the paid field in the check payment response
Date: Mon, 29 Jan 2018 18:24:49 +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 237ff9a  always set the paid field in the check payment response
237ff9a is described below

commit 237ff9ada9629cfc54078a3f428e272f7728f439
Author: Florian Dold <address@hidden>
AuthorDate: Mon Jan 29 18:24:43 2018 +0100

    always set the paid field in the check payment response
---
 src/backend/taler-merchant-httpd_check-payment.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/backend/taler-merchant-httpd_check-payment.c 
b/src/backend/taler-merchant-httpd_check-payment.c
index 29cdbdb..49e9245 100644
--- a/src/backend/taler-merchant-httpd_check-payment.c
+++ b/src/backend/taler-merchant-httpd_check-payment.c
@@ -322,9 +322,11 @@ do_pay:
                                                NULL);
     int ret = TMH_RESPONSE_reply_json_pack (connection,
                                             MHD_HTTP_OK,
-                                            "{s:s}",
+                                            "{s:s, s:b}",
                                             "payment_redirect_url",
-                                            url);
+                                            url,
+                                            "paid",
+                                            0);
     GNUNET_free_non_null (h_contract_terms_str);
     GNUNET_free_non_null (final_contract_url);
     GNUNET_free (url);

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]