summaryrefslogtreecommitdiff
path: root/netzbon
diff options
context:
space:
mode:
authorMS <ms@taler.net>2023-03-10 15:16:00 +0100
committerMS <ms@taler.net>2023-03-10 15:16:00 +0100
commitcbad50523c12b0f3f7e81f695f1c2ace53d44b4a (patch)
tree78c8ddccba8d966c8361a6115fb1b269851c3692 /netzbon
parentf6c96133c15a9947c2d0d9b9ad59cb22b5bb6113 (diff)
downloaddeployment-cbad50523c12b0f3f7e81f695f1c2ace53d44b4a.tar.gz
deployment-cbad50523c12b0f3f7e81f695f1c2ace53d44b4a.tar.bz2
deployment-cbad50523c12b0f3f7e81f695f1c2ace53d44b4a.zip
netzbon: fix bank accounts wiring at Nexus.
Diffstat (limited to 'netzbon')
-rwxr-xr-xnetzbon/config_launch_libeufin.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/netzbon/config_launch_libeufin.sh b/netzbon/config_launch_libeufin.sh
index b7d0d30..8608682 100755
--- 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"