Closed strtob closed 1 year ago
I've sovled the problem.
The problem was, that throw new InvalidArgumentException
is not explicit defined. The are lot of different packages with the same class (in my project). Therefore, you need the path that the exception will catched. Maybe a better way to return a result with message that should be handled.
Best, Tobi
It returned a QR-Tan (probably) not a Flicker TAN, so I am a bit confused right now, how better defining a exception fixed something for you. Care to do a PR?
You're right, was some starting problem at my side. I'm not finished to implement this completely in my project, but this work is awesome and I really want to thank you for sharing!
Hi,
I have no luck to generate a phototan code:
ends with: InvalidArgumentException Wrong length of TAN Challenge expected: 0 - found: 3680 - only Version 1.4 supported
` in /vendor/nemiah/php-fints/lib/Fhp/Model/FlickerTan/TanRequestChallengeFlicker.php at line 42
print_r($tanRequest->getChallengeHhdUc()); returns me:
`Fhp\Syntax\Bin Object ( [string:protected] => image/pnge�PNG
IHDR����|.,IDATx�흡nU��++����x^���m�AౕMx�Z���@ ����C�����=����L�٬�5��{�����8��R���4�RK)����XJi,�4�RJc)����XJ)����RJc)����v������ΦG�M�Ό�g�ɓ'ӻw��߿/�XWWW���o�c/����t}}=�X���������6����f:::�p���\�����u~~������k��:==u�{=6@c��r�k����(��ph,�Cci,���XNJ�����ׯ_O�?�BSmU>|��>}���z�����gp���Tj�>}���Rj �XJi,��4�~k�?���fa����4��;������}=���[������t�̓nO��w���Z8�S�:����O���C����\�u�R�2��it�xz�RA�����!�����_L)::h���X+�9M#��e��B�����=� �t�J�H�c��Ŵ�����/o���1���4R�X�1-������c�
L�4��:��_L)::h���X+��Tp��E*��p�>�i۰T�5�X1]�R9 ��C�� KE�Xc��E*�
It seems there is a problem to convert the png, but I'm new to fints - any ideas would really appreaciate!
Thanks a lot, Tobi