View Single Post
  #5  
Old 07-21-2014, 11:22 AM
 
poloplata poloplata is offline
 

Advanced Member
  
Join Date: Jan 2003
Posts: 34
 

Default Re: UPS shipping activation

Input data

Array
(
[srcAddress] => Array
(
[city] => Oakdale
[state] => CA
[country] => US
[zipcode] => 95361
)

[dstAddress] => Array
(
[city] => fresno
[state] => CA
[country] => US
[zipcode] => 93711
)

[cod_enabled] =>
[packages] => Array
(
[0] => Array
(
[weight] => 0.1
[subtotal] => 100
)

)

)
Error while connecting to the UPS server (https://wwwcie.ups.com/ups.app/xml)

Communication log

Array
(
[post URL] => https://wwwcie.ups.com/ups.app/xml
[request] => <?xml version='1.0'?>
<AccessRequest xml:lang='en-US'>
<AccessLicenseNumber>xxx</AccessLicenseNumber>
<UserId>xxx</UserId>
<Password>xxx</Password>
</AccessRequest>
<?xml version='1.0'?>
<RatingServiceSelectionRequest xml:lang='en-US'>
<Request>
<TransactionReference>
<CustomerContext>Rating and Service</CustomerContext>
<XpciVersion>1.0001</XpciVersion>
</TransactionReference>
<RequestAction>Rate</RequestAction>
<RequestOption>shop</RequestOption>
</Request>
<PickupType>
<Code>01</Code>
</PickupType>
<CustomerClassification>
<Code>01</Code>
</CustomerClassification>
<Shipment>
<Shipper>
<ShipperNumber>xxx</ShipperNumber>
<Address>
<City>Oakdale</City>
<StateProvinceCode>CA</StateProvinceCode>
<PostalCode>95361</PostalCode>
<CountryCode>US</CountryCode>
</Address>
</Shipper>
<ShipFrom>
<Address>
<City>Oakdale</City>
<StateProvinceCode>CA</StateProvinceCode>
<PostalCode>95361</PostalCode>
<CountryCode>US</CountryCode>
</Address>
</ShipFrom>
<ShipTo>
<Address>
<City>fresno</City>
<StateProvinceCode>CA</StateProvinceCode>
<PostalCode>93711</PostalCode>
<CountryCode>US</CountryCode>

</Address>
</ShipTo>

<Package>
<PackagingType>
<Code>00</Code>
</PackagingType>
<PackageWeight>
<UnitOfMeasurement>
<Code>LBS</Code>
</UnitOfMeasurement>
<Weight>0.1</Weight>
</PackageWeight>
<Dimensions>
<UnitOfMeasurement>
<Code>IN</Code>
</UnitOfMeasurement>
<Length>10</Length>
<Width>10</Width>
<Height>10</Height>
</Dimensions>


</Package>


</Shipment>
</RatingServiceSelectionRequest>
[response] =>
)
__________________
poloplata v5
Reply With Quote