You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't know if this problem is caused by our own Magento environment or if it is the plugin itself. Still, I'm posting it here to help others who may be running into the same problem.
To Reproduce
Steps to reproduce the behavior:
Login on the Magento backend as an administrator
Open the sales -> order page
In the order grid, choose a order and do mass action 'PostNL - Maak zendingen aan, print labels en meld voor' and submit the action
Expected result
The shipment is created, registered with PostNL and a popup appears with the corresponding labels
Actual result
An error is thrown: "Error Fetching http body, No Content-Length, connection closed or chunked data"
Workaround
Open Abstract.php in 'app/code/community/TIG/PostNL/Model/Core/Cif' and add the following line to the soapOptions array (after line 389):
'compression' => SOAP_COMPRESSION_ACCEPT | SOAP_COMPRESSION_GZIP | SOAP_COMPRESSION_DEFLATE
This fixed our problem.
** Please complete the following information**
Magento version: 1.9.4.5
PHP version: 5.6.40
TIG PostNL version: v1.16.6
The text was updated successfully, but these errors were encountered:
Thank you for submitting the solution, I will indeed keep it open for future users. The magento 1 module has been end of life for a while. You could contact postnl to ask them to add this to the magento 1 they will decide if they want to add this extra line of code.
I don't know if this problem is caused by our own Magento environment or if it is the plugin itself. Still, I'm posting it here to help others who may be running into the same problem.
To Reproduce
Steps to reproduce the behavior:
Expected result
The shipment is created, registered with PostNL and a popup appears with the corresponding labels
Actual result
An error is thrown: "Error Fetching http body, No Content-Length, connection closed or chunked data"
Workaround
Open Abstract.php in 'app/code/community/TIG/PostNL/Model/Core/Cif' and add the following line to the soapOptions array (after line 389):
'compression' => SOAP_COMPRESSION_ACCEPT | SOAP_COMPRESSION_GZIP | SOAP_COMPRESSION_DEFLATE
This fixed our problem.
** Please complete the following information**
The text was updated successfully, but these errors were encountered: