diff --git a/app/code/core/Mage/Usa/Model/Shipping/Carrier/Ups.php b/app/code/core/Mage/Usa/Model/Shipping/Carrier/Ups.php index 6088cf673dd..c6502f26c54 100644 --- a/app/code/core/Mage/Usa/Model/Shipping/Carrier/Ups.php +++ b/app/code/core/Mage/Usa/Model/Shipping/Carrier/Ups.php @@ -1859,19 +1859,6 @@ protected function _formShipmentRestRequest(Varien_Object $request): string if ($request->getShipperAddressStateOrProvinceCode()) { $address['StateProvinceCode'] = $request->getShipperAddressStateOrProvinceCode(); } - - $shipToAddress = &$shipToData['Address']; - $shipToAddress['AddressLine'] = - $request->getShipperAddressStreet1() . ' ' . $request->getShipperAddressStreet2(); - $shipToAddress['City'] = $request->getShipperAddressCity(); - $shipToAddress['CountryCode'] = $request->getShipperAddressCountryCode(); - $shipToAddress['PostalCode'] = $request->getShipperAddressPostalCode(); - if ($request->getShipperAddressStateOrProvinceCode()) { - $shipToAddress['StateProvinceCode'] = $request->getShipperAddressStateOrProvinceCode(); - } - if ($this->getConfigData('dest_type') == 'RES') { - $shipToAddress['ResidentialAddress'] = ''; - } } $shipParams['ShipmentRequest']['Shipment']['Service']['Code'] = $request->getShippingMethod();