merchant

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

commit 9d08f4de7eba091d0e0f824cf1d913f37b220c18
parent 291363e2c291543b59203145e039f16446153318
Author: Florian Dold <florian@dold.me>
Date:   Wed,  3 Jun 2026 22:14:24 +0200

do not use run-until-done after refund

The handle-uri command in the latest taler-wallet-cli waits by default
for refunds to be applied, thus no explicit waiting is required.

The use of run-until-done will likely be deprecated soon. Instead,
handle-uri or the testingWaitTransactionState API request should be
used.

Diffstat:
Msrc/testing/test_merchant_order_refund.sh | 16++--------------
1 file changed, 2 insertions(+), 14 deletions(-)

diff --git a/src/testing/test_merchant_order_refund.sh b/src/testing/test_merchant_order_refund.sh @@ -237,19 +237,13 @@ echo " OK" REFUND_START=$(date +%s) echo "First refund order ${REFUND_URI} ..." set -x -taler-wallet-cli \ +timeout 60 taler-wallet-cli \ --no-throttle \ --wallet-db="$WALLET_DB" \ handle-uri "${REFUND_URI}" \ -y \ 2> wallet-refund1.err \ > wallet-refund1.log -timeout 60 taler-wallet-cli \ - --no-throttle \ - --wallet-db="$WALLET_DB" \ - run-until-done \ - 2> wallet-pending-refund1.err \ - > wallet-pending-refund1.log REFUND_END=$(date +%s) echo " OK (refund1 took $(( REFUND_END - REFUND_START )) secs)" @@ -269,19 +263,13 @@ echo " OK" REFUND2_START=$(date +%s) echo -n "Second refund order ${REFUND_URI} ..." -taler-wallet-cli \ +timeout 60 taler-wallet-cli \ --no-throttle \ --wallet-db="$WALLET_DB" \ handle-uri "${REFUND_URI}" \ -y \ 2> wallet-refund2.err \ > wallet-refund2.log -timeout 60 taler-wallet-cli \ - --no-throttle \ - --wallet-db="$WALLET_DB" \ - run-until-done \ - 2> wallet-pending-refund2.err \ - > wallet-pending-refund2.log REFUND2_END=$(date +%s) echo " OK (refund2 took $(( REFUND2_END - REFUND_START )) secs)"