Re: UPS XML: Support Thread
Probably helps if I post the UPSXML debug instead of the zencart admin debug, though I don't know why the admin debug would have indications of UPSXML issues and also reference USPS in the same error. Admin error looks like zen-cart.com plugin support check is no longer supported
And to go along with carlwhat comments, I happen to live adjacent to the only town in the usa that has an apostrophe in the name but have learned to use a space instead.
Code:
Date and Time: 2020-02-27 15:24:15
UPS URL: https://onlinetools.ups.com:443/ups.app/xml/Rate
UPS Request: <?xml version="1.0"?>
<AccessRequest xml:lang="en-US">
<AccessLicenseNumber>removedforsecurity</AccessLicenseNumber>
<UserId>Chaingedforsecurity</UserId>
<Password>8XRs2*xzt$KW&xb@</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>03</Code>
</PickupType>
<Shipment>
<RateInformation><NegotiatedRatesIndicator /></RateInformation>
<Shipper>
<Address>
<City>Hayden</City>
<StateProvinceCode>LA</StateProvinceCode>
<CountryCode>US</CountryCode>
<PostalCode>83835</PostalCode>
</Address>
<ShipperNumber>6digits</ShipperNumber>
</Shipper>
<ShipTo>
<Address>
<City>Hayden</City>
<StateProvinceCode>ID</StateProvinceCode>
<CountryCode>US</CountryCode>
<PostalCode>83835</PostalCode>
<ResidentialAddressIndicator/>
</Address>
</ShipTo>
<Package>
<PackagingType>
<Code>02</Code>
</PackagingType>
<PackageWeight>
<UnitOfMeasurement>
<Code>LBS</Code>
</UnitOfMeasurement>
<Weight>1</Weight>
</PackageWeight>
<PackageServiceOptions>
<InsuredValue>
<CurrencyCode>USD</CurrencyCode>
<MonetaryValue>142</MonetaryValue>
</InsuredValue>
</PackageServiceOptions>
</Package>
</Shipment>
<CustomerClassification>
<Code>04</Code>
</CustomerClassification>
</RatingServiceSelectionRequest>
UPS RESPONSE: <?xml version="1.0"?>
<RatingServiceSelectionResponse><Response><TransactionReference><CustomerContext>Rating and Service</CustomerContext><XpciVersion>1.0001</XpciVersion></TransactionReference><ResponseStatusCode>0</ResponseStatusCode><ResponseStatusDescription>Failure</ResponseStatusDescription><Error><ErrorSeverity>Hard</ErrorSeverity><ErrorCode>10001</ErrorCode><ErrorDescription>The XML document is not well formed</ErrorDescription></Error></Response></RatingServiceSelectionResponse>
Last edited by RixStix; 28 Feb 2020 at 12:33 AM.
Reason: additional info
Rick
RixStix (dot) com
aka: ChainWeavers (dot) com
Bookmarks