summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMS <ms@taler.net>2023-07-12 11:47:49 +0200
committerMS <ms@taler.net>2023-07-12 11:48:20 +0200
commitd8bdbe7d0e0d02fadf35e73b7f6cb6b9692d158a (patch)
tree8e2a4ec460dce7cd06911910b9c72ddbc48bd0f6
parent863ee79d9a82203e87cf6612f1c41e2651e2b8df (diff)
downloaddeployment-d8bdbe7d0e0d02fadf35e73b7f6cb6b9692d158a.tar.gz
deployment-d8bdbe7d0e0d02fadf35e73b7f6cb6b9692d158a.tar.bz2
deployment-d8bdbe7d0e0d02fadf35e73b7f6cb6b9692d158a.zip
EBICS 3 test: do specify custom IBAN.
-rwxr-xr-xnlnet/task3/keys.sh5
-rwxr-xr-xnlnet/task3/start.sh7
2 files changed, 6 insertions, 6 deletions
diff --git a/nlnet/task3/keys.sh b/nlnet/task3/keys.sh
index 66cf5dd..d1fff07 100755
--- a/nlnet/task3/keys.sh
+++ b/nlnet/task3/keys.sh
@@ -61,9 +61,8 @@ libeufin-cli connections new-ebics-connection \
# 1, send the keys (INI, HIA)
# NOTE: these keys will ONLY be considered if the user
-# is in a NEW state. Please delete any previous uploaded
-# keys via the "zuruecksetzen" button.
-echo "Please reset any previous keys via the bank Web UI, then press Enter.. "
+# is in a NEW state, any previous uploaded keys should be reset.
+echo "If that is the case, reset any previous keys via the bank Web UI. Press Enter to continue.. "
read -s
echo -n "Sending the new keys to the bank..."
libeufin-cli connections connect postfinanceconn
diff --git a/nlnet/task3/start.sh b/nlnet/task3/start.sh
index a6c3ab2..2f8b2a2 100755
--- a/nlnet/task3/start.sh
+++ b/nlnet/task3/start.sh
@@ -11,7 +11,7 @@ trap finish SIGINT
# Expected arguments are:
#
# $1 := EBICS user ID
-# $2 := EBICS partner ID
+# $2 := EBICS partner ID (a.k.a. customer ID)
# $3 := IBAN as assigned by the PostFinance test platform.
# Suggested invocation via 'docker':
@@ -42,6 +42,7 @@ export EBICS_PARTNER_ID=$2
# is offered the possibility to specify a custom payment
# subject.
+MY_IBAN=$3
PAIN_SALT=$RANDOM
echo
echo "Now preparing the pain.001 to upload to the bank via LibEuFin."
@@ -58,7 +59,7 @@ fi
echo "The pain.001 will have this subject: '$PAIN_SALT', now calling"
echo "LibEuFin to upload it via EBICS.."
-cd /libeufin; ./gradlew -q :nexus:pofi --args="upload --subject \"$PAIN_SALT\""; cd -
+cd /libeufin; ./gradlew -q :nexus:pofi --args="--my-iban \"$MY_IBAN\" upload --subject \"$PAIN_SALT\""; cd -
echo DONE
echo
@@ -75,4 +76,4 @@ read -s
# records that witness the payment that was uploaded shortly
# ago. If the logs show the payment subject that belongs
# to such payment, then the download went through.
-cd /libeufin; ./gradlew -q :nexus:pofi --args="download"; cd -
+cd /libeufin; ./gradlew -q :nexus:pofi --args="--my-iban \"$MY_IBAN\" download"; cd -