gnunet-svn
[Top][All Lists]
Advanced

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

[taler-merchant] branch master updated: implement #7837


From: gnunet
Subject: [taler-merchant] branch master updated: implement #7837
Date: Sat, 13 May 2023 22:17:52 +0200

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

grothoff pushed a commit to branch master
in repository merchant.

The following commit(s) were added to refs/heads/master by this push:
     new f79387a5 implement #7837
f79387a5 is described below

commit f79387a55b209a438389127a2a14961710753eed
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sat May 13 22:17:49 2023 +0200

    implement #7837
---
 src/backend/taler-merchant-httpd_private-post-reserves.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/src/backend/taler-merchant-httpd_private-post-reserves.c 
b/src/backend/taler-merchant-httpd_private-post-reserves.c
index 801cbf9c..8a3593d2 100644
--- a/src/backend/taler-merchant-httpd_private-post-reserves.c
+++ b/src/backend/taler-merchant-httpd_private-post-reserves.c
@@ -263,6 +263,13 @@ handle_exchange (void *cls,
     TALER_MHD_daemon_trigger (); /* we resumed, kick MHD */
     return;
   }
+  if (! keys->tipping_allowed)
+  {
+    rc->ec = TALER_EC_MERCHANT_PRIVATE_POST_RESERVES_TIPPING_NOT_ALLOWED;
+    rc->http_status = MHD_HTTP_CONFLICT;
+    TALER_MHD_daemon_trigger (); /* we resumed, kick MHD */
+    return;
+  }
   rc->master_pub = keys->master_pub;
   {
     rc->accounts = TMH_exchange_accounts_by_method (

-- 
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]