diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/merchant_api_common.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/merchant_api_common.c b/src/lib/merchant_api_common.c index d4f1c9c0..72d2d3e8 100644 --- a/src/lib/merchant_api_common.c +++ b/src/lib/merchant_api_common.c @@ -464,6 +464,11 @@ TALER_MERCHANT_handle_order_creation_response_ ( } break; } + case MHD_HTTP_UNAVAILABLE_FOR_LEGAL_REASONS: + /* Order total too high for legal reasons */ + por.hr.ec = TALER_JSON_get_error_code (json); + por.hr.hint = TALER_JSON_get_error_hint (json); + break; case MHD_HTTP_INTERNAL_SERVER_ERROR: /* Server had an internal issue; we should retry, but this API leaves this to the application */ |