gnunet-svn
[Top][All Lists]
Advanced

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

[taler-anastasis] 01/04: Corrected issue with getting new order_id from


From: gnunet
Subject: [taler-anastasis] 01/04: Corrected issue with getting new order_id from merchant. Payment still not working.
Date: Thu, 19 Dec 2019 17:42:10 +0100

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

dennis-neufeld pushed a commit to branch master
in repository anastasis.

commit 35252370ddd2d01fcb6ac1ea599ccd3170a902f7
Author: Dennis Neufeld <address@hidden>
AuthorDate: Thu Dec 19 16:15:04 2019 +0000

    Corrected issue with getting new order_id from merchant. Payment still not 
working.
---
 src/backend/anastasis-httpd_policy_upload.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/backend/anastasis-httpd_policy_upload.c 
b/src/backend/anastasis-httpd_policy_upload.c
index 0e14436..52d62da 100644
--- a/src/backend/anastasis-httpd_policy_upload.c
+++ b/src/backend/anastasis-httpd_policy_upload.c
@@ -467,9 +467,11 @@ begin_payment (struct PolicyUploadContext *puc,
                                                   sizeof(
                                                     struct
                                                     ANASTASIS_PaymentSecretP));
+  puc->order_id = order_id;
+
   GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
               "\n\n\n ORDER ID:    %s\n\n\n",
-              order_id);
+              puc->order_id);
 
   GNUNET_CONTAINER_DLL_insert (puc_head,
                                puc_tail,
@@ -490,6 +492,7 @@ begin_payment (struct PolicyUploadContext *puc,
                                       puc);
   AH_trigger_curl ();
   json_decref (order);
+  GNUNET_free (&order_id);
   return MHD_YES;
 }
 

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



reply via email to

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