diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-08-03 12:55:11 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-08-03 12:55:11 +0200 |
commit | 9b053802d49703fc1918c3621095e369beaaf604 (patch) | |
tree | 9e217c20beff49386459a67f70b462bd6932ed3a /src/backend/taler-merchant-httpd_private-get-orders.c | |
parent | 9776c13c24d52521ef46eac35fb4ad73b3d86260 (diff) |
test for refund available
Diffstat (limited to 'src/backend/taler-merchant-httpd_private-get-orders.c')
-rw-r--r-- | src/backend/taler-merchant-httpd_private-get-orders.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/backend/taler-merchant-httpd_private-get-orders.c b/src/backend/taler-merchant-httpd_private-get-orders.c index dc4901c3..41f5be48 100644 --- a/src/backend/taler-merchant-httpd_private-get-orders.c +++ b/src/backend/taler-merchant-httpd_private-get-orders.c @@ -222,6 +222,7 @@ cleanup (void *ctx) * @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, @@ -231,7 +232,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 TALER_Amount *total_refund_amount = cls; |