- php-fints Bibliothek von 3.7.0 auf 4.0.0 aktualisiert - Parser-Fix: Ignoriert zusätzliche Bank-Felder statt Exception - HKEKA Segmente implementiert (HIEKASv5, HKEKAv5, HIEKAv5) - HKKAA Segmente implementiert (HIKAASv1, HKKAAv1) - GetStatementFromArchive und GetElectronicStatement Actions HINWEIS: HKKAA/HKEKA funktionieren noch nicht mit VR Bank (Fehler "unerwarteter Aufbau wrt DE 2" - Kontoverbindungsformat) Normale Funktionalität (Transaktionsimport) ist nicht betroffen. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
20 lines
687 B
PHP
20 lines
687 B
PHP
<?php
|
|
|
|
/** @noinspection PhpUnhandledExceptionInspection */
|
|
|
|
/**
|
|
* SAMPLE - Displays the available accounts
|
|
*/
|
|
|
|
// See login.php, it returns a FinTs instance that is already logged in.
|
|
/** @var \Fhp\FinTs $fints */
|
|
$fints = require_once 'login.php';
|
|
|
|
// Just pick the first account, for demonstration purposes. You could also have the user choose, or have SEPAAccount
|
|
// hard-coded and not call getSEPAAccounts() at all.
|
|
$getSepaAccounts = \Fhp\Action\GetSEPAAccounts::create();
|
|
$fints->execute($getSepaAccounts);
|
|
if ($getSepaAccounts->needsTan()) {
|
|
handleStrongAuthentication($getSepaAccounts); // See login.php for the implementation.
|
|
}
|
|
print_r($getSepaAccounts->getAccounts());
|