merchant

Merchant backend to process payments, run by merchants
Log | Files | Refs | Submodules | README | LICENSE

commit 9dd3dcf1bbaad2a50d2a8ca8d1345508558ff455
parent deb5097c951894f06d571b5802c949df75c1ab7b
Author: Christian Grothoff <christian@grothoff.org>
Date:   Thu,  7 Mar 2024 13:03:59 +0100

-change 406 to 400

Diffstat:
Msrc/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 @@ -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;