summaryrefslogtreecommitdiff
path: root/src/backend/taler-merchant-httpd_track-transaction.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/taler-merchant-httpd_track-transaction.c')
-rw-r--r--src/backend/taler-merchant-httpd_track-transaction.c19
1 files changed, 13 insertions, 6 deletions
diff --git a/src/backend/taler-merchant-httpd_track-transaction.c b/src/backend/taler-merchant-httpd_track-transaction.c
index 4ce5aa3d..e0900888 100644
--- a/src/backend/taler-merchant-httpd_track-transaction.c
+++ b/src/backend/taler-merchant-httpd_track-transaction.c
@@ -884,12 +884,19 @@ trace_coins (struct TrackTransactionContext *tctx)
* @param eh NULL if exchange was not found to be acceptable
* @param wire_fee NULL (we did not specify a wire method)
* @param exchange_trusted #GNUNET_YES if this exchange is trusted by config
+ * @param ec error code, #TALER_EC_NONE on success
+ * @param http_status the HTTP status we got from the exchange
+ * @param error_reply the full reply from the exchange, NULL if
+ * the response was NOT in JSON or on success
*/
static void
process_track_transaction_with_exchange (void *cls,
struct TALER_EXCHANGE_Handle *eh,
const struct TALER_Amount *wire_fee,
- int exchange_trusted)
+ int exchange_trusted,
+ enum TALER_ErrorCode ec,
+ unsigned int http_status,
+ const json_t *error_reply)
{
struct TrackTransactionContext *tctx = cls;
@@ -1032,11 +1039,11 @@ find_exchange (struct TrackTransactionContext *tctx)
if (NULL != tcc)
{
tctx->current_exchange = tcc->exchange_url;
- tctx->fo = TMH_EXCHANGES_find_exchange (tctx->current_exchange,
- NULL,
- &
- process_track_transaction_with_exchange,
- tctx);
+ tctx->fo = TMH_EXCHANGES_find_exchange (
+ tctx->current_exchange,
+ NULL,
+ &process_track_transaction_with_exchange,
+ tctx);
}
else