Forums / Addon Shipping Modules / UPSXML Breaking Shipping Estimator

UPSXML Breaking Shipping Estimator

Views: 6,235

Results 1 to 5 of 5
7 Jul 2016, 3:09 PM
#1
llmcdonald avatar

llmcdonald

New Zenner

Join Date:
Aug 2014
Location:
Etobicoke
Posts:
48
Plugin Contributions:
0

UPSXML Breaking Shipping Estimator

Before I installed UPSXML, I was receiving shipping quotes from Canada Post and FedEx. But after installing UPSXML, the shipping estimator is blank. I also tried installing Dr.Bytes UPS addon, but it does not return any results for UPS.

Is there anything I am missing here? Any help would be appreciated.

8 Jul 2016, 3:33 AM
#2
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: UPSXML Breaking Shipping Estimator

llmcdonald:

Before I installed UPSXML, I was receiving shipping quotes from Canada Post and FedEx. But after installing UPSXML, the shipping estimator is blank. I also tried installing Dr.Bytes UPS addon, but it does not return any results for UPS.

Is there anything I am missing here? Any help would be appreciated.

Check the error logs

Cheers
RodG

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

8 Jul 2016, 6:16 PM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: UPSXML Breaking Shipping Estimator

I can't take credit for the plugin. I didn't write it. But I might have posted an updated to it sometime. I rarely use the module though.

You probably need to enable logging inside the module, and then take action based on whatever errors it says it's encountering.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

14 Jul 2016, 3:53 PM
#4
llmcdonald avatar

llmcdonald

New Zenner

Join Date:
Aug 2014
Location:
Etobicoke
Posts:
48
Plugin Contributions:
0

Re: UPSXML Breaking Shipping Estimator

This is the log file. Not sure what it all means.

To activate this logfile:
change it's permissions to 777 and uncomment line 93 in upsxml.php------------------------------------------

DATE AND TIME: 2016-07-14 10:49:23
UPS URL: [URL]https://wwwcie.ups.com:443/ups.app/xml/TimeInTransit[/URL]
UPS REQUEST: <?xml version="1.0"?>
<AccessRequest xml:lang="en-US">
   <AccessLicenseNumber>xxxxxxxxxxxx</AccessLicenseNumber>
   <UserId>xxxxxxxxxxxx</UserId>
   <Password>xxxxxxxxxxxx</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>Etobicoke</PoliticalDivision2>
           <PoliticalDivision1>ON</PoliticalDivision1>
           <CountryCode>CA</CountryCode>
           <PostcodePrimaryLow>M8V3K1</PostcodePrimaryLow>
       </AddressArtifactFormat>
   </TransitFrom>
   <TransitTo>
       <AddressArtifactFormat>
           <PoliticalDivision2></PoliticalDivision2>
           <PoliticalDivision1>CA</PoliticalDivision1>
           <CountryCode>US</CountryCode>
           <PostcodePrimaryLow>90210</PostcodePrimaryLow>
           <PostcodePrimaryHigh>90210</PostcodePrimaryHigh>
       </AddressArtifactFormat>
   </TransitTo>
   <PickupDate>20160719</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>2016-07-19</PickupDate><TransitFrom><AddressArtifactFormat><PoliticalDivision2>ETOBICOKE</PoliticalDivision2><PoliticalDivision1>ON</PoliticalDivision1><Country>CANADA</Country><CountryCode>CA</CountryCode><PostcodePrimaryLow>M8V3K1</PostcodePrimaryLow></AddressArtifactFormat></TransitFrom><TransitTo><AddressArtifactFormat><PoliticalDivision2>BEVERLY HILLS</PoliticalDivision2><PoliticalDivision1>CA</PoliticalDivision1><Country>UNITED STATES</Country><CountryCode>US</CountryCode><PostcodePrimaryLow>90210</PostcodePrimaryLow></AddressArtifactFormat></TransitTo><AutoDutyCode>09</AutoDutyCode><ShipmentWeight><UnitOfMeasurement><Code>KGS</Code></UnitOfMeasurement><Weight>10.0</Weight></ShipmentWeight><InvoiceLineTotal><CurrencyCode>USD</CurrencyCode><MonetaryValue>100.00</MonetaryValue></InvoiceLineTotal><Disclaimer>All services are guaranteed if shipment is paid for in full by a payee in Canada or the United States. 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>21</Code><Description>UPS Worldwide Express Plus</Description></Service><Guaranteed><Code>Y</Code></Guaranteed><EstimatedArrival><BusinessTransitDays>1</BusinessTransitDays><Time>08:30:00</Time><PickupDate>2016-07-19</PickupDate><PickupTime>19:30:00</PickupTime><HolidayCount>0</HolidayCount><DelayCount>0</DelayCount><Date>2016-07-20</Date><DayOfWeek>WED</DayOfWeek><TotalTransitDays>1</TotalTransitDays><CustomerCenterCutoff>18:30:00</CustomerCenterCutoff><RestDays>0</RestDays></EstimatedArrival></ServiceSummary><ServiceSummary><Service><Code>01</Code><Description>UPS Worldwide Express</Description></Service><Guaranteed><Code>Y</Code></Guaranteed><EstimatedArrival><BusinessTransitDays>1</BusinessTransitDays><Time>10:30:00</Time><PickupDate>2016-07-19</PickupDate><PickupTime>19:30:00</PickupTime><HolidayCount>0</HolidayCount><DelayCount>0</DelayCount><Date>2016-07-20</Date><DayOfWeek>WED</DayOfWeek><TotalTransitDays>1</TotalTransitDays><CustomerCenterCutoff>18: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>2016-07-19</PickupDate><PickupTime>19:30:00</PickupTime><HolidayCount>0</HolidayCount><DelayCount>0</DelayCount><Date>2016-07-20</Date><DayOfWeek>WED</DayOfWeek><TotalTransitDays>1</TotalTransitDays><CustomerCenterCutoff>18:30:00</CustomerCenterCutoff><RestDays>0</RestDays></EstimatedArrival></ServiceSummary><ServiceSummary><Service><Code>29</Code><Description>UPS Worldwide Express Freight</Description></Service><Guaranteed><Code>Y</Code></Guaranteed><EstimatedArrival><BusinessTransitDays>1</BusinessTransitDays><Time>23:30:00</Time><PickupDate>2016-07-19</PickupDate><PickupTime>16:00:00</PickupTime><HolidayCount>0</HolidayCount><DelayCount>0</DelayCount><Date>2016-07-20</Date><DayOfWeek>WED</DayOfWeek><TotalTransitDays>1</TotalTransitDays><CustomerCenterCutoff>14:00:00</CustomerCenterCutoff><RestDays>0</RestDays></EstimatedArrival></ServiceSummary><ServiceSummary><Service><Code>05</Code><Description>UPS Worldwide Expedited</Description></Service><Guaranteed><Code>Y</Code></Guaranteed><EstimatedArrival><BusinessTransitDays>2</BusinessTransitDays><Time>23:30:00</Time><PickupDate>2016-07-19</PickupDate><PickupTime>19:30:00</PickupTime><HolidayCount>0</HolidayCount><DelayCount>0</DelayCount><Date>2016-07-21</Date><DayOfWeek>THU</DayOfWeek><TotalTransitDays>2</TotalTransitDays><CustomerCenterCutoff>18:30:00</CustomerCenterCutoff><RestDays>0</RestDays></EstimatedArrival></ServiceSummary><ServiceSummary><Service><Code>33</Code><Description>UPS 3 Day Select</Description></Service><Guaranteed><Code>Y</Code></Guaranteed><EstimatedArrival><BusinessTransitDays>3</BusinessTransitDays><Time>23:30:00</Time><PickupDate>2016-07-19</PickupDate><PickupTime>19:30:00</PickupTime><HolidayCount>0</HolidayCount><DelayCount>0</DelayCount><Date>2016-07-22</Date><DayOfWeek>FRI</DayOfWeek><TotalTransitDays>3</TotalTransitDays><CustomerCenterCutoff>18:30:00</CustomerCenterCutoff><RestDays>0</RestDays></EstimatedArrival></ServiceSummary><ServiceSummary><Service><Code>03</Code><Description>UPS Standard</Description></Service><Guaranteed><Code>Y</Code></Guaranteed><EstimatedArrival><BusinessTransitDays>5</BusinessTransitDays><Time>23:30:00</Time><PickupDate>2016-07-19</PickupDate><PickupTime>19:30:00</PickupTime><HolidayCount>0</HolidayCount><DelayCount>0</DelayCount><Date>2016-07-26</Date><DayOfWeek>TUE</DayOfWeek><TotalTransitDays>7</TotalTransitDays><CustomerCenterCutoff>18:30:00</CustomerCenterCutoff><RestDays>2</RestDays></EstimatedArrival></ServiceSummary><MaximumListSize>35</MaximumListSize></TransitResponse></TimeInTransitResponse>
14 Jul 2016, 5:56 PM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: UPSXML Breaking Shipping Estimator

Hmmm, that seems to be giving back quotes properly.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.