merchant

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

commit a519c6229c83ac8bcf405f1b96043f9e1eb396f9
parent e9fa3224538fade591e40a8b4c4e19b90b8591b1
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sun, 28 Jan 2024 19:56:26 +0100

implement bank client to comply with spec

Diffstat:
Msrc/bank/mb_credit.c | 14+++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/bank/mb_credit.c b/src/bank/mb_credit.c @@ -18,7 +18,7 @@ */ /** * @file bank/mb_credit.c - * @brief Implementation of the /history/incoming + * @brief Implementation of the /history * requests of the libeufin's Taler merchant facade * @author Christian Grothoff * @author Marcello Stanisci @@ -29,7 +29,7 @@ /** - * @brief A /history/incoming Handle + * @brief A /history Handle */ struct TALER_MERCHANT_BANK_CreditHistoryHandle { @@ -136,7 +136,7 @@ parse_account_history (struct TALER_MERCHANT_BANK_CreditHistoryHandle *hh, /** * Function called when we're done processing the - * HTTP /history/incoming request. + * HTTP "/history" request. * * @param cls the `struct TALER_MERCHANT_BANK_CreditHistoryHandle` * @param response_code HTTP response code, 0 on error @@ -246,13 +246,13 @@ TALER_MERCHANT_BANK_credit_history ( (! GNUNET_TIME_relative_is_zero (timeout)) ) GNUNET_snprintf (url, sizeof (url), - "history/incoming?delta=%lld&long_poll_ms=%llu", + "history?delta=%lld&long_poll_ms=%llu", (long long) num_results, tms); else GNUNET_snprintf (url, sizeof (url), - "history/incoming?delta=%lld", + "history?delta=%lld", (long long) num_results); } else @@ -261,14 +261,14 @@ TALER_MERCHANT_BANK_credit_history ( (! GNUNET_TIME_relative_is_zero (timeout)) ) GNUNET_snprintf (url, sizeof (url), - "history/incoming?delta=%lld&start=%llu&long_poll_ms=%llu", + "history?delta=%lld&start=%llu&long_poll_ms=%llu", (long long) num_results, (unsigned long long) start_row, tms); else GNUNET_snprintf (url, sizeof (url), - "history/incoming?delta=%lld&start=%llu", + "history?delta=%lld&start=%llu", (long long) num_results, (unsigned long long) start_row); }