aboutsummaryrefslogtreecommitdiff
path: root/src/exchange-lib/exchange_api_refund.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/exchange-lib/exchange_api_refund.c')
-rw-r--r--src/exchange-lib/exchange_api_refund.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/exchange-lib/exchange_api_refund.c b/src/exchange-lib/exchange_api_refund.c
index ef1d66b90..1ddf642d6 100644
--- a/src/exchange-lib/exchange_api_refund.c
+++ b/src/exchange-lib/exchange_api_refund.c
@@ -180,6 +180,10 @@ handle_refund_finished (void *cls,
/* Kind of normal: the money was already sent to the merchant
(it was too late for the refund). */
break;
+ case MHD_HTTP_PRECONDITION_FAILED:
+ /* Client request was inconsistent; might be a currency missmatch
+ problem. */
+ break;
case MHD_HTTP_INTERNAL_SERVER_ERROR:
/* Server had an internal issue; we should retry, but this API
leaves this to the application */