merchant

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

commit c27e45b30a6e82276053a068bc09938154cfe70e
parent ef2e5cb7bcec3d6972457567fb4528f740ddda4c
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sat, 31 Jan 2026 20:24:38 +0100

-misc minor fixes

Diffstat:
Msrc/backend/taler-merchant-httpd_private-post-orders.c | 2+-
Msrc/testing/test_merchant_api.conf | 1+
Msrc/testing/test_merchant_order_creation.sh | 2+-
Msrc/testing/test_template.conf | 2++
4 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/backend/taler-merchant-httpd_private-post-orders.c b/src/backend/taler-merchant-httpd_private-post-orders.c @@ -2676,7 +2676,7 @@ phase_select_wire_method (struct OrderContext *oc) GNUNET_JSON_PACK ( TALER_JSON_pack_ec ( TALER_EC_MERCHANT_PRIVATE_POST_ORDERS_AMOUNT_EXCEEDS_LEGAL_LIMITS), - GNUNET_JSON_pack_array_steal ( + GNUNET_JSON_pack_array_incref ( "exchange_rejections", oc->set_exchanges.exchange_rejections)), MHD_HTTP_UNAVAILABLE_FOR_LEGAL_REASONS); diff --git a/src/testing/test_merchant_api.conf b/src/testing/test_merchant_api.conf @@ -38,6 +38,7 @@ SERVE = tcp PORT = 8082 PWD_HASH_CONFIG = { "cost": 4 } PWD_AUTH_COMPAT = yes +BASE_URL = http://localhost:8082/ [merchant] CURRENCY = EUR diff --git a/src/testing/test_merchant_order_creation.sh b/src/testing/test_merchant_order_creation.sh @@ -19,7 +19,7 @@ then else ACCOUNT="exchange-account-1" BANK_FLAGS="-ns -d iban -u $ACCOUNT" - BANK_URL="http://localhost:18082/" + BANK_URL="http://localhost:8082/" echo -n "Testing for libeufin-bank" libeufin-bank --help >/dev/null </dev/null || exit_skip " MISSING" echo " FOUND" diff --git a/src/testing/test_template.conf b/src/testing/test_template.conf @@ -36,6 +36,8 @@ BINARY = taler-merchant-report-generator-file [merchant] SERVE = tcp PORT = 9966 +PAYMENT_TARGET_TYPES = x-taler-bank +CURRENCY = TESTKUDOS BASE_URL = http://localhost:9966/ UNIXPATH = ${TALER_RUNTIME_DIR}/merchant.http UNIXPATH_MODE = 660