merchant

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

commit bbf17ee238bf2eac6bfeb593af6e2239c7e47329
parent 089f3b56928435993d6f083d51732965ff7ba149
Author: bohdan-potuzhnyi <bohdan.potuzhnyi@gmail.com>
Date:   Wed, 16 Jul 2025 12:35:58 +0200

adding missing comments

Diffstat:
Msrc/backend/taler-merchant-httpd_post-orders-ID-pay.c | 12++++++++++++
1 file changed, 12 insertions(+), 0 deletions(-)

diff --git a/src/backend/taler-merchant-httpd_post-orders-ID-pay.c b/src/backend/taler-merchant-httpd_post-orders-ID-pay.c @@ -1893,6 +1893,12 @@ signatures_to_JSON (const size_t num_sig, } +/** + * Callback to handle the result of a batch issue request. + * + * @param cls our `struct PayContext` + * @param resp the response from Donau + */ static void merchant_donau_issue_receipt_cb (void *cls, const struct DONAU_BatchIssueResponse *resp) @@ -2034,6 +2040,11 @@ merchant_parse_json_bkp (struct DONAU_BlindedUniqueDonorIdentifierKeyPair *bkp, #endif +/** + * Generate a donation signature for the bkp and charity. + * + * @param pc payment context containing the charity and bkps + */ static void phase_generate_donation_receipt (struct PayContext *pc) { @@ -3197,6 +3208,7 @@ handle_output_donation_receipt (struct PayContext *pc, TALER_MERCHANT_ContractOutput *output, unsigned int output_index) { + // FIXME: Rethink this one, as most checks can be done immediately after receiving the wallet_data /* FIXME: Implement this function. * check donau outputs are good choices * (allowed donau, total amount below max, correct year, ...)