merchant

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

commit 3a52aa07dbef186b9f44268487c5c1d75e7aff7d
parent d4d9a210782c2a964bd140cfafd7cb15e5c1dae3
Author: Christian Grothoff <christian@grothoff.org>
Date:   Fri, 26 Sep 2025 15:37:47 +0200

fix #10456

Diffstat:
Msrc/backend/taler-merchant-httpd_private-post-donau-instance.c | 20+++++++++++++-------
1 file changed, 13 insertions(+), 7 deletions(-)

diff --git a/src/backend/taler-merchant-httpd_private-post-donau-instance.c b/src/backend/taler-merchant-httpd_private-post-donau-instance.c @@ -277,13 +277,19 @@ TMH_private_post_donau_instance (const struct TMH_RequestHandler *rh, return MHD_NO; } } - pdc->get_handle = - DONAU_charity_get (TMH_curl_ctx, - pdc->donau_url, - pdc->charity_id, - NULL, /* bearer */ - &donau_charity_get_cb, - pdc); + { + struct DONAU_CharityPrivateKeyP cp; + + /* Merchant private key IS our charity private key */ + cp.eddsa_priv = hc->instance->merchant_priv.eddsa_priv; + pdc->get_handle = + DONAU_charity_get (TMH_curl_ctx, + pdc->donau_url, + pdc->charity_id, + &cp, + &donau_charity_get_cb, + pdc); + } if (NULL == pdc->get_handle) { GNUNET_break (0);