News:

Support the VirtueMart project and become a member

Main Menu

UPS Shipping Results Returned but Not Displayed

Started by cerillion, February 09, 2009, 05:11:11 AM

Previous topic - Next topic

cerillion

I have had the UPS v1 shipping module working for some time, but recently the results posted from UPS.com are not being displayed in the Shipping Methods page.  I would appreciate any assistance.

I'm running VM 1.1.3 on Joomla 1.0.15

In debug mode, the XML post and results are successful.  However, the rates all display as $0, even for a 120 lb. shipment:

Cart Contents: 120 LBS

Results displayed on Shipping Page:
UPS Ground ($0.00) - Weight: 120 LBS, Fee: [[(1)]+0](1)]
UPS 3 Day Select ($0.00) - Weight: 120 LBS, Fee: [[(1)]+0](1)]
UPS 2nd Day Air ($0.00) - Weight: 120 LBS, Fee: [[(1)]+0](1)]
UPS Next Day Air Saver ($0.00) - Weight: 120 LBS, Fee: [[(1)]+0](1)]
UPS Next Day Air Early A.M. ($0.00) - Weight: 120 LBS, Fee: [[(1)]+0](1)]

XMLs of the session:

XML POST
<?xml version="1.0"?>
<AccessRequest xml:lang="en-US">
<AccessLicenseNumber>XXXXXXXXXXXXXXX
</AccessLicenseNumber>
<UserId>XXXXXXX
</UserId>
<Password>XXXXXX
</Password>
</AccessRequest>
<?xml version="1.0"?>
<RatingServiceSelectionRequest xml:lang="en-US">
<Request> 
<TransactionReference> 
<CustomerContext>Shipping Estimate
</CustomerContext> 
<XpciVersion>1.0001
</XpciVersion> 
</TransactionReference> 
<RequestAction>rate
</RequestAction> 
<RequestOption>shop
</RequestOption>
</Request>
<PickupType> 
<Code>01
</Code>
</PickupType>
<Shipment> 
<Shipper>   
<Address>   
<PostalCode>18938
</PostalCode>   
<CountryCode>US
</CountryCode>   
</Address> 
</Shipper> 
<ShipTo>   
<Address>   
<PostalCode>07057
</PostalCode>   
<CountryCode>US
</CountryCode>   
<ResidentialAddressIndicator/>   
</Address> 
</ShipTo> 
<ShipFrom>   
<Address>   
<PostalCode>18938
</PostalCode>   
<CountryCode>US
</CountryCode>   
</Address> 
</ShipFrom> 
<Package>   
<PackagingType>   
<Code>02
</Code>   
</PackagingType>   
<PackageWeight>   
<UnitOfMeasurement>     
<Code>LBS
</Code>   
</UnitOfMeasurement>   
<Weight>120
</Weight>   
</PackageWeight> 
</Package>
</Shipment>
</RatingServiceSelectionRequest>

XML RESULT
<?xml version="1.0"?>
<RatingServiceSelectionResponse>
<Response>
<TransactionReference>
<CustomerContext>Shipping Estimate
</CustomerContext>
<XpciVersion>1.0001
</XpciVersion>
</TransactionReference>
<ResponseStatusCode>1
</ResponseStatusCode>
<ResponseStatusDescription>Success
</ResponseStatusDescription>
</Response>
<RatedShipment>
<Service>
<Code>03
</Code>
</Service>
<RatedShipmentWarning>Additional Handling has automatically been set on Package 1.
</RatedShipmentWarning>
<RatedShipmentWarning>Your invoice may vary from the displayed reference rates
</RatedShipmentWarning>
<BillingWeight>
<UnitOfMeasurement>
<Code>LBS
</Code>
</UnitOfMeasurement>
<Weight>120.0
</Weight>
</BillingWeight>
<TransportationCharges>
<CurrencyCode>USD
</CurrencyCode>
<MonetaryValue>52.89
</MonetaryValue>
</TransportationCharges>
<ServiceOptionsCharges>
<CurrencyCode>USD
</CurrencyCode>
<MonetaryValue>7.50
</MonetaryValue>
</ServiceOptionsCharges>
<TotalCharges>
<CurrencyCode>USD
</CurrencyCode>
<MonetaryValue>60.39
</MonetaryValue>
</TotalCharges>
<GuaranteedDaysToDelivery>
</GuaranteedDaysToDelivery>
<ScheduledDeliveryTime>
</ScheduledDeliveryTime>
<RatedPackage>
<TransportationCharges>
<CurrencyCode>USD
</CurrencyCode>
<MonetaryValue>52.89
</MonetaryValue>
</TransportationCharges>
<ServiceOptionsCharges>
<CurrencyCode>USD
</CurrencyCode>
<MonetaryValue>7.50
</MonetaryValue>
</ServiceOptionsCharges>
<TotalCharges>
<CurrencyCode>USD
</CurrencyCode>
<MonetaryValue>60.39
</MonetaryValue>
</TotalCharges>
<Weight>120.0
</Weight>
<BillingWeight>
<UnitOfMeasurement>
<Code>LBS
</Code>
</UnitOfMeasurement>
<Weight>120.0
</Weight>
</BillingWeight>
</RatedPackage>
</RatedShipment>
<RatedShipment>
<Service>
<Code>12
</Code>
</Service>
<RatedShipmentWarning>Additional Handling has automatically been set on Package 1.
</RatedShipmentWarning>
<RatedShipmentWarning>Your invoice may vary from the displayed reference rates
</RatedShipmentWarning>
<BillingWeight>
<UnitOfMeasurement>
<Code>LBS
</Code>
</UnitOfMeasurement>
<Weight>120.0
</Weight>
</BillingWeight>
<TransportationCharges>
<CurrencyCode>USD
</CurrencyCode>
<MonetaryValue>68.12
</MonetaryValue>
</TransportationCharges>
<ServiceOptionsCharges>
<CurrencyCode>USD
</CurrencyCode>
<MonetaryValue>7.50
</MonetaryValue>
</ServiceOptionsCharges>
<TotalCharges>
<CurrencyCode>USD
</CurrencyCode>
<MonetaryValue>75.62
</MonetaryValue>
</TotalCharges>
<GuaranteedDaysToDelivery>3
</GuaranteedDaysToDelivery>
<ScheduledDeliveryTime>
</ScheduledDeliveryTime>
<RatedPackage>
<TransportationCharges>
<CurrencyCode>USD
</CurrencyCode>
<MonetaryValue>68.12
</MonetaryValue>
</TransportationCharges>
<ServiceOptionsCharges>
<CurrencyCode>USD
</CurrencyCode>
<MonetaryValue>7.50
</MonetaryValue>
</ServiceOptionsCharges>
<TotalCharges>
<CurrencyCode>USD
</CurrencyCode>
<MonetaryValue>75.62
</MonetaryValue>
</TotalCharges>
<Weight>120.0
</Weight>
<BillingWeight>
<UnitOfMeasurement>
<Code>LBS
</Code>
</UnitOfMeasurement>
<Weight>120.0
</Weight>
</BillingWeight>
</RatedPackage>
</RatedShipment>
<RatedShipment>
<Service>
<Code>02
</Code>
</Service>
<RatedShipmentWarning>Additional Handling has automatically been set on Package 1.
</RatedShipmentWarning>
<RatedShipmentWarning>Your invoice may vary from the displayed reference rates
</RatedShipmentWarning>
<BillingWeight>
<UnitOfMeasurement>
<Code>LBS
</Code>
</UnitOfMeasurement>
<Weight>120.0
</Weight>
</BillingWeight>
<TransportationCharges>
<CurrencyCode>USD
</CurrencyCode>
<MonetaryValue>92.52
</MonetaryValue>
</TransportationCharges>
<ServiceOptionsCharges>
<CurrencyCode>USD
</CurrencyCode>
<MonetaryValue>7.50
</MonetaryValue>
</ServiceOptionsCharges>
<TotalCharges>
<CurrencyCode>USD
</CurrencyCode>
<MonetaryValue>100.02
</MonetaryValue>
</TotalCharges>
<GuaranteedDaysToDelivery>2
</GuaranteedDaysToDelivery>
<ScheduledDeliveryTime>
</ScheduledDeliveryTime>
<RatedPackage>
<TransportationCharges>
<CurrencyCode>USD
</CurrencyCode>
<MonetaryValue>92.52
</MonetaryValue>
</TransportationCharges>
<ServiceOptionsCharges>
<CurrencyCode>USD
</CurrencyCode>
<MonetaryValue>7.50
</MonetaryValue>
</ServiceOptionsCharges>
<TotalCharges>
<CurrencyCode>USD
</CurrencyCode>
<MonetaryValue>100.02
</MonetaryValue>
</TotalCharges>
<Weight>120.0
</Weight>
<BillingWeight>
<UnitOfMeasurement>
<Code>LBS
</Code>
</UnitOfMeasurement>
<Weight>120.0
</Weight>
</BillingWeight>
</RatedPackage>
</RatedShipment>
<RatedShipment>
<Service>
<Code>13
</Code>
</Service>
<RatedShipmentWarning>Additional Handling has automatically been set on Package 1.
</RatedShipmentWarning>
<RatedShipmentWarning>Your invoice may vary from the displayed reference rates
</RatedShipmentWarning>
<BillingWeight>
<UnitOfMeasurement>
<Code>LBS
</Code>
</UnitOfMeasurement>
<Weight>120.0
</Weight>
</BillingWeight>
<TransportationCharges>
<CurrencyCode>USD
</CurrencyCode>
<MonetaryValue>150.59
</MonetaryValue>
</TransportationCharges>
<ServiceOptionsCharges>
<CurrencyCode>USD
</CurrencyCode>
<MonetaryValue>7.50
</MonetaryValue>
</ServiceOptionsCharges>
<TotalCharges>
<CurrencyCode>USD
</CurrencyCode>
<MonetaryValue>158.09
</MonetaryValue>
</TotalCharges>
<GuaranteedDaysToDelivery>1
</GuaranteedDaysToDelivery>
<ScheduledDeliveryTime>
</ScheduledDeliveryTime>
<RatedPackage>
<TransportationCharges>
<CurrencyCode>USD
</CurrencyCode>
<MonetaryValue>150.59
</MonetaryValue>
</TransportationCharges>
<ServiceOptionsCharges>
<CurrencyCode>USD
</CurrencyCode>
<MonetaryValue>7.50
</MonetaryValue>
</ServiceOptionsCharges>
<TotalCharges>
<CurrencyCode>USD
</CurrencyCode>
<MonetaryValue>158.09
</MonetaryValue>
</TotalCharges>
<Weight>120.0
</Weight>
<BillingWeight>
<UnitOfMeasurement>
<Code>LBS
</Code>
</UnitOfMeasurement>
<Weight>120.0
</Weight>
</BillingWeight>
</RatedPackage>
</RatedShipment>
<RatedShipment>
<Service>
<Code>14
</Code>
</Service>
<RatedShipmentWarning>Additional Handling has automatically been set on Package 1.
</RatedShipmentWarning>
<RatedShipmentWarning>Your invoice may vary from the displayed reference rates
</RatedShipmentWarning>
<BillingWeight>
<UnitOfMeasurement>
<Code>LBS
</Code>
</UnitOfMeasurement>
<Weight>120.0
</Weight>
</BillingWeight>
<TransportationCharges>
<CurrencyCode>USD
</CurrencyCode>
<MonetaryValue>209.32
</MonetaryValue>
</TransportationCharges>
<ServiceOptionsCharges>
<CurrencyCode>USD
</CurrencyCode>
<MonetaryValue>7.50
</MonetaryValue>
</ServiceOptionsCharges>
<TotalCharges>
<CurrencyCode>USD
</CurrencyCode>
<MonetaryValue>216.82
</MonetaryValue>
</TotalCharges>
<GuaranteedDaysToDelivery>1
</GuaranteedDaysToDelivery>
<ScheduledDeliveryTime>8:00 A.M.
</ScheduledDeliveryTime>
<RatedPackage>
<TransportationCharges>
<CurrencyCode>USD
</CurrencyCode>
<MonetaryValue>209.32
</MonetaryValue>
</TransportationCharges>
<ServiceOptionsCharges>
<CurrencyCode>USD
</CurrencyCode>
<MonetaryValue>7.50
</MonetaryValue>
</ServiceOptionsCharges>
<TotalCharges>
<CurrencyCode>USD
</CurrencyCode>
<MonetaryValue>216.82
</MonetaryValue>
</TotalCharges>
<Weight>120.0
</Weight>
<BillingWeight>
<UnitOfMeasurement>
<Code>LBS
</Code>
</UnitOfMeasurement>
<Weight>120.0
</Weight>
</BillingWeight>
</RatedPackage>
</RatedShipment>
<RatedShipment>
<Service>
<Code>01
</Code>
</Service>
<RatedShipmentWarning>Additional Handling has automatically been set on Package 1.
</RatedShipmentWarning>
<RatedShipmentWarning>Your invoice may vary from the displayed reference rates
</RatedShipmentWarning>
<BillingWeight>
<UnitOfMeasurement>
<Code>LBS
</Code>
</UnitOfMeasurement>
<Weight>120.0
</Weight>
</BillingWeight>
<TransportationCharges>
<CurrencyCode>USD
</CurrencyCode>
<MonetaryValue>178.01
</MonetaryValue>
</TransportationCharges>
<ServiceOptionsCharges>
<CurrencyCode>USD
</CurrencyCode>
<MonetaryValue>7.50
</MonetaryValue>
</ServiceOptionsCharges>
<TotalCharges>
<CurrencyCode>USD
</CurrencyCode>
<MonetaryValue>185.51
</MonetaryValue>
</TotalCharges>
<GuaranteedDaysToDelivery>1
</GuaranteedDaysToDelivery>
<ScheduledDeliveryTime>10:30 A.M.
</ScheduledDeliveryTime>
<RatedPackage>
<TransportationCharges>
<CurrencyCode>USD
</CurrencyCode>
<MonetaryValue>178.01
</MonetaryValue>
</TransportationCharges>
<ServiceOptionsCharges>
<CurrencyCode>USD
</CurrencyCode>
<MonetaryValue>7.50
</MonetaryValue>
</ServiceOptionsCharges>
<TotalCharges>
<CurrencyCode>USD
</CurrencyCode>
<MonetaryValue>185.51
</MonetaryValue>
</TotalCharges>
<Weight>120.0
</Weight>
<BillingWeight>
<UnitOfMeasurement>
<Code>LBS
</Code>
</UnitOfMeasurement>
<Weight>120.0
</Weight>
</BillingWeight>
</RatedPackage>
</RatedShipment>
</RatingServiceSelectionResponse>

cerillion

Debug mode displays the following message:  "Debug: Using the cURL library for communicating with www.ups.com"

cerillion

After reading the v2 changelog, I went back out and validated that the v1 module posts results for packages under 70 lbs, but fails to post for packages over 70 lbs.  Since this is a known issue I'm going to try installing v2 to see if that fixes it.