SDK version
main
We are specifically using 7.25.1 yet it seems this bug is still in main code.
PHP version
8.3
What went wrong?
The insurance value is set incorrectly when creating consignments for outside of CC_NL in the current codebase. Resulting in not being able to i.e. create parcels for BE with insurance value of 1500 EUR. It will set to 5 EUR, picking the nearest option in the API - resulting in an parcel of 100 EUR.
Fixing this does allow to create parcels. This fix is inline with how you are able to create parcels via the myparcel dashboard.
I've already made a PR with a fix for this problem with a detailed explanation of this problem here.
Reproduction steps
- Use the library to create a consignment for an Belgium address using an insurance value of 1500 EUR.
- Go to the shipment page and observe the parcel has been made with an insurance value of 100 EUR.
Relevant log output
No response
Additional context
No response
SDK version
mainWe are specifically using
7.25.1yet it seems this bug is still in main code.PHP version
8.3
What went wrong?
The insurance value is set incorrectly when creating consignments for outside of
CC_NLin the current codebase. Resulting in not being able to i.e. create parcels for BE with insurance value of 1500 EUR. It will set to 5 EUR, picking the nearest option in the API - resulting in an parcel of 100 EUR.Fixing this does allow to create parcels. This fix is inline with how you are able to create parcels via the myparcel dashboard.
I've already made a PR with a fix for this problem with a detailed explanation of this problem here.
Reproduction steps
Relevant log output
No response
Additional context
No response