klr / Handelsbanken-PHP

Wrapper for the unofficial API of Handelsbanken (Swedish bank)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Doesn't work anymore

uberswe opened this issue · comments

I found this to be interesting but unfortunately it doesn't seem to work anymore.

Not sure what the problem is but I was unable to complete a login.
When using the app I could see requests to m2.handelsbanken.se and m.handelsbanken.se, perhaps they have changed it in the last two years :)

Interesting idea, maybe @bjornsallarp could take another look if he has the time to see how it has changed and how much you would have to change the PHP wrapper.

Here is the error I get

string(227) "HTTP/1.1 302 Moved Temporarily Date: Tue, 13 May 2014 07:37:00 GMT Server: Apache Content-Language: en-US Location: http://m.handelsbanken.se/app/session-error Content-Length: 0 Content-Type: text/plain; charset=UTF-8 "

They have a new API (since a long time ago actually) with a different security mechanism (captcha style). My guess is they closed the old one now. You're going to have to re-write the entire thing against the new api. Not sure how much have changed apart from the new authentication mechanism though. The captacha solution can easily be automated and bypassed but I have agreed with Handelsbanken not to publish anything regarding this API.

Good to know and thank you for the quick reply.

Seems like they don't want people using it, thought it would be nice to get a quick readout of transactions and balances in my own app for personal use. Too bad they don't have a open public API for this.

I haven't touched this project in a long time. I'll add a notice in the README at least. Thanks for noticing @markustenghamn and thanks for the clarification @bjornsallarp, much appreciated!