Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17
  1. #11
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,296
    Plugin Contributions
    22

    Default Re: USPS error: 'RateV4Request' has incomplete content

    So this is supposed to happen? No possible USPS method available and it throws an error? That goes against anything I've ever experienced with zen cart. You are saying because there was no method to send 3 pounds USPS shows an error? Explain that to me because I'm really not understanding this.
    The full-time Zen Cart Guru. WizTech4ZC.com

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

    Default Re: USPS error: 'RateV4Request' has incomplete content

    That is how it works so that when requests fo not work you know there is a problem.
    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. #13
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,296
    Plugin Contributions
    22

    Default Re: USPS error: 'RateV4Request' has incomplete content

    What I'm saying is that there is no problem except with the mod. The only way I got the error to disappear was to add a method that accepted a higher weight. If the owner does not want to use that method, why should there be an error? USPS just should not appear as an option.
    The full-time Zen Cart Guru. WizTech4ZC.com

  4. #14
    Join Date
    Oct 2007
    Posts
    68
    Plugin Contributions
    0

    Default Re: USPS error: 'RateV4Request' has incomplete content

    Did you find a resolution to this? Recently we have switched to UPS for all packages but still want USPS first class mail for padded envelope shipments.

  5. #15
    Join Date
    Oct 2007
    Posts
    68
    Plugin Contributions
    0

    Default Re: USPS error: 'RateV4Request' has incomplete content

    For now I just commented out this line:
    Code:
    //if (isset($uspsQuote['Number']) && !isset($uspsQuote['error'])) $uspsQuote['error'] = $uspsQuote['Number'] . ' - ' . $uspsQuote['Description'];
    Then it doesn't show the error and removes the USPS category that is displayed to the customer. I suppose you could modify this line so that it doesn't report the error if it matches the error number.

  6. #16
    Join Date
    Oct 2012
    Location
    Philadelphia, PA, USA
    Posts
    34
    Plugin Contributions
    0

    Default Re: USPS error: 'RateV4Request' has incomplete content

    Hi there, we are experiencing a similar problem. Same error, but the weight of the item is within the limits we selected. However, no USPS shipping methods are showing up.
    ZC v1.5.7
    Aug 08 2020 20:51:58 --
    USPS build: 2017-09-16

    Server: production
    Quote Request Rate Type: Online
    Quote from main_page: shopping_cart
    USPS Options (weight, time): Display weight
    USPS Domestic Transit Time Calculation Mode: NEW

    Cart Weight: 0.005
    Total Quote Weight: 0.005 Pounds: 0 Ounces: 1
    Maximum: 50 Tare Rates: Small/Medium: 0:0 Large: 0:0
    Handling method: Order 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: True
    Enable USPS First-Class filter for US shipping: True
    Sorts the returned quotes: Price-LowToHigh

    ZipOrigination: 19148
    ZipDestination: 33176
    Order SubTotal: $0.10
    Order Total: $0.10
    Uninsurable Portion: $0.00
    Insurable Value: $0.10

    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: Online
    Package ID sent: 0 First-Class Mail Letter - min: 0 max: .21875 handling: 0.00
    Package ID sent: 1 First-Class Mail Large Envelope - min: 0 max: .8125 handling: 0.00
    Package ID sent: 2 First-Class Package Service - RetailTM - min: 0 max: 50 handling: 0.00


    USPS DOMESTIC RETURNED:


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

    Domestic Services Selected:

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

    SENT TO USPS:

    <RateV4Request USERID=
    <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
    (
    )

    )

  7. #17
    Join Date
    Jul 2012
    Posts
    16,732
    Plugin Contributions
    17

    Default Re: USPS error: 'RateV4Request' has incomplete content

    Quote Originally Posted by nonprofit View Post
    Hi there, we are experiencing a similar problem. Same error, but the weight of the item is within the limits we selected. However, no USPS shipping methods are showing up.
    ZC v1.5.7
    Aug 08 2020 20:51:58 --
    USPS build: 2017-09-16

    Server: production
    Quote Request Rate Type: Online
    Quote from main_page: shopping_cart
    USPS Options (weight, time): Display weight
    USPS Domestic Transit Time Calculation Mode: NEW

    Cart Weight: 0.005
    Total Quote Weight: 0.005 Pounds: 0 Ounces: 1
    Maximum: 50 Tare Rates: Small/Medium: 0:0 Large: 0:0
    Handling method: Order 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: True
    Enable USPS First-Class filter for US shipping: True
    Sorts the returned quotes: Price-LowToHigh

    ZipOrigination: 19148
    ZipDestination: 33176
    Order SubTotal: $0.10
    Order Total: $0.10
    Uninsurable Portion: $0.00
    Insurable Value: $0.10

    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: Online
    Package ID sent: 0 First-Class Mail Letter - min: 0 max: .21875 handling: 0.00
    Package ID sent: 1 First-Class Mail Large Envelope - min: 0 max: .8125 handling: 0.00
    Package ID sent: 2 First-Class Package Service - RetailTM - min: 0 max: 50 handling: 0.00


    USPS DOMESTIC RETURNED:


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

    Domestic Services Selected:

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

    SENT TO USPS:

    <RateV4Request USERID=
    <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
    (
    )

    )
    Looking at the content that appears to be being sent to USPS, if that really is all that is being sent then that would be the problem. It looks like all that is being sent is the UserID (assuming is omitted from this output or has been otherwise removed for "safety and security") and that the version is 2... it doesn't look like anything else is actually sent even though there seems to be a long list of items to be put together including asking about 3 different packages based on the checkboxes.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. USPS saying Invalid XML Element content is = incomplete
    By vibrantdesignz in forum Addon Shipping Modules
    Replies: 0
    Last Post: 8 May 2014, 03:47 PM
  2. admin_login_as_customer_2-2 seems incomplete and has a syntactical bug ...
    By grossd in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 25 Oct 2011, 10:09 AM
  3. Replies: 14
    Last Post: 2 Jan 2011, 11:13 PM

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