Skip to content

Correct weight on label when using multi-parcel#111

Open
mdesplenter wants to merge 1 commit into
dpdconnect:masterfrom
mdesplenter:master
Open

Correct weight on label when using multi-parcel#111
mdesplenter wants to merge 1 commit into
dpdconnect:masterfrom
mdesplenter:master

Conversation

@mdesplenter
Copy link
Copy Markdown

When you create a multi-parcel order with the weight in kg, the code is missing the weight*100 to send the correct value to the DPD API. This results in a wrong value on the label, ex 31Kg becomes 0,31 Kg

The calculation does exist in getOrderWeight(), but that function isn't used in addParcelsFromPackages()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant