phpFinTS
phpFinTS copied to clipboard
Sammelüberweisung possible?
Hello everybody,
first of all thank you for this great library, implementing things were a charm!
I have a question regarding "Sammelüberweisungen". I was thinking that it is possible by adding multiple creditors to the SEPA Transfer but it isn't working. How would I do that?
Regars Philipp
Hi, can you supply any more information about what is not working or symptoms of the problem?
I try to execute a SEPATransfer by adding multiple creditors but the request throws an error:
FinTS errors:\n9050 (global): Die Nachricht enthält Fehler.\n9010 (wrt seg 3): Mehr als ein Posten im Einzelauftrag vorhanden.
IIRC I've tried the same thing with the same bank some months ago and it has been working but I'm not 100% sure.
According to the code of SEPATransfer class it is able to handle multiple creditors?
Hi @witschko
Sammelüberweisungen is not currently supported.
If you want to try to add support, you would need to implement the "HKCCM
" Segment and in SendSEPATransfer.php
add a check for the number of SEPATransfers in the XML.
Have a look at HKCCSv1.php
for the Einzelüberweisung and at SendSEPADirectDebit.php
for how I did it for Lastschriften.
Hey @ampaze
ok...thank you very much for the explanation. I'll have a look into the HKCCM
and see what I can do.
see https://github.com/nemiah/phpFinTS/pull/366
if you want to use it NOW, you can alternatively use the following fork: https://github.com/LaunixPeter/phpFinTS
see #366
if you want to use it NOW, you can alternatively use the following fork: https://github.com/LaunixPeter/phpFinTS
Thank you very much...i'll have a look at it