Results 1 to 7 of 7
  1. #1
    Join Date
    Feb 2011
    Posts
    37
    Plugin Contributions
    0

    Default Upgrade from USPS_2016_0107_K8 to USPS_2018_0308_K10 crashed USPS quotes

    My web store (zc 1.5.5f) has been using the USPS Plugin version K8 for over two years without any problems.
    Today because a customer asked about it, I noticed that when I put an item in my cart and checked-out, that he was correct, and there was NO QUOTE for Retail Ground rate. When I went to my Admin screen and brought up Shipping Modules, I noticed in RED that There was a newer version of the Plugin.

    So I checked the forums and saw that there was a new K10 version released 03-08 of this year. So I downloaded the zip file and unzipped it. Then per instructions in the readme.txt, I REMOVED the old shipping module; renamed the two now-older usps.php files to usps_php.k8; via FTP uploaded the two new usps.php files to respective folders; INSTALLED the USPS shipping module, and filled in all the fields as before. But here is where things went bad !!

    I no longer got any USPS price quotes, not even the Priority rates I use to see. Instead I get this message:
    -2147221202 - The element 'RateV4Request' has incomplete content. List of possible elements expected: 'RateClientType, Package'.

    I tried changing various fields that I had left as default before, but nothing worked, so I decided to go back to the OLD VERSION of USPS Shipping module. So I REMOVED the newer shipping module; renamed the two newer usps.php files to usps_php.k10; and renamed the two older files back to usps.php files to respective folders; INSTALLED the USPS shipping module, and filled in all the fields as before. But I still get the same error message !!

    I even turned-on debug mode, with info printed to the screen, and saw nothing of note.
    USPS build: 2017-09-16 Server: production Quote Request Rate Type: Retail Quote from main_page: checkout_shipping USPS Options (weight, time): --none-- USPS Domestic Transit Time Calculation Mode: NEW Cart Weight: 0.125 Total Quote Weight: 0.125 Pounds: 0 Ounces: 2 Maximum: 50 Tare Rates: Small/Medium: 0:0 Large: 0:0 Handling method: Box Handling fee Domestic: $0.00 Handling fee International: $0.00 Decimals: 3 Domestic Length: 8.625 Width: 5.375 Height: 1.625 International Length: 9.50 Width: 1.0 Height: 5.50 All Packages are Machinable: False Enable USPS First-Class filter for US shipping: True Sorts the returned quotes: Price-LowToHigh ZipOrigination: 46405 ZipDestination: 13732 City: Apalachin State: New York Order SubTotal: $14.99 Order Total: $14.99 Uninsurable Portion: $0.00 Insurable Value: $14.99
    RESPONSE FROM USPS: ================================== -2147221202Common:XmlParse The element 'RateV4Request' has incomplete content. List of possible elements expected: 'RateClientType, Package'.


    Finally I called USPS help line 1-800-344-7779 but could not get anyone to help. So figured I would see if anyone here can help. As of now, I have NO USPS Quotes on my web store, since I can't figure out how to even get back to where I was 2 hours ago So if the customer wants to buy the item he asked about, he will have to use UPS shipping which will be too high, and I will probably lose the sale !!

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,463
    Plugin Contributions
    6

    Default Re: Upgrade from USPS_2016_0107_K8 to USPS_2018_0308_K10 crashed USPS quotes

    Uninstall K8 and reinstall K10 ...

    Turn on the Debug log and try for a quote ...

    Look in the /logs and Zip the shipping log and attach that to your next post ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Feb 2011
    Posts
    37
    Plugin Contributions
    0

    Default Re: Upgrade from USPS_2016_0107_K8 to USPS_2018_0308_K10 crashed USPS quotes

    Quote Originally Posted by Ajeh View Post
    Uninstall K8 and reinstall K10 ...

    Turn on the Debug log and try for a quote ...

    Look in the /logs and Zip the shipping log and attach that to your next post ...
    I just did the first two steps above. Not sure how to attach the log file SHIP_usps_Debug_08082018xxxxxx
    so I copy and pasted it here. I hope that's okay ? Note, for security purposes, I X'ed out part of the USERID line in the Log below.

    Thanks for the help.

    Aug 08 2018 18:25:59 --
    USPS build: 2017-09-16

    Server: production
    Quote Request Rate Type: Retail
    Quote from main_page: checkout_shipping
    USPS Options (weight, time): --none--
    USPS Domestic Transit Time Calculation Mode: NEW

    Cart Weight: 0.125
    Total Quote Weight: 0.125 Pounds: 0 Ounces: 2
    Maximum: 50 Tare Rates: Small/Medium: 0:0 Large: 0:0
    Handling method: Order Handling fee Domestic: $1.00 Handling fee International: $2.00
    Decimals: 2
    Domestic Length: 8.625 Width: 5.375 Height: 1.625
    International Length: 9.50 Width: 1.0 Height: 5.50
    All Packages are Machinable: False
    Enable USPS First-Class filter for US shipping: True
    Sorts the returned quotes: Price-LowToHigh

    ZipOrigination: 46405
    ZipDestination: 13732 City: Apalachin State: New York
    Order SubTotal: $14.99
    Order Total: $14.99
    Uninsurable Portion: $0.00
    Insurable Value: $14.99

    RESPONSE FROM USPS:

    ==================================


    <?xml version="1.0" encoding="UTF-8"?>
    <Error><Number>-2147221202</Number><Source>Common:XmlParse</Source>
    <Description>The element 'RateV4Request' has incomplete content. List of possible elements expected: 'RateClientType, Package'.</Description><HelpFile/><HelpContext/></Error>


    ==================================

    USPS Country - $this->countries[$order->delivery[country][iso_code_2]]: $this->usps_countries: US

    USPS DOMESTIC CHECKED: Retail


    USPS DOMESTIC RETURNED:


    ==================================

    Domestic Services Selected:

    ==================================

    SENT TO USPS:

    <RateV4Request USERID="393XXXXX2530">
    <Revision>2</Revision>
    </RateV4Request>

    ============

    RAW XML FROM USPS:

    SimpleXMLElement Object
    (
    [Number] => -2147221202
    [Source] => Common:XmlParse
    [Description] => The element 'RateV4Request' has incomplete content. List of possible elements expected: 'RateClientType, Package'.
    [HelpFile] => SimpleXMLElement Object
    (
    )

    [HelpContext] => SimpleXMLElement Object
    (
    )

    )

  4. #4
    Join Date
    Feb 2011
    Posts
    37
    Plugin Contributions
    0

    Default Re: Upgrade from USPS_2016_0107_K8 to USPS_2018_0308_K10 crashed USPS quotes

    Quote Originally Posted by Ajeh View Post
    Uninstall K8 and reinstall K10 ...

    Turn on the Debug log and try for a quote ...

    Look in the /logs and Zip the shipping log and attach that to your next post ...
    Sorry, I seem to be having problems submitting posts today. This will be second time I replied to this in past 10 minutes

    I just did the first two things you asked. I don't know how to attach the log, so I copy and pasted it below.
    Note: I X'ed out the USERID field in the log below.

    Aug 08 2018 18:25:59 --
    USPS build: 2017-09-16

    Server: production
    Quote Request Rate Type: Retail
    Quote from main_page: checkout_shipping
    USPS Options (weight, time): --none--
    USPS Domestic Transit Time Calculation Mode: NEW

    Cart Weight: 0.125
    Total Quote Weight: 0.125 Pounds: 0 Ounces: 2
    Maximum: 50 Tare Rates: Small/Medium: 0:0 Large: 0:0
    Handling method: Order Handling fee Domestic: $1.00 Handling fee International: $2.00
    Decimals: 2
    Domestic Length: 8.625 Width: 5.375 Height: 1.625
    International Length: 9.50 Width: 1.0 Height: 5.50
    All Packages are Machinable: False
    Enable USPS First-Class filter for US shipping: True
    Sorts the returned quotes: Price-LowToHigh

    ZipOrigination: 46405
    ZipDestination: 13732 City: Apalachin State: New York
    Order SubTotal: $14.99
    Order Total: $14.99
    Uninsurable Portion: $0.00
    Insurable Value: $14.99

    RESPONSE FROM USPS:

    ==================================


    <?xml version="1.0" encoding="UTF-8"?>
    <Error><Number>-2147221202</Number><Source>Common:XmlParse</Source>
    <Description>The element 'RateV4Request' has incomplete content. List of possible elements expected: 'RateClientType, Package'.</Description><HelpFile/><HelpContext/></Error>


    ==================================

    USPS Country - $this->countries[$order->delivery[country][iso_code_2]]: $this->usps_countries: US

    USPS DOMESTIC CHECKED: Retail


    USPS DOMESTIC RETURNED:


    ==================================

    Domestic Services Selected:

    ==================================

    SENT TO USPS:

    <RateV4Request USERID="393XXXXX2530">
    <Revision>2</Revision>
    </RateV4Request>

    ============

    RAW XML FROM USPS:

    SimpleXMLElement Object
    (
    [Number] => -2147221202
    [Source] => Common:XmlParse
    [Description] => The element 'RateV4Request' has incomplete content. List of possible elements expected: 'RateClientType, Package'.
    [HelpFile] => SimpleXMLElement Object
    (
    )

    [HelpContext] => SimpleXMLElement Object
    (
    )

    )

  5. #5
    Join Date
    Feb 2011
    Posts
    37
    Plugin Contributions
    0

    Default Re: Upgrade from USPS_2016_0107_K8 to USPS_2018_0308_K10 crashed USPS quotes

    As I noted in my "double post" I added this info ... after reinstalling the USPS Shipping module, I get this message Nothing has been selected in Quotes. I looked-up in usps.php what causes that message to be displayed and it looks as if I don't have either of these variables, $usps_shipping_methods_domestic_cnt or $usps_shipping_methods_international_cnt, set ? Looks like they are set by check-boxes ? If so, I don't see any such check-boxes in the list of items I can edit. Hope this helps ?

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,463
    Plugin Contributions
    6

    Default Re: Upgrade from USPS_2016_0107_K8 to USPS_2018_0308_K10 crashed USPS quotes

    Check and be sure you have checked the shipping methods that you want quoted, it looks like nothing is checked ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  7. #7
    Join Date
    Feb 2011
    Posts
    37
    Plugin Contributions
    0

    Default Re: Upgrade from USPS_2016_0107_K8 to USPS_2018_0308_K10 crashed USPS quotes

    Quote Originally Posted by Ajeh View Post
    Check and be sure you have checked the shipping methods that you want quoted, it looks like nothing is checked ...
    Ah, by "checking the shipping methods", I assume you mean the editable entries below ?
    Shipping Methods (Domestic and International)
    0, .21875, 0.00, 0, .8125, 0.00, 0, .8125, 0.00, 0, .9375, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 15, 0.00, 0, 20, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, .21875, 0.00, 0, 4, 0.00, 0, 4, 0.00, 0, 66, 0.00, 0, 4, 0.00, 0, 4, 0.00, 0, 20, 0.00, 0, 20, 0.00, 0, 66, 0.00, 0, 4, 0.00, 0, 70, 0.00, 0, 70, 0.00


    I see they are ALL zeroed out. Can I ask ... are these new parameters for K10 ? As per my original post, this module worked for K8 for over two years, and I don't recall having to set these parameters up; (I actually wrote down every one that I had to change/set-up two years ago). I assumed they would work by default like they did in K8. Either way, I'll try to understand what each means, etc. Thanks !!

 

 

Similar Threads

  1. v150 USPS Module not returning rate quotes
    By scubasteve in forum Addon Shipping Modules
    Replies: 6
    Last Post: 19 Apr 2013, 01:53 PM
  2. USPS Stopped showing rate quotes
    By reefland in forum Built-in Shipping and Payment Modules
    Replies: 10
    Last Post: 5 Apr 2011, 05:04 AM
  3. USPS quotes don't show up on checkout
    By slushie in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 8 Nov 2008, 05:50 AM
  4. How do I get UPS and USPS quotes in Zen Cart to match USPS/UPS rates in my PayPal?
    By chachab in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 22 May 2008, 06:13 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR