gnunet-svn
[Top][All Lists]
Advanced

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

[taler-merchant] branch master updated: have libtalermerchant accept 451


From: gnunet
Subject: [taler-merchant] branch master updated: have libtalermerchant accept 451 on order creation
Date: Tue, 10 Sep 2024 16:07:30 +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 ce2c4739 have libtalermerchant accept 451 on order creation
ce2c4739 is described below

commit ce2c47390bfe0b9f0246b6b242539fc2ded2170b
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Tue Sep 10 16:07:27 2024 +0200

    have libtalermerchant accept 451 on order creation
---
 src/lib/merchant_api_common.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/lib/merchant_api_common.c b/src/lib/merchant_api_common.c
index d4f1c9c0..72d2d3e8 100644
--- a/src/lib/merchant_api_common.c
+++ b/src/lib/merchant_api_common.c
@@ -464,6 +464,11 @@ TALER_MERCHANT_handle_order_creation_response_ (
       }
       break;
     }
+  case MHD_HTTP_UNAVAILABLE_FOR_LEGAL_REASONS:
+    /* Order total too high for legal reasons */
+    por.hr.ec = TALER_JSON_get_error_code (json);
+    por.hr.hint = TALER_JSON_get_error_hint (json);
+    break;
   case MHD_HTTP_INTERNAL_SERVER_ERROR:
     /* Server had an internal issue; we should retry,
        but this API leaves this to the application */

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