merchant

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

commit 534edf2d0fc0e2a03736b9251703bad2ffaf14f7
parent 58f1ae25c69e0e378af2c45b929c8bbf7d5c1b2a
Author: Christian Grothoff <christian@grothoff.org>
Date:   Wed, 18 May 2022 18:34:14 +0200

gateway timeout is not really a protocol violation

Diffstat:
Msrc/lib/merchant_api_merchant_get_order.c | 8++++++++
1 file changed, 8 insertions(+), 0 deletions(-)

diff --git a/src/lib/merchant_api_merchant_get_order.c b/src/lib/merchant_api_merchant_get_order.c @@ -400,6 +400,14 @@ handle_merchant_order_get_finished (void *cls, NULL); TALER_MERCHANT_merchant_order_get_cancel (omgh); return; + case MHD_HTTP_GATEWAY_TIMEOUT: + hr.ec = TALER_JSON_get_error_code (json); + hr.hint = TALER_JSON_get_error_hint (json); + omgh->cb (omgh->cb_cls, + &hr, + NULL); + TALER_MERCHANT_merchant_order_get_cancel (omgh); + return; default: hr.ec = TALER_JSON_get_error_code (json); hr.hint = TALER_JSON_get_error_hint (json);