GithubHelp home page GithubHelp logo

Comments (5)

fbett avatar fbett commented on August 22, 2024

Ist der 2. Parameter "tanMedium" beim Call der Funktion selectTanMode belegt?

Bei der Nutzung mit Deutsche Bank und dem PhotoTan-Verfahren (welche das gleiche System haben müssten), nutzen wir den 2. Parameter nicht und übersenden somit einen null Wert.

Je nach Bank und Verfahren ist es aber notwendig hier etwas anzugeben. Z.B. die Bezeichnung des Geräts.

Ansonsten nur für den Fall: TanMedium != TanMode

Alternativ könnte man mal mit einem anderen Programm mit Debug-Ausgabe (z.B. der App "Banking4") eine Tan Transaktion probieren und die Logs vergleichen.

from phpfints.

wienen-it-dev avatar wienen-it-dev commented on August 22, 2024

Hallo fbett,

vielen Dank für Deine schnelle Antwort.

Der 2. Parameter "tanMedium" beim Call von selectTanMode() ist gesetzt. Werde dies ändern zu null und testen.

Von der Commerzbank wird für TanMedium und TanMode jeweils der Wert "photoTAN" zurückgeliefert, während bei anderen Banken / Verfahren unterschiedliche Werte vorhanden sind. Wir haben es z.B. bei Sparkasse / PushTAN bereits erfolgreich im Einsatz.

Wenn der Test erfolgreich ist, werde ich es wie von Dir beschrieben (TanMedium != TanMode) einbauen.

Vielen Dank nochmals!

from phpfints.

DerSpezialist avatar DerSpezialist commented on August 22, 2024

Guten Tag,
ich klinke mich an dieser Stelle mal ein, da ich auch ein Problem mit PhotoTAN der Commerzbank habe.
Ich benutze Firefly in Kombination mit dem FinTS Importer von bnw (https://github.com/bnw/firefly-iii-fints-importer) via Docker.
Nachdem der Fix #409 gemerged wurde, habe ich mir den FinTS Importer mit dem aktuellen phpFinTS als Docker Container neu gebaut.
Ich bekomme allerdings weiterhin die folgende Fehlermeldung, wenn ich versuche mein Transaktionen von der Commerzbank abzurufen:

Warning: Undefined array key 999 in /vendor/nemiah/php-fints/lib/Fhp/FinTs.php on line 534

Fatal error: Uncaught Fhp\Protocol\ServerException: FinTS errors: 9050 (global): Die Nachricht enthält Fehler. 9800 (global): Dialog abgebrochen 9340 (global): Unbekannte oder unzulässige Signatur. FinTS warnings: 3920 (wrt seg 3): Zugelassene Ein- und Zwei-Schritt-Verfahren für den Benutzer. [999, 900] in /vendor/nemiah/php-fints/lib/Fhp/Protocol/ServerException.php:170 Stack trace: #0 /vendor/nemiah/php-fints/lib/Fhp/FinTs.php(963): Fhp\Protocol\ServerException::detectAndThrowErrors(Object(Fhp\Protocol\Message), Object(Fhp\Protocol\Message)) #1 /vendor/nemiah/php-fints/lib/Fhp/FinTs.php(379): Fhp\FinTs->sendMessage(Object(Fhp\Protocol\Message)) #2 /app/TanHandler.php(39): Fhp\FinTs->submitTan(Object(Fhp\Protocol\DialogInitialization), '2665298') #3 /app/TanHandler.php(31): App\TanHandler->create_or_continue_action() #4 /app/Login.php(21): App\TanHandler->__construct(Object(Closure), 'login-action', Object(Symfony\Component\HttpFoundation\Session\Session), Object(Twig\Environment), Object(Fhp\FinTs), Object(App\Step), Object(Symfony\Component\HttpFoundation\Request)) #5 /app/index.php(59): App\StepFunction\Login() #6 {main} thrown in /vendor/nemiah/php-fints/lib/Fhp/Protocol/ServerException.php on line 170

from phpfints.

fbett avatar fbett commented on August 22, 2024

@DerSpezialist Die Fehlermeldung ist klar anders, bitte öffne eine eigenen Thread. Suche zuvor bitte mal in den Issues nach "999" da müsste was kommen.

from phpfints.

wienen-it-dev avatar wienen-it-dev commented on August 22, 2024

Hallo fbett,

vielen Dank nochmals, der 2. Parameter "tanMedium" muss im Fall TanMedium == TanMode als Wert null gesetzt werden (beim Call von selectTanMode()).

from phpfints.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.