diff options
Diffstat (limited to 'nlnet/task3/start.sh')
-rwxr-xr-x | nlnet/task3/start.sh | 7 |
1 files changed, 4 insertions, 3 deletions
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 - |