gnunet-svn
[Top][All Lists]
Advanced

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

[taler-taler-mdb] branch master updated: re-enable auto-refund


From: gnunet
Subject: [taler-taler-mdb] branch master updated: re-enable auto-refund
Date: Tue, 10 Dec 2019 10:01:57 +0100

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

grothoff pushed a commit to branch master
in repository taler-mdb.

The following commit(s) were added to refs/heads/master by this push:
     new ede51e8  re-enable auto-refund
ede51e8 is described below

commit ede51e84e7335685aa630dfa4f36962a68055863
Author: Christian Grothoff <address@hidden>
AuthorDate: Tue Dec 10 10:01:54 2019 +0100

    re-enable auto-refund
---
 src/main.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/main.c b/src/main.c
index d09674d..92b139e 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1293,11 +1293,11 @@ launch_payment (const struct Product *product)
                    uuid_s);
   GNUNET_free (uuid_s);
   /* create the json object for the order request */
-  orderReq = json_pack ("{ s:s, s:o, s:s }",
+  orderReq = json_pack ("{ s:s, s:o, s:s, s:o }",
                         "summary", product->description,
                         "amount", TALER_JSON_from_amount (&product->price),
                         "fulfillment_url", fulflmntUrl
-                        // ,"auto_refund", GNUNET_JSON_from_time_rel 
(MAX_REFUND_DELAY)
+                        ,"auto_refund", GNUNET_JSON_from_time_rel 
(MAX_REFUND_DELAY)
                         );
   GNUNET_free (fulflmntUrl);
   if (NULL == orderReq)
@@ -1387,7 +1387,7 @@ vend_failure ()
     return;
   }
   GNUNET_log (GNUNET_ERROR_TYPE_INFO,
-              "Received MDB vend failure, refunding customer (FIXME: not 
implemented)\n");
+              "Received MDB vend failure, refunding customer\n");
   mdb.cmd = &endSession;
   mdb.session_running = GNUNET_NO;
   r = GNUNET_new (struct Refund);

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



reply via email to

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