mschindler83 / fints-hbci-php

A PHP library to communicate with FinTS / HBCI Servers
MIT License
130 stars 62 forks source link

Missing 2. Login ("Kunden-ID") #41

Open bell430 opened 7 years ago

bell430 commented 7 years ago

A lot of banks use not only a login (="Benutzerkennung") + PIN, but have a kind of second loginname (="Kunden-ID"). One example is akf24-bank.

Here is a list of banks

Could this be implemented? If not - could you give a hint where this should be done?

Thanks and best regards!

mschindler83 commented 7 years ago

Hi. Sorry for the late response. I really have some timing issues atm :) If someone wants to do this:

The "Kunden-ID" should be set in the Segment HKIDN instead of the username. I would call this field $clientId in the code and the $clientId should be optional. If $clientId is NULL, then use the username, else use the $clientId.

Hope someone feels like, he want to implement this. Else I will do it as soon as I have a little bit more time.

bell430 commented 7 years ago

Just to avoid misunderstandings: Client-ID and Username is needed at the same time. It's not either/or. For akf24: If one of the fields is omitted, access fails. I have no clue why two different fields are necessary, but that's the way the bank wants to have it.

Unfortunately I don't think I'm able to implement this, but I will for sure help to test the new code. Just contact me and I will react on short notice.

Thanks for the support!

chrisribal commented 7 years ago

Hi, is there any progress on this? I'm trying to get data from the "Volksbank Wolfenbüttel" and it seems they also need the second login.

@bell430 have you found a solution for this?

bell430 commented 7 years ago

Sorry - haven't found a solution. But I will still support if testing is needed.

chrisribal commented 7 years ago

Found the solution in my case. It had nothing to do with second login, but with no available TAN mechanisms. I will open a new issue for that.