Not Working With TD (Access Denied)
syropian opened this issue · comments
Tried getting this to work with TD Bank, and getting an access denied response. Did some digging, and it could be a lack of proper user-agent in the request header. http://www.ofxhome.com/ofxforum/viewtopic.php?pid=108091#p108091
Edit: Upon adding a user-agent, I now get a response saying my user id and password is wrong, which kinda sucks, because they aren't. (Typed and re-typed about 10 times).
@syropian I just push an updated refactored version to npm and github. The refactor also includes the requested User-agent
For the user and pass check with your bank sometimes for ofx they have an alternative user and/or password you must use to connect.
Hi, upon running the latest version I get this:
banking.getStatement(bankInfo, 'xml', function(res, err){
^
TypeError: Object function Banking(args){ ...} has no method 'getStatement'
@syropian see the Readme.md for the updated docs/usage
Thanks. Oddly enough now all it's returning is true
. Is that the script returning it or from the actual response?