summaryrefslogtreecommitdiff
path: root/src/lib/merchant_api_post_order_refund.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-04-11 00:34:29 +0200
committerChristian Grothoff <christian@grothoff.org>2021-04-11 00:34:29 +0200
commitae3d1db454a46b817935525823caf05bd5c96590 (patch)
tree1866afbc6f810daeff4d45dbeb2db30de5372f4c /src/lib/merchant_api_post_order_refund.c
parent2e2d1c865135a3bdcdf7b142588e092e1228200e (diff)
downloadmerchant-ae3d1db454a46b817935525823caf05bd5c96590.tar.gz
merchant-ae3d1db454a46b817935525823caf05bd5c96590.tar.bz2
merchant-ae3d1db454a46b817935525823caf05bd5c96590.zip
more refund-related logging
Diffstat (limited to 'src/lib/merchant_api_post_order_refund.c')
-rw-r--r--src/lib/merchant_api_post_order_refund.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/merchant_api_post_order_refund.c b/src/lib/merchant_api_post_order_refund.c
index 80ad70d4..63ed2f2c 100644
--- a/src/lib/merchant_api_post_order_refund.c
+++ b/src/lib/merchant_api_post_order_refund.c
@@ -136,6 +136,11 @@ handle_refund_finished (void *cls,
hr.hint = TALER_JSON_get_error_hint (json);
/* Nothing really to verify, merchant says we need to authenticate. */
break;
+ case MHD_HTTP_FORBIDDEN:
+ hr.ec = TALER_JSON_get_error_code (json);
+ hr.hint = TALER_JSON_get_error_hint (json);
+ /* Nothing really to verify, merchant says we need to authenticate. */
+ break;
case MHD_HTTP_NOT_FOUND:
case MHD_HTTP_CONFLICT:
hr.ec = TALER_JSON_get_error_code (json);