commit cbad50523c12b0f3f7e81f695f1c2ace53d44b4a
parent f6c96133c15a9947c2d0d9b9ad59cb22b5bb6113
Author: MS <ms@taler.net>
Date: Fri, 10 Mar 2023 15:16:00 +0100
netzbon: fix bank accounts wiring at Nexus.
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/netzbon/config_launch_libeufin.sh b/netzbon/config_launch_libeufin.sh
@@ -140,9 +140,9 @@ curl --max-time 2 \
${LIBEUFIN_NEXUS_URL} &> /dev/null
say "DONE"
-
+EXCHANGE_SANDBOX_USERNAME="exchange-at-sandbox"
say "Register the exchange Sandbox account..."
-export LIBEUFIN_SANDBOX_USERNAME="exchange-at-sandbox"
+export LIBEUFIN_SANDBOX_USERNAME=$EXCHANGE_SANDBOX_USERNAME
export LIBEUFIN_SANDBOX_PASSWORD="${SANDBOX_EXCHANGE_PASSWORD}"
# Succeed also if the account already exists...
# (hopefully with the same password!)
@@ -226,7 +226,7 @@ say "Importing bank account info into Nexus..."
# Continue on failure, request is not idempotent...
# FIXME-MS: might be nicer to delete existing connection first.
libeufin-cli connections import-bank-account \
- --offered-account-id ${LIBEUFIN_SANDBOX_USERNAME} \
+ --offered-account-id ${EXCHANGE_SANDBOX_USERNAME} \
--nexus-bank-account-id ${LIBEUFIN_NEXUS_USERNAME} \
${EBICS_CONNECTION_NAME} || true
echo "OK"