taler-mdb

GNU Taler Extensions and Integrations
Log | Files | Refs | Submodules | README | LICENSE

commit ede51e84e7335685aa630dfa4f36962a68055863
parent 1467d4c6b54b7e6a6243da67275c79247e6b5beb
Author: Christian Grothoff <christian@grothoff.org>
Date:   Tue, 10 Dec 2019 10:01:54 +0100

re-enable auto-refund

Diffstat:
Msrc/main.c | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/main.c b/src/main.c @@ -1293,11 +1293,11 @@ launch_payment (const struct Product *product) uuid_s); GNUNET_free (uuid_s); /* create the json object for the order request */ - orderReq = json_pack ("{ s:s, s:o, s:s }", + orderReq = json_pack ("{ s:s, s:o, s:s, s:o }", "summary", product->description, "amount", TALER_JSON_from_amount (&product->price), "fulfillment_url", fulflmntUrl - // ,"auto_refund", GNUNET_JSON_from_time_rel (MAX_REFUND_DELAY) + ,"auto_refund", GNUNET_JSON_from_time_rel (MAX_REFUND_DELAY) ); GNUNET_free (fulflmntUrl); if (NULL == orderReq) @@ -1387,7 +1387,7 @@ vend_failure () return; } GNUNET_log (GNUNET_ERROR_TYPE_INFO, - "Received MDB vend failure, refunding customer (FIXME: not implemented)\n"); + "Received MDB vend failure, refunding customer\n"); mdb.cmd = &endSession; mdb.session_running = GNUNET_NO; r = GNUNET_new (struct Refund);