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
My version of the plugin is v4.0.0-beta.0 or above.
MyParcelNL version
v4.0.0-beta.3
PrestaShop version
8.1.7
PHP version
8.1
What went wrong?
In myparcelnl/vendor/myparcelnl/pdk/src/Shipment/Request/PostShipmentsRequest.php informations included in second (optional) address fields (address2) are being doubled. Variable "street" is created by combining both address fields, and sent to MyParcelNL. Second address field is still being sent as "street_additional_info" despite the fact that it has already been included in previous data.
As a result, if optional adress field is filled, adress sent to MyParcelNL end up having format "field1 field2 field2", and this wrong address is also being printed on labels.
Reproduction steps
Create an account.
Create an address, fill both required and optional address field.
Version check
MyParcelNL version
v4.0.0-beta.3
PrestaShop version
8.1.7
PHP version
8.1
What went wrong?
In myparcelnl/vendor/myparcelnl/pdk/src/Shipment/Request/PostShipmentsRequest.php informations included in second (optional) address fields (address2) are being doubled. Variable "street" is created by combining both address fields, and sent to MyParcelNL. Second address field is still being sent as "street_additional_info" despite the fact that it has already been included in previous data.
As a result, if optional adress field is filled, adress sent to MyParcelNL end up having format "field1 field2 field2", and this wrong address is also being printed on labels.
Reproduction steps
Relevant log output
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: