[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-merchant] branch master updated: -change 406 to 400
From: |
gnunet |
Subject: |
[taler-merchant] branch master updated: -change 406 to 400 |
Date: |
Thu, 07 Mar 2024 13:04:02 +0100 |
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 9dd3dcf1 -change 406 to 400
9dd3dcf1 is described below
commit 9dd3dcf1bbaad2a50d2a8ca8d1345508558ff455
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Thu Mar 7 13:03:59 2024 +0100
-change 406 to 400
---
src/backend/taler-merchant-httpd_post-orders-ID-pay.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/backend/taler-merchant-httpd_post-orders-ID-pay.c
b/src/backend/taler-merchant-httpd_post-orders-ID-pay.c
index 9447441c..a1fdabec 100644
--- a/src/backend/taler-merchant-httpd_post-orders-ID-pay.c
+++ b/src/backend/taler-merchant-httpd_post-orders-ID-pay.c
@@ -2106,7 +2106,7 @@ check_payment_sufficient (struct PayContext *pc)
pay_end (pc,
TALER_MHD_reply_with_error (
pc->connection,
- MHD_HTTP_NOT_ACCEPTABLE,
+ MHD_HTTP_BAD_REQUEST,
TALER_EC_MERCHANT_POST_ORDERS_ID_PAY_INSUFFICIENT_DUE_TO_FEES,
"contract not paid up due to fees (client may have calculated
them badly)"));
return false;
@@ -2115,7 +2115,7 @@ check_payment_sufficient (struct PayContext *pc)
pay_end (pc,
TALER_MHD_reply_with_error (
pc->connection,
- MHD_HTTP_NOT_ACCEPTABLE,
+ MHD_HTTP_BAD_REQUEST,
TALER_EC_MERCHANT_POST_ORDERS_ID_PAY_PAYMENT_INSUFFICIENT,
"payment insufficient"));
return false;
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-merchant] branch master updated: -change 406 to 400,
gnunet <=