gnunet-svn
[Top][All Lists]
Advanced

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

[merchant] branch master updated: removing taler_pay_uri from claimed or


From: Admin
Subject: [merchant] branch master updated: removing taler_pay_uri from claimed orders
Date: Wed, 12 Feb 2025 18:47:17 +0100

This is an automated email from the git hooks/post-receive script.

sebasjm pushed a commit to branch master
in repository merchant.

The following commit(s) were added to refs/heads/master by this push:
     new 57468652 removing taler_pay_uri from claimed orders
57468652 is described below

commit 5746865295c4241711d0a4a0f757a3278ea558c9
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Wed Feb 12 14:47:08 2025 -0300

    removing taler_pay_uri from claimed orders
---
 src/backend/taler-merchant-httpd_private-get-orders-ID.c | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/src/backend/taler-merchant-httpd_private-get-orders-ID.c 
b/src/backend/taler-merchant-httpd_private-get-orders-ID.c
index f2263824..e0017e33 100644
--- a/src/backend/taler-merchant-httpd_private-get-orders-ID.c
+++ b/src/backend/taler-merchant-httpd_private-get-orders-ID.c
@@ -947,11 +947,6 @@ phase_unpaid_finish (struct GetOrderRequestContext *gorc)
     MHD_suspend_connection (gorc->sc.con);
     return;
   }
-  taler_pay_uri = TMH_make_taler_pay_uri (gorc->sc.con,
-                                          hc->infix,
-                                          gorc->session_id,
-                                          hc->instance->settings.id,
-                                          &gorc->claim_token);
   order_status_url = TMH_make_order_status_url (gorc->sc.con,
                                                 hc->infix,
                                                 gorc->session_id,
@@ -967,8 +962,6 @@ phase_unpaid_finish (struct GetOrderRequestContext *gorc)
                TALER_MHD_REPLY_JSON_PACK (
                  gorc->sc.con,
                  MHD_HTTP_OK,
-                 GNUNET_JSON_pack_string ("taler_pay_uri",
-                                          taler_pay_uri),
                  GNUNET_JSON_pack_string ("order_status_url",
                                           order_status_url),
                  GNUNET_JSON_pack_object_incref ("contract_terms",
@@ -977,6 +970,11 @@ phase_unpaid_finish (struct GetOrderRequestContext *gorc)
                                           "claimed")));
     return;
   }
+  taler_pay_uri = TMH_make_taler_pay_uri (gorc->sc.con,
+                                          hc->infix,
+                                          gorc->session_id,
+                                          hc->instance->settings.id,
+                                          &gorc->claim_token);
   ret = TALER_MHD_REPLY_JSON_PACK (
     gorc->sc.con,
     MHD_HTTP_OK,

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

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