Closed laszloerno closed 1 year ago
Something should change on the szamlazz.hu side, if everything worked fine earlier.
I use the lib only generate invoice, so I don't know what is the expected output of the getInvoiceData
method.
I debug your example and with this setup. It returns with undefined
for me too.
The problem is in the _sendRequest
method returns with AxiosResponse in the line. AxoisResponse.data
contains the response. So it should be parsed to get back the szamla
data.
If szamlazz.hu did not change anything and you also did not upgraded the library then this code does not work for a while. I am opening a PR that fix this use case but I don't know who will confirm it fix cover every case
thanks for the prompt reply, yes now it works fine !
sry. I don't understand. Now after the szamlazz.hu outage everything works without the PR #44?
no after i implemented your fix it solved the issue.
ok, then we merge the PR and we will deploy a new version
thanks again :)
Hi,
i'm using your latest version and created a test application as since 2 days the invoice response is not working in my productive app. After contacting Szamlazz.hu they told me that nothing has been change on their side. The response of getInvoiceData is undefined.
maybe i do something wrong please varify that the response is working for you, if yes then please share some hint where i'm wrong :) with my code.
thanks