-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
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
Barcodes is not defined for DHL\Entity\GB\ShipmentResponse #24
Comments
Same issue here ! Any update ? |
I didnt get it working. I created just a very simple xml curl call in php and then output to pdf with base_encode. |
I found a workaround ! Just change BarCodes to Barcodes in ShipmentResponse.php file ;) |
You need to use AP/ShipmentValidateResponse.php |
Building on @ericknyoto 's comment: AM := Americas, EU := Europe, AP := Asia Pacific. GB is not a DHL Region code at least according to the spreadsheet in the Developer Toolkit. I believe it is being used as something like Generic Base in the DHL library. Entity\GB\ShipmentResponse is the only ShipmentResponse or ShipmentValidateResponse which breaks the Barcodes element down into it's constituent parts (as opposed to a simple string type). So I am using @pernotjln 's workaround: Change line 200 of ${repo}/DHL/Entity/GB/ShipmentResponse.php from:
to:
|
Hi,
for some reason I get this error all the time with ShipmentRequest.php sample. What can it mean?
The text was updated successfully, but these errors were encountered: