Skip to content

Magento 2.4.7 configure UPS shipping method

i am trying to configure UPS shipping method with Magento 2.4.7. i am using United Parcel Service REST UPS type. you can verify below images of UPS configurations :
[1]: https://i.sstatic.net/Mwv9g3pB.png
[2]: https://i.sstatic.net/3tFzAWlD.png
[3]: https://i.sstatic.net/eAsHlCWv.png
[4]: https://i.sstatic.net/lQqMkM69.png
[5]: https://i.sstatic.net/2D4bLGM6.png

Following are my shipping logs :

‘request’ => ‘{
“RateRequest”: {
“Request”: {
“TransactionReference”: {
“CustomerContext”: “Rating and Service”
}
},
“Shipment”: {
“Shipper”: {
“Name”: “UPS”,
“ShipperNumber”: “my shipper number”,
“Address”: {
“AddressLine”: [
“”
],
“City”: “Oakwood”,
“StateProvinceCode”: “GA”,
“PostalCode”: “30566”,
“CountryCode”: “US”
}
},
“ShipTo”: {
“Address”: {
“AddressLine”: [
“02”
],
“StateProvinceCode”: “GA”,
“PostalCode”: “30566”,
“CountryCode”: “US”,
“ResidentialAddressIndicator”: “”
}
},
“ShipFrom”: {
“Address”: {
“AddressLine”: [],
“StateProvinceCode”: “GA”,
“PostalCode”: “30566”,
“CountryCode”: “US”
}
},
“ShipmentRatingOptions”: {
“TPFCNegotiatedRatesIndicator”: “Y”,
“NegotiatedRatesIndicator”: “Y”
},
“Package”: [
{
“PackagingType”: {
“Code”: “00”,
“Description”: “Packaging”
},
“Dimensions”: {
“UnitOfMeasurement”: {
“Code”: “IN”,
“Description”: “Inches”
},
“Length”: “5”,
“Width”: “5”,
“Height”: “5”
},
“PackageWeight”: {
“UnitOfMeasurement”: {
“Code”: “LBS”
},
“Weight”: “1”
}
}
]
}
}
}’,
‘result’ => ”,
) [] []

i got empty result