nemiah / phpSepaXml

GNU Lesser General Public License v3.0
4 stars 6 forks source link

SEPATransfer Call to a member function format() on null #6

Open timrasche opened 1 month ago

timrasche commented 1 month ago

Hello there!

on cross-europe transfers the bank returned that the exection date MUST be empty.

nemiah commented 1 month ago

Yes, it seemed correct but it is not. Try the new release please.

timrasche commented 1 month ago

Thanks but, 1999-01-01 is also an value and not empty/undefined. Further in SEPATransfer.php file the addCreditor function does not work in this szenario. format() on null variable..

seem2810 commented 1 month ago

It should be more dynamic... Because your revert my changes brokes: https://github.com/nemiah/phpFinTS/issues/445#issuecomment-2273952444

So it should be checked if the receiver in europe and a execution date is set, then set the date. if in europe, no date set, set to 1991 if not in europe - set to null

Please change it.

timrasche commented 3 weeks ago

Any news on this?