summaryrefslogtreecommitdiff
path: root/src/backend/taler-merchant-httpd_private-get-orders-ID.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-08-03 12:55:11 +0200
committerChristian Grothoff <christian@grothoff.org>2020-08-03 12:55:11 +0200
commit9b053802d49703fc1918c3621095e369beaaf604 (patch)
tree9e217c20beff49386459a67f70b462bd6932ed3a /src/backend/taler-merchant-httpd_private-get-orders-ID.c
parent9776c13c24d52521ef46eac35fb4ad73b3d86260 (diff)
downloadmerchant-9b053802d49703fc1918c3621095e369beaaf604.tar.gz
merchant-9b053802d49703fc1918c3621095e369beaaf604.tar.bz2
merchant-9b053802d49703fc1918c3621095e369beaaf604.zip
test for refund available
Diffstat (limited to 'src/backend/taler-merchant-httpd_private-get-orders-ID.c')
-rw-r--r--src/backend/taler-merchant-httpd_private-get-orders-ID.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/backend/taler-merchant-httpd_private-get-orders-ID.c b/src/backend/taler-merchant-httpd_private-get-orders-ID.c
index 7fdeeed6..7823837f 100644
--- a/src/backend/taler-merchant-httpd_private-get-orders-ID.c
+++ b/src/backend/taler-merchant-httpd_private-get-orders-ID.c
@@ -628,6 +628,7 @@ gorc_cleanup (void *cls)
* @param reason human-readable explanation of the refund
* @param timestamp when was the refund made
* @param refund_amount refund amount which is being taken from @a coin_pub
+ * @param pending true if the this refund was not yet processed by the wallet/exchange
*/
static void
process_refunds_cb (void *cls,
@@ -637,7 +638,8 @@ process_refunds_cb (void *cls,
const char *exchange_url,
uint64_t rtransaction_id,
const char *reason,
- const struct TALER_Amount *refund_amount)
+ const struct TALER_Amount *refund_amount,
+ bool pending)
{
struct GetOrderRequestContext *gorc = cls;