diff options
author | Christian Grothoff <christian@grothoff.org> | 2024-03-07 13:03:59 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2024-03-07 13:03:59 +0100 |
commit | 9dd3dcf1bbaad2a50d2a8ca8d1345508558ff455 (patch) | |
tree | e432ce932b20ebfc81f7a1c24cf006a65140c930 | |
parent | deb5097c951894f06d571b5802c949df75c1ab7b (diff) |
-change 406 to 400
-rw-r--r-- | src/backend/taler-merchant-httpd_post-orders-ID-pay.c | 4 |
1 files 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; |