gabrielbull / php-ups-api

PHP Wrapper for all UPS API
MIT License
456 stars 255 forks source link

Failure: Missing or Invalid Total Number of Pieces in all Pallets in a Shipment. (120030) #280

Closed mswaqas closed 4 years ago

mswaqas commented 4 years ago

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);

gabrielbull commented 4 years ago

@mswaqas This library has no maintainer and is looking for one.