alfallouji / DHL-API

This library provides a PHP client for the DHL XML Services. DHL XML Services is an online web services integration capability that provides DHL’s service availability, transit times, rates, shipment and courier pickup booking along with shipment tracking from over 140 countries around the world. Using DHL’s XML Services, customers can incorporate DHL shipping functionality into their websites, customer service applications or order processing systems.
190 stars 148 forks source link

Cannot determine destination service #25

Open atul-askonline opened 7 years ago

atul-askonline commented 7 years ago

Fatal error: Uncaught exception 'Exception' with message 'Error returned from DHL webservice : SV011c : Cannot determine destination service. Check recipient postal code, city and country or complete an airwaybill manually. For assistance call DHL customer services.' in C:\xampp\htdocs\dhl\DHL\Entity\Base.php:230 Stack trace: #0 C:\xampp\htdocs\dhl\samples\GB\ShipmentRequest.php(150): DHL\Entity\Base->initFromXML('<?xml version="...') #1 {main} thrown in C:\xampp\htdocs\dhl\DHL\Entity\Base.php on line 230

pernotjln commented 7 years ago

Check your address ! DHL match zip code, city and country.

tkegan commented 6 years ago

Tip for Puerto Rico: The CountryCode is "PR", Country Name is "PUERTO RICO" and the Division/DivisionCode should be empty