|
|
|
@ -34,7 +34,7 @@ class Tracking_UPS_MailInnovations_DataMatrix {
|
|
|
|
|
} else {
|
|
|
|
|
$realcode = $codeparts[13];
|
|
|
|
|
|
|
|
|
|
$info = Tracking::track($realcode);
|
|
|
|
|
$info = Tracking::track($realcode, "usps");
|
|
|
|
|
|
|
|
|
|
// Set detailed destination address from code data
|
|
|
|
|
$to = $info->getTo();
|
|
|
|
@ -48,7 +48,7 @@ class Tracking_UPS_MailInnovations_DataMatrix {
|
|
|
|
|
$to->country = (new League\ISO3166\ISO3166)->numeric($codeparts[9])['alpha2'];
|
|
|
|
|
$info->setTo($to);
|
|
|
|
|
|
|
|
|
|
$info->setService(new Service("", "UPS Mail Innovations"));
|
|
|
|
|
$info->setService(new Service("", "Parcel Select/UPS Mail Innovations"));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return $info;
|
|
|
|
|