I am facing this error when I am trying to the international shipment.
// Set service
$service = new \Ups\Entity\Service;
$service->setCode(\Ups\Entity\Service::S_UPSWW_EXPRESSFREIGHT);
$service->setDescription($service->getName());
$shipment->setService($service);
$package = new \Ups\Entity\Package();
$package->getPackagingType()->setCode(\Ups\Entity\PackagingType::PT_UNKNOWN);
I am facing this error when I am trying to the international shipment.
// Set service $service = new \Ups\Entity\Service; $service->setCode(\Ups\Entity\Service::S_UPSWW_EXPRESSFREIGHT); $service->setDescription($service->getName()); $shipment->setService($service);
$package = new \Ups\Entity\Package(); $package->getPackagingType()->setCode(\Ups\Entity\PackagingType::PT_UNKNOWN);