UPSXML: Nothing show in the checkout!
Hello to all,
I have installed and configured UPSXML ... I have enabled also error logs, but everything look to be fine... btw I cannot get it showed properly.
When the customer click for the checkout he see the UPS option but:
-It's not selectable (miss the choosing point)
-It's not showed any price or quotation, the only showed thing it's the name: United Parcel Service and the pack qty and weight...
That's the error log:
Code:
------------------------------------------
DATE AND TIME: 2008-11-17 14:54:59
UPS URL: https://wwwcie.ups.com:443/ups.app/xml/TimeInTransit
UPS REQUEST: <?xml version="1.0"?>
<AccessRequest xml:lang="en-US">
<AccessLicenseNumber>MYCODEXXXXX</AccessLicenseNumber>
<UserId>MYUSERXXX</UserId>
<Password>MYPASSXXX</Password>
</AccessRequest>
<?xml version="1.0"?>
<TimeInTransitRequest xml:lang="en-US">
<Request>
<TransactionReference>
<CustomerContext>Time in Transit</CustomerContext>
<XpciVersion>1.0001</XpciVersion>
</TransactionReference>
<RequestAction>TimeInTransit</RequestAction>
</Request>
<TransitFrom>
<AddressArtifactFormat>
<PoliticalDivision2>Lugano</PoliticalDivision2>
<PoliticalDivision1>CH</PoliticalDivision1>
<CountryCode>CH</CountryCode>
<PostcodePrimaryLow>6900</PostcodePrimaryLow>
</AddressArtifactFormat>
</TransitFrom>
<TransitTo>
<AddressArtifactFormat>
<PoliticalDivision2>Prato</PoliticalDivision2>
<PoliticalDivision1></PoliticalDivision1>
<CountryCode>IT</CountryCode>
<PostcodePrimaryLow>59100</PostcodePrimaryLow>
<PostcodePrimaryHigh>59100</PostcodePrimaryHigh>
</AddressArtifactFormat>
</TransitTo>
<PickupDate>20081118</PickupDate>
<ShipmentWeight>
<UnitOfMeasurement>
<Code>KGS</Code>
</UnitOfMeasurement>
<Weight>10</Weight>
</ShipmentWeight>
<InvoiceLineTotal>
<CurrencyCode>USD</CurrencyCode>
<MonetaryValue>100</MonetaryValue>
</InvoiceLineTotal>
</TimeInTransitRequest>
UPS RESPONSE: <?xml version="1.0"?><TimeInTransitResponse><Response><TransactionReference><CustomerContext>Time in Transit</CustomerContext><XpciVersion>1.0001</XpciVersion></TransactionReference><ResponseStatusCode>1</ResponseStatusCode><ResponseStatusDescription>Success</ResponseStatusDescription></Response><TransitResponse><PickupDate>2008-11-18</PickupDate><TransitFrom><AddressArtifactFormat><PoliticalDivision2>LUGANO</PoliticalDivision2><PoliticalDivision1>TI</PoliticalDivision1><Country>SWITZERLAND</Country><CountryCode>CH</CountryCode><PostcodePrimaryLow>6900</PostcodePrimaryLow></AddressArtifactFormat></TransitFrom><TransitTo><AddressArtifactFormat><PoliticalDivision2>PRATO</PoliticalDivision2><Country>ITALY</Country><CountryCode>IT</CountryCode><PostcodePrimaryLow>59100</PostcodePrimaryLow></AddressArtifactFormat></TransitTo><AutoDutyCode>01</AutoDutyCode><ShipmentWeight><UnitOfMeasurement><Code>KGS</Code></UnitOfMeasurement><Weight>10.0</Weight></ShipmentWeight><InvoiceLineTotal><CurrencyCode>USD</CurrencyCode><MonetaryValue>100.00</MonetaryValue></InvoiceLineTotal><Disclaimer>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>01</Code><Description>UPS Express</Description></Service><Guaranteed><Code>Y</Code></Guaranteed><EstimatedArrival><BusinessTransitDays>1</BusinessTransitDays><Time>12:00:00</Time><PickupDate>2008-11-18</PickupDate><PickupTime>18:00:00</PickupTime><HolidayCount>0</HolidayCount><DelayCount>0</DelayCount><Date>2008-11-19</Date><DayOfWeek>WED</DayOfWeek><TotalTransitDays>1</TotalTransitDays><CustomerCenterCutoff>16:30:00</CustomerCenterCutoff><RestDays>0</RestDays></EstimatedArrival></ServiceSummary><ServiceSummary><Service><Code>28</Code><Description>UPS Express Saver</Description></Service><Guaranteed><Code>Y</Code></Guaranteed><EstimatedArrival><BusinessTransitDays>1</BusinessTransitDays><Time>23:30:00</Time><PickupDate>2008-11-18</PickupDate><PickupTime>18:00:00</PickupTime><HolidayCount>0</HolidayCount><DelayCount>0</DelayCount><Date>2008-11-19</Date><DayOfWeek>WED</DayOfWeek><TotalTransitDays>1</TotalTransitDays><CustomerCenterCutoff>16:30:00</CustomerCenterCutoff><RestDays>0</RestDays></EstimatedArrival></ServiceSummary><ServiceSummary><Service><Code>68</Code><Description>UPS Standard</Description></Service><Guaranteed><Code>N</Code></Guaranteed><EstimatedArrival><BusinessTransitDays>2</BusinessTransitDays><Time>23:30:00</Time><PickupDate>2008-11-18</PickupDate><PickupTime>18:00:00</PickupTime><HolidayCount>0</HolidayCount><DelayCount>0</DelayCount><Date>2008-11-20</Date><DayOfWeek>THU</DayOfWeek><TotalTransitDays>2</TotalTransitDays><CustomerCenterCutoff>16:30:00</CustomerCenterCutoff><RestDays>0</RestDays></EstimatedArrival></ServiceSummary><MaximumListSize>35</MaximumListSize></TransitResponse></TimeInTransitResponse>
------------------------------------------
Business Transit: UPS Express = 2008-11-19
Business Transit: UPS Express Saver = 2008-11-19
Business Transit: UPS Standard = 2008-11-20
------------------------------------------
Time in Transit: 0
------------------------------------------
DATE AND TIME: 2008-11-17 14:55:00
UPS URL: https://wwwcie.ups.com:443/ups.app/xml/Rate
UPS REQUEST: <?xml version="1.0"?>
<AccessRequest xml:lang="en-US">
<AccessLicenseNumber>MYCODEXXX</AccessLicenseNumber>
<UserId>myuserXXX</UserId>
<Password>mypassXXX</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>
<Shipment>
<Shipper>
<Address>
<City>Lugano</City>
<StateProvinceCode>CH</StateProvinceCode>
<CountryCode>CH</CountryCode>
<PostalCode>6900</PostalCode>
</Address>
</Shipper>
<ShipTo>
<Address>
<City>Prato</City>
<StateProvinceCode></StateProvinceCode>
<CountryCode>IT</CountryCode>
<PostalCode>59100</PostalCode>
</Address>
</ShipTo>
<Package>
<PackagingType>
<Code>02</Code>
</PackagingType>
<PackageWeight>
<UnitOfMeasurement>
<Code>KGS</Code>
</UnitOfMeasurement>
<Weight>8.5</Weight>
</PackageWeight>
<PackageServiceOptions>
<InsuredValue>
<CurrencyCode>CHF</CurrencyCode>
<MonetaryValue>419</MonetaryValue>
</InsuredValue>
</PackageServiceOptions>
</Package>
</Shipment>
<CustomerClassification>
<Code>01</Code>
</CustomerClassification>
</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>07</Code></Service><RatedShipmentWarning>Your invoice may vary from the displayed reference rates</RatedShipmentWarning><BillingWeight><UnitOfMeasurement><Code>KGS</Code></UnitOfMeasurement><Weight>8.5</Weight></BillingWeight><TransportationCharges><CurrencyCode>CHF</CurrencyCode><MonetaryValue>346.10</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>CHF</CurrencyCode><MonetaryValue>6.85</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>CHF</CurrencyCode><MonetaryValue>352.95</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>8.5</Weight><BillingWeight><UnitOfMeasurement><Code> </Code></UnitOfMeasurement><Weight> </Weight></BillingWeight></RatedPackage></RatedShipment><RatedShipment><Service><Code>65</Code></Service><RatedShipmentWarning>Your invoice may vary from the displayed reference rates</RatedShipmentWarning><BillingWeight><UnitOfMeasurement><Code>KGS</Code></UnitOfMeasurement><Weight>8.5</Weight></BillingWeight><TransportationCharges><CurrencyCode>CHF</CurrencyCode><MonetaryValue>311.55</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>CHF</CurrencyCode><MonetaryValue>6.85</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>CHF</CurrencyCode><MonetaryValue>318.40</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>8.5</Weight><BillingWeight><UnitOfMeasurement><Code> </Code></UnitOfMeasurement><Weight> </Weight></BillingWeight></RatedPackage></RatedShipment><RatedShipment><Service><Code>11</Code></Service><RatedShipmentWarning>Your invoice may vary from the displayed reference rates</RatedShipmentWarning><BillingWeight><UnitOfMeasurement><Code>KGS</Code></UnitOfMeasurement><Weight>9.0</Weight></BillingWeight><TransportationCharges><CurrencyCode>CHF</CurrencyCode><MonetaryValue>152.75</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>CHF</CurrencyCode><MonetaryValue>0.00</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>CHF</CurrencyCode><MonetaryValue>152.75</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>8.5</Weight><BillingWeight><UnitOfMeasurement><Code> </Code></UnitOfMeasurement><Weight> </Weight></BillingWeight></RatedPackage></RatedShipment></RatingServiceSelectionResponse>
Please help me!
Re: UPSXML: Nothing show in the checkout!
To be sure I understand your problem -- especially where you say "It's not selectable (miss the choosing point)" -- I need to see your site and try it myself. So, what's the site URL?
By the sound of it, you may have missed uploading something, or you've made changes in files which are conflicting with this module.
But again, I can't tell without seeing your site.
Rob
Re: UPSXML: Nothing show in the checkout!
Quote:
Originally Posted by
rstevenson
To be sure I understand your problem -- especially where you say "It's not selectable (miss the choosing point)" -- I need to see your site and try it myself. So, what's the site URL?
By the sound of it, you may have missed uploading something, or you've made changes in files which are conflicting with this module.
But again, I can't tell without seeing your site.
Rob
than for your answer!
The site is www.formosa-it.ch/shop
Register as new user than choose one of this country:
Germany
Italy
France
Liechtenstein
than you have ups avalaible.... I have this error also with zencart default theme...thx!
Re: UPSXML: Nothing show in the checkout!
I've started a test order on your site, and I see the problem. Here is the source of the UPS block from the checkout page on your site...
Code:
<fieldset>
<legend>United Parcel Service (1 pkg x 26.50 kgs total)
<img src="includes/templates/theme005//images/icons/shipping_ups.gif" alt="United Parcel Service" title=" United Parcel Service " width="20" height="13" /></legend>
</fieldset>
And here's the source of exactly the same section from a site where the UPS-XML code is working...
Code:
<fieldset>
<legend>United Parcel Service (1 pkg x 8.70 kgs total)
<img src="includes/templates/my_template//images/icons/shipping_ups.gif" alt="United Parcel Service" title=" United Parcel Service " width="20" height="13" /></legend>
<div class="important forward">$65.41</div>
<input type="radio" name="shipping" value="upsxml_UPS Standard" id="ship-upsxml-UPS Standard" />
<label for="ship-upsxml-UPS Standard" class="checkboxLabel" >UPS Standard, ETA: November 26, 2008</label>
<!--</div>-->
<br class="clearBoth" />
</fieldset>
As you can see, there are two parts missing. You don't have a DIV for the price (shown in red in the good example) and you don't have the "<input type="radio" ... " part for the radio button to select the UPS option (shown in blue in the good example.)
So now your task is to find out why not. I've had a look at the upsxml files and can't see where the code comes from that draws the box. Maybe that's a standard part of the cart code and is simply used by the upsxml module. In that case, your problem lies in the cart code itself. Use the search tools within the zen cart admin to track down the code that should be drawing those missing parts.
As you can tell, I'm only guessing at this point. I don't know how to debug PHP code, and there are many things that could cause this, even including stylesheet problems. Maybe someone else can help at this point.
Rob
Re: UPSXML: Nothing show in the checkout!
Just a second thought ...
You say to register and choose one of those 4 countries and then I'll see the error. Is it just those 4 countries? Is it possible UPS does not send to those 4 countires, and that's why there's nothing in the box? Doesn't seem likely, but I thought I'd ask.
Rob
Re: UPSXML: Nothing show in the checkout!
Ok, Thanks!
Now maybe somebody can help me to debug it? :D please!!
For the shipping, I'm sure ups ships there...should be some compatibility issue...