Zen Cart Logo
Forums / Installing on a Linux/Unix Server / USPS Module Installed, set for Production, but no USPS Shipping Choices

USPS Module Installed, set for Production, but no USPS Shipping Choices

Views: 3,374

Results 1 to 11 of 11
2 Feb 2015, 9:18 PM
#1
Join Date:
Jan 2015
Location:
Searcy, AR USA
Posts:
11
Plugin Contributions:
0

USPS Module Installed, set for Production, but no USPS Shipping Choices

I have the USPS shipping module instaled, and I contacted the USPS and switched to Production mode, but I still have no USPS choices on the Estimate Shipping selection. THE UPS module is ionstalled and working fine.

2 Feb 2015, 11:21 PM
#2
ajeh avatar

ajeh

Oba-san

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

Re: USPS Module Installed, set for Production, but no USPS Shipping Choices

Ensure that you have the current USPS shipping module installed:
http://www.zen-cart.com/showthread.php?215103-USPS-RateV4-Intl-RateV2-October-30-2014-K6-for-November-2-2014

It is also a good time to register for the News & Announcements forum:
http://www.zen-cart.com/forumdisplay.php?2-Zen-Cart-Release-Announcements

3 Feb 2015, 2:44 PM
#3
Join Date:
Jan 2015
Location:
Searcy, AR USA
Posts:
11
Plugin Contributions:
0

Re: USPS Module Installed, set for Production, but no USPS Shipping Choices

This is what I have installed:

/homepages/35/d91148780/htdocs/manorhouse/includes/languages/english/modules/shipping/usps.php

Line #14 : * @version $Id: usps.php 2014-10-30 ajeh Version K6 $

/homepages/35/d91148780/htdocs/manorhouse/includes/modules/shipping/usps.php

Line #15 : * @version $Id: usps.php 2014-10-30 ajeh Version K6 $

I believe it is the latest version.

3 Feb 2015, 2:48 PM
#4
ajeh avatar

ajeh

Oba-san

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

Re: USPS Module Installed, set for Production, but no USPS Shipping Choices

Edit the module USPS and turn on the "Debug to logs" (at the bottom of the settings) ... then try to go to checkout_shipping ...

Now, look in the /logs directory and zip the Shipping log(s) that are generated and attach it to your post ...

3 Feb 2015, 8:26 PM
#5
Join Date:
Jan 2015
Location:
Searcy, AR USA
Posts:
11
Plugin Contributions:
0

Re: USPS Module Installed, set for Production, but no USPS Shipping Choices

One more bit of informations before I "Debug to logs". Estimate Shipping shows no USPS choices at alll, but if I Log In and then go to Checkout, I get the following error: "-2147221202 - The element 'RateV4Request' has incomplete content. List of possible elements expected: 'RateClientType, Package'."

Now I will "Debug to logs" and send the information I receive.

3 Feb 2015, 8:34 PM
#6
ajeh avatar

ajeh

Oba-san

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

Re: USPS Module Installed, set for Production, but no USPS Shipping Choices

You do have checkboxes selected for Domestic and International methods, correct?

3 Feb 2015, 8:42 PM
#7
Join Date:
Jan 2015
Location:
Searcy, AR USA
Posts:
11
Plugin Contributions:
0

Re: USPS Module Installed, set for Production, but no USPS Shipping Choices

I was not able to attach the logs, but here they are:

Feb 03 2015 14:29:17 -- 
USPS build: 2014-10-30

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

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

ZipOrigination: 72143
ZipDestination: 72143 City: Searcy State: Arkansas
Order SubTotal: $8.95
Order Total: $8.95
Uninsurable Portion: $0.00
Insurable Value: $8.95

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


USPS DOMESTIC RETURNED: 


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

Domestic Services Selected: 
USPS TrackingTM Electronic
Insurance

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

SENT TO USPS:

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

)

Feb 03 2015 14:29:17 -- 
USPS build: 2014-10-30

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

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

ZipOrigination: 72143
ZipDestination: 72143 City: Searcy State: Arkansas
Order SubTotal: $8.95
Order Total: $8.95
Uninsurable Portion: $0.00
Insurable Value: $8.95

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


USPS DOMESTIC RETURNED: 


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

Domestic Services Selected: 
USPS TrackingTM Electronic
Insurance

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

SENT TO USPS:

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

)
3 Feb 2015, 9:48 PM
#8
Join Date:
Jan 2015
Location:
Searcy, AR USA
Posts:
11
Plugin Contributions:
0

Re: USPS Module Installed, set for Production, but no USPS Shipping Choices

No I did not. I had intended to go back and do that but it slipped my mind. It works now, but only if I go to Checkout. It does not work for Estimate Shipping.

3 Feb 2015, 9:53 PM
#9
drbyte avatar

drbyte

Sensei

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

Re: USPS Module Installed, set for Production, but no USPS Shipping Choices

What other addons are present on your site?
ie: what are ALL the ways in which your site is different from a brand new uncustomized ZC install?

3 Feb 2015, 10:13 PM
#10
Join Date:
Jan 2015
Location:
Searcy, AR USA
Posts:
11
Plugin Contributions:
0

Re: USPS Module Installed, set for Production, but no USPS Shipping Choices

Rather than answering your question, I am thrilled to tell you that everything up through shipping is working now. I just need to test Payment and I will be good to go. Many thanks to everyone for their patience and helop/

3 Feb 2015, 10:16 PM
#11
drbyte avatar

drbyte

Sensei

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

Re: USPS Module Installed, set for Production, but no USPS Shipping Choices

What did you have to do to fix the estimator problem?