We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When the fetchOrder is called on an order with insurance the createFromXML in Bpost\BpostApiClient\Bpost\Order\Box\Option\Insured failes.
fetchOrder
createFromXML
Bpost\BpostApiClient\Bpost\Order\Box\Option\Insured
It can be resolved using getting the children with the full namespace:
// $insuranceDetail = $xml->children('common', true); <-- fails $insuranceDetail = $xml->children('http://schema.post.be/shm/deepintegration/v3/common');
Environment: PHP 8.2.6
The text was updated successfully, but these errors were encountered:
Update Insured.php
27a4e74
Antidot-be#34
+1 Had to fork the master. Also the version with the 3.4.11 tag does not work for insured packages
Thanks!
Sorry, something went wrong.
Hi,
Sorry for the very late reply.
There were 2 bugs:
These 2 bugs are solved in #44 (merged on master). Can you check that solve your issue?
No branches or pull requests
When the
fetchOrder
is called on an order with insurance thecreateFromXML
inBpost\BpostApiClient\Bpost\Order\Box\Option\Insured
failes.It can be resolved using getting the children with the full namespace:
Environment: PHP 8.2.6
The text was updated successfully, but these errors were encountered: