Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

UPSXML module and Eroneus Pricing


tranquilsense

Recommended Posts

I have installed the UPS mod and it looks like it is working for the most part.

 

But when I go for a quote ,pricing appears with a rediculously low price.

 

 

United Parcel Service (XML) (1 pkg x 3 lbs total)

UPS Standard, EDD: January 24, 2007 $11.00

UPS Expedited, EDD: January 24, 2007 $2.00

UPS Saver $13.00

UPS Express Early A.M. $14.00

UPS Express, EDD: January 24, 2007 $1

 

Does anyone have any suggestions or setting to rid of this option?or to fix it.

 

I have enable logging, but cannot see where this is coming from. (also am not too sure what to look for either)

 

And finally, is there an option to display all shipping options available?(and not just the lowest 5)

 

Thanks

 

David

http://tranquilsense.com

_________________________________________________________________________

 

David G Aschenbrener

Tranquil | Sense - Your Stop for Tranquility.

Link to comment
Share on other sites

This is what error I had email to me by the module

 

<?xml version="1.0" encoding="UTF-8" ?>

<RatingError>At least one item has valid class and weight is required.</RatingError>

 

Here is my log info

 

------------------------------------------

DATE AND TIME: 2007-01-24 15:40:53

UPS URL: https://www.ups.com:443/ups.app/xml/TimeInTransit

UPS REQUEST: <?xml version="1.0"?>

<AccessRequest xml:lang="en-US">

<AccessLicenseNumber>*****</AccessLicenseNumber>

<UserId>*****</UserId>

<Password>*****</Password>

</AccessRequest>

<?xml version="1.0"?>

<TimeInTransitRequest xml:lang="en-US">

<Request>

<TransactionReference>

<CustomerContext>Time in Transit</CustomerContext>

<XpciVersion>1.0002</XpciVersion>

</TransactionReference>

<RequestAction>TimeInTransit</RequestAction>

</Request>

<TransitFrom>

<AddressArtifactFormat>

<PoliticalDivision2>Regina</PoliticalDivision2>

<PoliticalDivision1>SK</PoliticalDivision1>

<CountryCode>CA</CountryCode>

<PostcodePrimaryLow>S4V1T9</PostcodePrimaryLow>

</AddressArtifactFormat>

</TransitFrom>

<TransitTo>

<AddressArtifactFormat>

<PoliticalDivision2>Regina</PoliticalDivision2>

<PoliticalDivision1>SK</PoliticalDivision1>

<CountryCode>CA</CountryCode>

<PostcodePrimaryLow>S4V1T9</PostcodePrimaryLow>

<PostcodePrimaryHigh>S4V1T9</PostcodePrimaryHigh>

</AddressArtifactFormat>

</TransitTo>

<ShipmentWeight>

<UnitOfMeasurement>

<Code>LBS</Code>

</UnitOfMeasurement>

<Weight>3.2</Weight>

</ShipmentWeight>

<InvoiceLineTotal>

<CurrencyCode>CAD</CurrencyCode>

<MonetaryValue>0</MonetaryValue>

</InvoiceLineTotal>

<PickupDate>20070124</PickupDate>

</TimeInTransitRequest>

 

UPS RESPONSE: <?xml version="1.0"?><TimeInTransitResponse><Response><TransactionReference><CustomerContext>Time in Transit</CustomerContext><XpciVersion>1.0002</XpciVersion></TransactionReference><ResponseStatusCode>1</ResponseStatusCode><ResponseStatusDescription>Success</ResponseStatusDescription></Response><TransitResponse><PickupDate>2007-01-24</PickupDate><TransitFrom><AddressArtifactFormat><PoliticalDivision2>REGINA</PoliticalDivision2><PoliticalDivision1>SK</PoliticalDivision1><Country>CANADA</Country><CountryCode>CA</CountryCode><PostcodePrimaryLow>S4V1T9</PostcodePrimaryLow></AddressArtifactFormat></TransitFrom><TransitTo><AddressArtifactFormat><PoliticalDivision2>REGINA</PoliticalDivision2><PoliticalDivision1>SK</PoliticalDivision1><Country>CANADA</Country><CountryCode>CA</CountryCode><PostcodePrimaryLow>S4V1T9</PostcodePrimaryLow></AddressArtifactFormat></TransitTo><AutoDutyCode>02</AutoDutyCode><ShipmentWeight><UnitOfMeasurement><Code>LBS</Code></UnitOfMeasurement><Weight>3.2</Weight></ShipmentWeight><InvoiceLineTotal><CurrencyCode>CAD</CurrencyCode><MonetaryValue>1.00</MonetaryValue></InvoiceLineTotal><Disclaimer>All services are guaranteed if shipment is paid for in full by a payee in Canada. Services listed as guaranteed are backed by a money-back guarantee for transportation charges only. See Terms and Conditions in the Service Guide for details. Certain commodities and high value shipments may require additional transit time for customs clearance.</Disclaimer><ServiceSummary><Service><Code>23</Code><Description>UPS Express Plus</Description></Service><Guaranteed><Code>Y</Code></Guaranteed><EstimatedArrival><BusinessTransitDays>1</BusinessTransitDays><Time>08:30:00</Time><PickupDate>2007-01-24</PickupDate><PickupTime>17:30:00</PickupTime><HolidayCount>0</HolidayCount><DelayCount>0</DelayCount><Date>2007-01-25</Date><DayOfWeek>THU</DayOfWeek><TotalTransitDays>1</TotalTransitDays><CustomerCenterCutoff>16:30:00</CustomerCenterCutoff><RestDays>0</RestDays></EstimatedArrival></ServiceSummary><ServiceSummary><Service><Code>24</Code><Description>UPS Express</Description></Service><Guaranteed><Code>Y</Code></Guaranteed><EstimatedArrival><BusinessTransitDays>1</BusinessTransitDays><Time>10:30:00</Time><PickupDate>2007-01-24</PickupDate><PickupTime>17:30:00</PickupTime><HolidayCount>0</HolidayCount><DelayCount>0</DelayCount><Date>2007-01-25</Date><DayOfWeek>THU</DayOfWeek><TotalTransitDays>1</TotalTransitDays><CustomerCenterCutoff>16:30:00</CustomerCenterCutoff><RestDays>0</RestDays></EstimatedArrival></ServiceSummary><ServiceSummary><Service><Code>20</Code><Description>UPS Express Saver</Description></Service><Guaranteed><Code>Y</Code></Guaranteed><EstimatedArrival><BusinessTransitDays>1</BusinessTransitDays><Time>12:00:00</Time><PickupDate>2007-01-24</PickupDate><PickupTime>17:30:00</PickupTime><HolidayCount>0</HolidayCount><DelayCount>0</DelayCount><Date>2007-01-25</Date><DayOfWeek>THU</DayOfWeek><TotalTransitDays>1</TotalTransitDays><CustomerCenterCutoff>16:30:00</CustomerCenterCutoff><RestDays>0</RestDays></EstimatedArrival></ServiceSummary><ServiceSummary><Service><Code>19</Code><Description>UPS Expedited</Description></Service><Guaranteed><Code>Y</Code></Guaranteed><EstimatedArrival><BusinessTransitDays>1</BusinessTransitDays><Time>23:30:00</Time><PickupDate>2007-01-24</PickupDate><PickupTime>17:30:00</PickupTime><HolidayCount>0</HolidayCount><DelayCount>0</DelayCount><Date>2007-01-25</Date><DayOfWeek>THU</DayOfWeek><TotalTransitDays>1</TotalTransitDays><CustomerCenterCutoff>16:30:00</CustomerCenterCutoff><RestDays>0</RestDays></EstimatedArrival></ServiceSummary><ServiceSummary><Service><Code>25</Code><Description>UPS Standard</Description></Service><Guaranteed><Code>Y</Code></Guaranteed><EstimatedArrival><BusinessTransitDays>1</BusinessTransitDays><Time>23:30:00</Time><PickupDate>2007-01-24</PickupDate><PickupTime>17:30:00</PickupTime><HolidayCount>0</HolidayCount><DelayCount>0</DelayCount><Date>2007-01-25</Date><DayOfWeek>THU</DayOfWeek><TotalTransitDays>1</TotalTransitDays><CustomerCenterCutoff>16:30:00</CustomerCenterCutoff><RestDays>0</RestDays></EstimatedArrival></ServiceSummary><MaximumListSize>35</MaximumListSize></TransitResponse></TimeInTransitResponse>

------------------------------------------

Business Transit: UPS Express Plus = 2007-01-25

Business Transit: UPS Express = 2007-01-25

Business Transit: UPS Express Saver = 2007-01-25

Business Transit: UPS Expedited = 2007-01-25

Business Transit: UPS Standard = 2007-01-25

------------------------------------------

Time in Transit: 0

------------------------------------------

DATE AND TIME: 2007-01-24 15:40:55

UPS URL: https://www.ups.com:443/ups.app/xml/Rate

UPS REQUEST: <?xml version="1.0"?>

<AccessRequest xml:lang="en-US">

<AccessLicenseNumber>****</AccessLicenseNumber>

<UserId>*****UserId>

<Password>*****<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>

<Shipment>

<Shipper>

<ShipperNumber>*****</ShipperNumber>

<Address>

<City>Regina</City>

<StateProvinceCode>SK</StateProvinceCode>

<CountryCode>CA</CountryCode>

<PostalCode>S4V1T9</PostalCode>

</Address>

</Shipper>

<ShipTo>

<Address>

<City>Regina</City>

<StateProvinceCode>SK</StateProvinceCode>

<CountryCode>CA</CountryCode>

<PostalCode>S4V1T9</PostalCode>

<ResidentialAddressIndicator/>

</Address>

</ShipTo>

<Package>

<PackagingType>

<Code>02</Code>

</PackagingType>

<PackageWeight>

<UnitOfMeasurement>

<Code>LBS</Code>

</UnitOfMeasurement>

<Weight>3.2</Weight>

</PackageWeight>

<PackageServiceOptions>

<InsuredValue>

<CurrencyCode>CAD</CurrencyCode>

<MonetaryValue>0.00</MonetaryValue>

</InsuredValue>

</PackageServiceOptions>

</Package>

<RateInformation>

<NegotiatedRatesIndicator/>

</RateInformation>

</Shipment>

</RatingServiceSelectionRequest>

 

UPS RESPONSE: <?xml version="1.0"?><RatingServiceSelectionResponse><Response><TransactionReference><CustomerContext>Rating and Service</CustomerContext><XpciVersion>1.0001</XpciVersion></TransactionReference><ResponseStatusCode>1</ResponseStatusCode><ResponseStatusDescription>Success</ResponseStatusDescription></Response><RatedShipment><Service><Code>11</Code></Service><RatedShipmentWarning>Your invoice may vary from the displayed reference rates</RatedShipmentWarning><BillingWeight><UnitOfMeasurement><Code>LBS</Code></UnitOfMeasurement><Weight>4.0</Weight></BillingWeight><TransportationCharges><CurrencyCode>CAD</CurrencyCode><MonetaryValue>9.65</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>CAD</CurrencyCode><MonetaryValue>0.00</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>CAD</CurrencyCode><MonetaryValue>9.65</MonetaryValue></TotalCharges><GuaranteedDaysToDelivery></GuaranteedDaysToDelivery><ScheduledDeliveryTime></ScheduledDeliveryTime><RatedPackage><TransportationCharges><CurrencyCode> </CurrencyCode><MonetaryValue> </MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode> </CurrencyCode><MonetaryValue> </MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode> </CurrencyCode><MonetaryValue> </MonetaryValue></TotalCharges><Weight>3.2</Weight><BillingWeight><UnitOfMeasurement><Code> </Code></UnitOfMeasurement><Weight> </Weight></BillingWeight></RatedPackage></RatedShipment><RatedShipment><Service><Code>02</Code></Service><RatedShipmentWarning>Your invoice may vary from the displayed reference rates</RatedShipmentWarning><BillingWeight><UnitOfMeasurement><Code>LBS</Code></UnitOfMeasurement><Weight>4.0</Weight></BillingWeight><TransportationCharges><CurrencyCode>CAD</CurrencyCode><MonetaryValue>10.18</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>CAD</CurrencyCode><MonetaryValue>0.00</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>CAD</CurrencyCode><MonetaryValue>10.18</MonetaryValue></TotalCharges><GuaranteedDaysToDelivery>1</GuaranteedDaysToDelivery><ScheduledDeliveryTime>11:30 P.M.</ScheduledDeliveryTime><RatedPackage><TransportationCharges><CurrencyCode> </CurrencyCode><MonetaryValue> </MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode> </CurrencyCode><MonetaryValue> </MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode> </CurrencyCode><MonetaryValue> </MonetaryValue></TotalCharges><Weight>3.2</Weight><BillingWeight><UnitOfMeasurement><Code> </Code></UnitOfMeasurement><Weight> </Weight></BillingWeight></RatedPackage></RatedShipment><RatedShipment><Service><Code>13</Code></Service><RatedShipmentWarning>Your invoice may vary from the displayed reference rates</RatedShipmentWarning><BillingWeight><UnitOfMeasurement><Code>LBS</Code></UnitOfMeasurement><Weight>4.0</Weight></BillingWeight><TransportationCharges><CurrencyCode>CAD</CurrencyCode><MonetaryValue>10.84</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>CAD</CurrencyCode><MonetaryValue>0.00</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>CAD</CurrencyCode><MonetaryValue>10.84</MonetaryValue></TotalCharges><GuaranteedDaysToDelivery>1</GuaranteedDaysToDelivery><ScheduledDeliveryTime>12:00 Noon</ScheduledDeliveryTime><RatedPackage><TransportationCharges><CurrencyCode> </CurrencyCode><MonetaryValue> </MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode> </CurrencyCode><MonetaryValue> </MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode> </CurrencyCode><MonetaryValue> </MonetaryValue></TotalCharges><Weight>3.2</Weight><BillingWeight><UnitOfMeasurement><Code> </Code></UnitOfMeasurement><Weight> </Weight></BillingWeight></RatedPackage></RatedShipment><RatedShipment><Service><Code>14</Code></Service><RatedShipmentWarning>Your invoice may vary from the displayed reference rates</RatedShipmentWarning><BillingWeight><UnitOfMeasurement><Code>LBS</Code></UnitOfMeasurement><Weight>4.0</Weight></BillingWeight><TransportationCharges><CurrencyCode>CAD</CurrencyCode><MonetaryValue>44.62</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>CAD</CurrencyCode><MonetaryValue>0.00</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>CAD</CurrencyCode><MonetaryValue>44.62</MonetaryValue></TotalCharges><GuaranteedDaysToDelivery>1</GuaranteedDaysToDelivery><ScheduledDeliveryTime>8:30 A.M.</ScheduledDeliveryTime><RatedPackage><TransportationCharges><CurrencyCode> </CurrencyCode><MonetaryValue> </MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode> </CurrencyCode><MonetaryValue> </MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode> </CurrencyCode><MonetaryValue> </MonetaryValue></TotalCharges><Weight>3.2</Weight><BillingWeight><UnitOfMeasurement><Code> </Code></UnitOfMeasurement><Weight> </Weight></BillingWeight></RatedPackage></RatedShipment><RatedShipment><Service><Code>01</Code></Service><RatedShipmentWarning>Your invoice may vary from the displayed reference rates</RatedShipmentWarning><BillingWeight><UnitOfMeasurement><Code>LBS</Code></UnitOfMeasurement><Weight>4.0</Weight></BillingWeight><TransportationCharges><CurrencyCode>CAD</CurrencyCode><MonetaryValue>16.97</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>CAD</CurrencyCode><MonetaryValue>0.00</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>CAD</CurrencyCode><MonetaryValue>16.97</MonetaryValue></TotalCharges><GuaranteedDaysToDelivery>1</GuaranteedDaysToDelivery><ScheduledDeliveryTime>10:30 A.M.</ScheduledDeliveryTime><RatedPackage><TransportationCharges><CurrencyCode> </CurrencyCode><MonetaryValue> </MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode> </CurrencyCode><MonetaryValue> </MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode> </CurrencyCode><MonetaryValue> </MonetaryValue></TotalCharges><Weight>3.2</Weight><BillingWeight><UnitOfMeasurement><Code> </Code></UnitOfMeasurement><Weight> </Weight></BillingWeight></RatedPackage></RatedShipment></RatingServiceSelectionResponse>

 

 

I hope someone can decipher some of this.

 

Thanks

 

David

http://www.tranquilsense.com

_________________________________________________________________________

 

David G Aschenbrener

Tranquil | Sense - Your Stop for Tranquility.

Link to comment
Share on other sites

Disreguard the beginning error.

 

"

<?xml version="1.0" encoding="UTF-8" ?>

<RatingError>At least one item has valid class and weight is required.</RatingError>

"

 

That was part of my fedex module not the ups one.

Edited by tranquilsense

_________________________________________________________________________

 

David G Aschenbrener

Tranquil | Sense - Your Stop for Tranquility.

Link to comment
Share on other sites

I have installed the UPS mod and it looks like it is working for the most part.

 

But when I go for a quote ,pricing appears with a rediculously low price.

United Parcel Service (XML) (1 pkg x 3 lbs total)

UPS Standard, EDD: January 24, 2007 $11.00

UPS Expedited, EDD: January 24, 2007 $2.00

UPS Saver $13.00

UPS Express Early A.M. $14.00

UPS Express, EDD: January 24, 2007 $1

 

Does anyone have any suggestions or setting to rid of this option?or to fix it.

 

I have enable logging, but cannot see where this is coming from. (also am not too sure what to look for either)

I could swear I have seen this error before, but I don't remember anymore what the cause of it was. What you see is not the dollar amounts but the service code number (11 for Standard, 2 for Expedited etc.) In the UPS response there are other amounts given for the shipping rates ($9.65 for Standard and $10.18 for Expedited).

 

And finally, is there an option to display all shipping options available?(and not just the lowest 5)
You are at the discretion of UPS what they quote. But sending a package from one place to the same place will likely give you not all the options.
Link to comment
Share on other sites

Does anyone have any suggestions or setting to rid of this option?or to fix it.
Can't remember yet what is causing this specific error. When I take the response of UPS you posted and make upsxml.php read in that response and show it in the checkout_shipping.php it shows up fine in my test shop.... :huh:
Link to comment
Share on other sites

Has anyone seen this problem with this shipping module?

 

United Parcel Service (XML) (1 pkg x 3 lbs total)

UPS Standard, EDD: January 24, 2007 $11.00

UPS Expedited, EDD: January 24, 2007 $2.00

UPS Saver $13.00

UPS Express Early A.M. $14.00

UPS Express, EDD: January 24, 2007 $1

 

 

Thanks

_________________________________________________________________________

 

David G Aschenbrener

Tranquil | Sense - Your Stop for Tranquility.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...