diff options
Diffstat (limited to 'src/backend/taler-merchant-httpd_post-orders-ID-pay.c')
-rw-r--r-- | src/backend/taler-merchant-httpd_post-orders-ID-pay.c | 3 |
1 files changed, 2 insertions, 1 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 bc45902a..d4c47822 100644 --- a/src/backend/taler-merchant-httpd_post-orders-ID-pay.c +++ b/src/backend/taler-merchant-httpd_post-orders-ID-pay.c @@ -760,7 +760,8 @@ process_pay_with_exchange (void *cls, (json_int_t) TALER_EC_MERCHANT_GENERIC_EXCHANGE_TIMEOUT)); return; } - if (NULL == exchange_handle) + if ( (MHD_HTTP_OK != hr->http_status) || + (NULL == exchange_handle) ) { GNUNET_break_op (0); resume_pay_with_response ( |