Forums / Addon Shipping Modules / Added USPS RateV4 Intl RateV2 - and get nothing has been selected for quotes

Added USPS RateV4 Intl RateV2 - and get nothing has been selected for quotes

Views: 3,582

Results 1 to 20 of 21
15 Sep 2014, 4:51 PM
#1
mespe avatar

mespe

Zen Follower

Join Date:
Sep 2014
Location:
ohio
Posts:
216
Plugin Contributions:
0

Added USPS RateV4 Intl RateV2 - and get nothing has been selected for quotes

Hi,

Working on a new store (tired of eBay) and I got soo much to learn,,,

Right now I get (in red on the shipping modules admin page) "Nothing has been selected for Quotes" after the USPS entry

and when adding something to my cart,,, -2147221202 - The element 'RateV4Request' has incomplete content. List of possible elements expected: 'RateClientType, Package'.

any help appreciated

15 Sep 2014, 4:55 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Added USPS RateV4 Intl RateV2 - and get nothing has been selected for quotes

Check that you have the current USPS September 7, 2014 K5 version of the USPS shipping module ...
http://www.zen-cart.com/showthread.php?214502-USPS-RateV4-Intl-RateV2-Sept-7-2014-Version-K5

NOTE: You should signup for the News & Announcements forum at:
http://www.zen-cart.com/forumdisplay.php?2-Zen-Cart-Release-Announcements

Once you have the new USPS shipping module installed, ensure that you have checked the shipping methods that you want to use for USPS for both Domestic and International shipping ...

You can also test what version of USPS you have installed on your Server ...

Go to your Zen Cart Admin and go to Tools ... Developers Tool Kit ...

In the bottom input box enter:
usps.php

Then, select Catalog ... click SEARCH ...

What comes up on the paths to the files and the lines for:

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!]
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!

15 Sep 2014, 5:59 PM
#3
mespe avatar

mespe

Zen Follower

Join Date:
Sep 2014
Location:
ohio
Posts:
216
Plugin Contributions:
0

Re: Added USPS RateV4 Intl RateV2 - and get nothing has been selected for quotes

Line #12 : * @version $Id: usps.php 2014-09-07 ajeh Version K5 $

15 Sep 2014, 6:03 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Added USPS RateV4 Intl RateV2 - and get nothing has been selected for quotes

If you turn on the Debug to Logs, down at the bottom of the USPS shipping modules when you edit this in your Admin and try a quote, could you Zip the shipping log that is created in your /logs directory (/cache in older versions of Zen Cart) and attach it to your 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!]
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!

15 Sep 2014, 6:19 PM
#5
mespe avatar

mespe

Zen Follower

Join Date:
Sep 2014
Location:
ohio
Posts:
216
Plugin Contributions:
0

Re: Added USPS RateV4 Intl RateV2 - and get nothing has been selected for quotes

LAST LINE of CODE

if ((MODULE_SHIPPING_USPS_VERSION != '2014-09-07') || (sizeof($chk_keys) != $chk_sql->RecordCount())) {
$this->title .= '<span class="alert">' . ' - Missing Keys or Out of date you should reinstall!' . '</span>';
$this->enabled = FALSE;
}
$new_version_details = plugin_version_check_for_updates(1292, '2014-09-07 K5');
if ($new_version_details !== FALSE) {
$this->title .= '<span class="alert">' . ' - NOTE: A NEW VERSION OF THIS PLUGIN IS AVAILABLE. <a href="' . $new_version_details['link'] . '" target="_blank">[Details]</a>' . '</span>';
}

    if ($this->enabled) {
      // insert checks here to give warnings if some of the configured selections don't make sense (such as no boxes checked)
      // And in those cases, set $this->enabled to FALSE so that the amber warning symbol appears. Consider also adding more BRIEF error text to the $this->title.

      // verify checked boxes
      $usps_shipping_methods_domestic_cnt = 0;
      $usps_shipping_methods_international_cnt = 0;
      foreach($this->typeCheckboxesSelected as $requested_type)
      {
        if(is_numeric($requested_type) || preg_match('#(GXG|International)#i', $requested_type)) continue;
        $usps_shipping_methods_domestic_cnt += 1;
      }
      foreach($this->typeCheckboxesSelected as $requested_type)
      {
        if(is_numeric($requested_type) || !preg_match('#(GXG|International)#i' , $requested_type)) continue;
        $usps_shipping_methods_international_cnt += 1;
      }
      if (($usps_shipping_methods_domestic_cnt + $usps_shipping_methods_international_cnt) < 1) {
        $this->title .= '<span class="alert">' . ' - Nothing has been selected for Quotes.' . '</span>';
      }

    }
  }
15 Sep 2014, 6:23 PM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Added USPS RateV4 Intl RateV2 - and get nothing has been selected for quotes

I was referring to going to Modules ... Shipping ... and clicking on USPS shipping module and hit the EDIT button, then scroll to the bottom and set Debug to Log ...

This will cause the USPS shipping module to generate a debug shipping log in the /logs directory on the server that you can then download to your computer and Zip so that you can attach it to your 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!]
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!

15 Sep 2014, 7:03 PM
#7
mespe avatar

mespe

Zen Follower

Join Date:
Sep 2014
Location:
ohio
Posts:
216
Plugin Contributions:
0

Re: Added USPS RateV4 Intl RateV2 - and get nothing has been selected for quotes

I found the last post before I realized that you responded and thought it might help.

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

15 Sep 2014, 7:45 PM
#8
mespe avatar

mespe

Zen Follower

Join Date:
Sep 2014
Location:
ohio
Posts:
216
Plugin Contributions:
0

Re: Added USPS RateV4 Intl RateV2 - and get nothing has been selected for quotes

Found it,,, thanks,,,
ensure that you have checked the shipping methods that you want to use for USPS for both Domestic and International shipping ...

15 Sep 2014, 9:48 PM
#9
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Added USPS RateV4 Intl RateV2 - and get nothing has been selected for quotes

Without actually seeing the actual log file I have to guess you either have none of the shipping modules selected or you have bad settings in the Configuration ... Shipping/Packaging ...

Posting an attachment of the actual debug log created in the /logs directory would be of great help in determining what is wrong ...

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!]
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!

15 Sep 2014, 9:56 PM
#10
mespe avatar

mespe

Zen Follower

Join Date:
Sep 2014
Location:
ohio
Posts:
216
Plugin Contributions:
0

Re: Added USPS RateV4 Intl RateV2 - and get nothing has been selected for quotes

Found the problem to that error, now for the next.
When shipping a really light package (.25 lbs) via priority mail (44060 to 90210), the rates are wrong. should be $7.15 not $19.65
when shipping same package from 44060 to 44060 should be $5.75 not $8.55

15 Sep 2014, 10:05 PM
#11
mespe avatar

mespe

Zen Follower

Join Date:
Sep 2014
Location:
ohio
Posts:
216
Plugin Contributions:
0

Re: Added USPS RateV4 Intl RateV2 - and get nothing has been selected for quotes

seems like somewhere 3 lbs are added for tare

15 Sep 2014, 10:08 PM
#12
mespe avatar

mespe

Zen Follower

Join Date:
Sep 2014
Location:
ohio
Posts:
216
Plugin Contributions:
0

Re: Added USPS RateV4 Intl RateV2 - and get nothing has been selected for quotes

found it

15 Sep 2014, 10:08 PM
#13
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Added USPS RateV4 Intl RateV2 - and get nothing has been selected for quotes

Check your settings on the Configuration ... Shipping/Packaging ... it looks like your Tare Rates are set to add weight vs 0:0 which adds not extra weight ...

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!]
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!

22 Sep 2014, 8:42 PM
#14
brewbrothers avatar

brewbrothers

New Zenner

Join Date:
Jun 2011
Location:
Hillsboro, OR
Posts:
7
Plugin Contributions:
0

Re: Added USPS RateV4 Intl RateV2 - and get nothing has been selected for quotes

Help! I followed the direction to install the new K5 version: uninstalled old version, copied files to proper directories, installed new version, and now I get an error...I've included a screen shot of the entirety of what shows now. I can't get to the right of the screen now where the configuration panel is supposed to be. I click on the "i" and get nothing, even if I click on the FedEx module...no configuration panel at all.Attachment 14541

Brew Brothers
brewbrothers.biz

22 Sep 2014, 9:07 PM
#15
brewbrothers avatar

brewbrothers

New Zenner

Join Date:
Jun 2011
Location:
Hillsboro, OR
Posts:
7
Plugin Contributions:
0

Re: Added USPS RateV4 Intl RateV2 - and get nothing has been selected for quotes

never mind...I think I fixed it. Will cry again if I have any further troubles. thanks for being there to help, anyway.

Brew Brothers
brewbrothers.biz

22 Sep 2014, 9:48 PM
#16
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Added USPS RateV4 Intl RateV2 - and get nothing has been selected for quotes

You might post what you did to help others ... that is always a help to know ...

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!]
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!

18 Sep 2015, 1:27 AM
#17
w4mmp avatar

w4mmp

New Zenner

Join Date:
Sep 2015
Location:
Lovettsville,VA
Posts:
58
Plugin Contributions:
0

Re: Added USPS RateV4 Intl RateV2 - and get nothing has been selected for quotes

Hi,
I have what appears to be a very similar problem. The estimate shipping window pops up but there are no options.
This is what I see in the debug log:

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
    (
    )

)

Please help,
Regards,
Ron

18 Sep 2015, 1:28 PM
#18
w4mmp avatar

w4mmp

New Zenner

Join Date:
Sep 2015
Location:
Lovettsville,VA
Posts:
58
Plugin Contributions:
0

Re: Added USPS RateV4 Intl RateV2 - and get nothing has been selected for quotes

Hello,

I figured it out. The product I am testing with is too heavy for any of the options I selected when configuring the USPS shipping module. More shipping options were selected and now shipping options are displayed when clicking on "estimate shipping".

NOTE: When adding new products, the weigh parameter needs to be in ounces not pounds. When I set up the product , I put one (1) for the weight assuming that was ounces.

Regards,
Ron

18 Sep 2015, 2:00 PM
#19
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Added USPS RateV4 Intl RateV2 - and get nothing has been selected for quotes

Thanks for the update that what issues you were having are resolved and the reason why ... :smile:

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!]
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!

18 Sep 2015, 2:05 PM
#20
w4mmp avatar

w4mmp

New Zenner

Join Date:
Sep 2015
Location:
Lovettsville,VA
Posts:
58
Plugin Contributions:
0

Re: Added USPS RateV4 Intl RateV2 - and get nothing has been selected for quotes

Ah, sorry about that. No shipping options were showing in the shipping pop up window. Adding (clicking) more shipping options in the USPS shipping module allow shipping options to be displayed in the shipping pop up window. Make sense?

Regards,
Ron