Closed joeybab3 closed 5 years ago
Once again, I'm just not doing my research and did it wrong. For anyone looking to do the same, the line that worked for me is:
$trackRequest->setProcessingOptions([SimpleType\TrackRequestProcessingOptionType::_INCLUDE_DETAILED_SCANS]);
Trying to set the processing options to send detailed scans yields the following error:
Catchable fatal error: Method FedEx\TrackService\SimpleType\TrackRequestProcessingOptionType::__toString() must return a string value in /vendor/jeremy-dunn/php-fedex-api-wrapper/src/FedEx/AbstractComplexType.php on line 109
To do the processing options, im using:
$trackRequest->setProcessingOptions([new SimpleType\TrackRequestProcessingOptionType(TRUE)]);