-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No result and no errors? #72
Comments
Have you run it through a debugger? Also the ING parser was created for the Dutch ING bank, it could be that the Polish ING has a different markup. My suggestion to debug is allow the parser to detect it. Should it fallback to the generic parser, it should give a clue as to where to start looking ;) (and confirm that the Dutch ING and Polish ING differ in their MT940) |
I did some "debugging" ;-) but wasn't able to fix it really. It all starts with My sta begins with:
The problem begins in: php-mt940/src/Parser/Banking/Mt940/Engine.php Lines 172 to 182 in d7cdbc0
As I understand my statements are not separated by But still verry messy. Just an example:
|
I have found the english description for MT940 used by ING-PL https://www.ing.pl/_fileserver/item/1003276
|
Hmmm... thanks for the link to the docs... It seems ING Poland has some type of prefix for all the :86: lines... (as mentioned in the docs) You might want to have a look at pages 60+ from the PDF you mentioned. It should be doable to create a custom / new ING-Poland parser based on one of the other already available parsers. I currently don't have the time personally to look too deep into this, but PRs are welcome ;) |
Thank you, I'll try to find some time :-) |
@fruitl00p So I've started writing the IngPl parser, looks promising :-) But I'll have few questions. Is it OK to ask them using separate Issues? |
@websafe a single thread is also doable.. .Just be sure to include a reproducable scenario et al... You might even go as far as creating a PR which isnt finished yet so I might be able to see how far your getting.. Its really up to you ;) |
Hello,
I'm testing this parser on a sta file from ING (Poland) using this code:
but all I get is:
Am I missing something? Or maybe is my file format not supported?
The text was updated successfully, but these errors were encountered: