merchant

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

commit e152251701c87dc1ac2ef3fa84aad65225070c15
parent 5cd3b8441051d0dd0ec9b6a7f71ddc3cc7882d3d
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date:   Mon,  2 Jul 2018 13:18:11 +0200

Towards #5332

Diffstat:
Msrc/lib/testing_api_cmd_proposal.c | 4+---
Msrc/lib/testing_api_cmd_refund.c | 1-
Msrc/lib/testing_api_cmd_rewind.c | 1-
Msrc/lib/testing_api_cmd_track.c | 12------------
4 files changed, 1 insertion(+), 17 deletions(-)

diff --git a/src/lib/testing_api_cmd_proposal.c b/src/lib/testing_api_cmd_proposal.c @@ -36,9 +36,7 @@ struct ProposalState { /** - * The order. FIXME: does a glossary exist where - * all these terms like 'order', 'proposal', and - * 'contract_terms' exist? + * The order. */ const char *order; diff --git a/src/lib/testing_api_cmd_refund.c b/src/lib/testing_api_cmd_refund.c @@ -171,7 +171,6 @@ static void refund_lookup_cleanup (void *cls, const struct TALER_TESTING_Command *cmd) { - /* FIXME: make sure no other data must be free'd */ struct RefundLookupState *rls = cls; if (NULL != rls->rlo) diff --git a/src/lib/testing_api_cmd_rewind.c b/src/lib/testing_api_cmd_rewind.c @@ -73,7 +73,6 @@ rewind_ip_run (void *cls, { struct RewindIpState *ris = cls; - /* FIXME: do check if '1<' is good */ if (1 < *ris->counter) { is->ip = ris->new_ip; diff --git a/src/lib/testing_api_cmd_track.c b/src/lib/testing_api_cmd_track.c @@ -61,22 +61,12 @@ struct TrackTransactionState unsigned int http_status; /** - * Not used at the moment. FIXME: remove? - */ - const char *transfer_reference; - - /** * Reference to a "pay" CMD, used to get the order * id to issue the track against. */ const char *pay_reference; /** - * Not used at the moment. FIXME: remove? - */ - const char *wire_fee; - - /** * Subject line of the wire transfer that payed * the tracked contract back. WARNING: impredictible * behaviour if _multiple_ wire transfers were @@ -472,9 +462,7 @@ TALER_TESTING_cmd_merchant_track_transaction tts->merchant_url = merchant_url; tts->ctx = ctx; tts->http_status = http_status; - tts->transfer_reference = transfer_reference; tts->pay_reference = pay_reference; - tts->wire_fee = wire_fee; cmd.cls = tts; cmd.label = label;