merchant

Merchant backend to process payments, run by merchants
Log | Files | Refs | Submodules | README | LICENSE

commit daa8104795567076745f8062a0aaffa0d1eceb0f
parent fff82994e2815a8d8dd27ec80ac51b87e5d30fe8
Author: Christian Grothoff <christian@grothoff.org>
Date:   Mon, 26 Sep 2016 15:19:57 +0200

fix #4578

Diffstat:
Msrc/backend/taler-merchant-httpd_track-transfer.c | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/backend/taler-merchant-httpd_track-transfer.c b/src/backend/taler-merchant-httpd_track-transfer.c @@ -237,8 +237,8 @@ check_transfer (void *cls, * @param exchange_pub public key of the exchange used to sign @a json * @param json original json reply (may include signatures, those have then been * validated already) - * @param wtid extracted wire transfer identifier, or NULL if the exchange could - * not provide any (set only if @a http_status is #MHD_HTTP_OK) + * @param h_wire hash of the wire transfer address the transfer went to, or NULL on error + * @param execution_time time when the exchange claims to have performed the wire transfer * @param total_amount total amount of the wire transfer, or NULL if the exchange could * not provide any @a wtid (set only if @a http_status is #MHD_HTTP_OK) * @param details_length length of the @a details array @@ -250,6 +250,7 @@ wire_transfer_cb (void *cls, const struct TALER_ExchangePublicKeyP *exchange_pub, const json_t *json, const struct GNUNET_HashCode *h_wire, + struct GNUNET_TIME_Absolute execution_time, const struct TALER_Amount *total_amount, unsigned int details_length, const struct TALER_TrackTransferDetails *details) @@ -277,8 +278,7 @@ wire_transfer_cb (void *cls, db->store_transfer_to_proof (db->cls, rctx->uri, &rctx->wtid, - GNUNET_TIME_UNIT_ZERO_ABS - /* FIXME #4578: unknowable with current APIs */, + execution_time, exchange_pub, json)) {