Zen Cart Logo
Forums / Addon Shipping Modules / USPS module issue

USPS module issue

Views: 9,063

Results 41 to 60 of 66
31 Jan 2012, 2:12 AM
#42
loggades avatar

loggades

New Zenner

Join Date:
Nov 2011
Posts:
30
Plugin Contributions:
0

Re: USPS module issue

OK.. I installed the UPS module as requested and when I try to check out I get the following message for UPS quotes:

"We are unable to obtain a rate quote for UPS shipping.
Please contact the store if no other alternative is shown."

The same USPS message as before also shows below the UPS message.

31 Jan 2012, 2:19 AM
#43
ajeh avatar

ajeh

Oba-san

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

Re: USPS module issue

You need to talk to your hosting provider and see why outgoing http connections are blocked on port 80 ...

31 Jan 2012, 2:36 AM
#44
loggades avatar

loggades

New Zenner

Join Date:
Nov 2011
Posts:
30
Plugin Contributions:
0

Re: USPS module issue

I have emailed my hosting company and inquired about the outgoing http connections being blocked on port 80 and as soon as I hear back from them I will update you.
Thank you again for your help.

31 Jan 2012, 3:09 AM
#45
loggades avatar

loggades

New Zenner

Join Date:
Nov 2011
Posts:
30
Plugin Contributions:
0

Re: USPS module issue

My hosting company replied and copy of their reply is below:

Please note that outgoing 'HTTP' connections are not blocked on port 80. You can verify this from the logs pasted below:

root@monaco [~]# iptables -nL | grep :80
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:80
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:80
Chain acctboth (2 references)
tcp -- 216.218.220.45 0.0.0.0/0 tcp dpt:80
tcp -- 0.0.0.0/0 216.218.220.45 tcp spt:80

root@monaco [~]# telnet google.com 80
Trying 74.125.224.113...
Connected to google.com (74.125.224.113).
Escape character is '^]'.
^]


I am not sure what the next step is. Please advise if you know.

Thanks!!

31 Jan 2012, 3:32 AM
#46
ajeh avatar

ajeh

Oba-san

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

Re: USPS module issue

I would ask them to check again that both incoming and outgoing are working on that port ...

It is not making sense that this is not working for you ... maybe tell them what program you are running and what is failing to see if it triggers any clues with them ...

31 Jan 2012, 3:46 AM
#47
loggades avatar

loggades

New Zenner

Join Date:
Nov 2011
Posts:
30
Plugin Contributions:
0

Re: USPS module issue

I emailed them and asked them to recheck the port and also provided them with customer log in details so they can see what the problem is and see if they have any suggestions to offer.
I will update when they reply.

Thanks!!

31 Jan 2012, 3:17 PM
#48
loggades avatar

loggades

New Zenner

Join Date:
Nov 2011
Posts:
30
Plugin Contributions:
0

Re: USPS module issue

I have been in contact with my host, several times, and their last communication snippet is below:

The server is communicating fine with Production Servers.

root@monaco [/home/aeroelec/public_html]# telnet production.shippingapis.com 80
Trying 56.0.70.50...
Connected to production.shippingapis.com (56.0.70.50).
Escape character is '^]'.
^]
telnet> q
Connection closed.

root@monaco [/home/aeroelec/public_html]# telnet secure.shippingapis.com 443
Trying 56.0.34.44...
Connected to secure.shippingapis.com (56.0.34.44).
Escape character is '^]'.
^]
telnet> q
Connection closed.

However, the 'Checkout' gives the following error:

Shipping Method:

Please select the preferred shipping method to use on this order.
United Parcel Service United Parcel Service
We are unable to obtain a rate quote for UPS shipping.
Please contact the store if no other alternative is shown.
United States Postal Service United States Postal Service
We are unable to find a USPS shipping quote suitable for your mailing address and the shipping methods we typically use.
If you prefer to use USPS as your shipping method, please contact us for assistance.
(Please check that your Zip Code is entered correctly.)

Please update us with the exact steps that needs to be done from our end (Hosting support) to enable the USPS shipping module.

Also, do update us if there are any other specific IP addresses or Port numbers with which the domain should communicate for USPS shipping module to work.

I have also called USPS again and asked them to verify that I am on production mode and explained to them the problem I am having and they informed me that all is working well on their end and asked me to supply this link, https://www.usps.com/business/webtools-technical-guides.htm to the shipping cart development team.

Something is off somewhere apparently and I can't put my finger on it.

Kindly, PLEASE advise what I should do to try to get this issue resolved.
I can PM you the link with my hosting company support ticket details if that would help.
I sincerely appreciate your help.

31 Jan 2012, 3:31 PM
#49
ajeh avatar

ajeh

Oba-san

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

Re: USPS module issue

I do not know if you are into this test, but are you able to create a test database with the demo data and a test directory and install a clean Zen Cart v1.5 and the USPS and UPS shipping modules just to rule out anything in your current site from causing this? :unsure:

31 Jan 2012, 4:02 PM
#50
loggades avatar

loggades

New Zenner

Join Date:
Nov 2011
Posts:
30
Plugin Contributions:
0

Re: USPS module issue

I don't guess there is any other option available at this point.
It will take some time to get it done. I will post an update when it is done. :(

31 Jan 2012, 5:58 PM
#51
ajeh avatar

ajeh

Oba-san

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

Re: USPS module issue

Perhaps tell them that the PHP function fsockopen() is required and see what they say ...

31 Jan 2012, 6:01 PM
#52
ajeh avatar

ajeh

Oba-san

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

Re: USPS module issue

Also you could try temp ...
/includes/classes/http_client.php line 306

        if (!$this->socket = @fsockopen($host, $port, $this->reply, $this->replyString, $this->timeout)) {

remove the @ ... TEMPORARILY and see if you see errors or get error logs in the /cache ...

31 Jan 2012, 8:56 PM
#53
loggades avatar

loggades

New Zenner

Join Date:
Nov 2011
Posts:
30
Plugin Contributions:
0

Re: USPS module issue

I have already started the re-install of the cart.
I just as well start from scratch while the site is new rather than fighting it. If it was something wrong when it was first set up it should fine with a fresh install.
I will update the status when I get it done.

Thanks again for the help.

2 Feb 2012, 12:25 AM
#54
loggades avatar

loggades

New Zenner

Join Date:
Nov 2011
Posts:
30
Plugin Contributions:
0

Re: USPS module issue

Update on the module issue....
I did a fresh install of the 1.5 version, and after all the time I spent doing that, the same problem was there which ruled out any issues with my old site software.
Following Ajeh' suggestion on post #51, I contacted my host, Hostgo, and asked them to enable the fsockopen function.
They enabled the function by inserting a custom php.ini script in my account and that fixed the problem!!
If needed I can get that script for anyone else with similar problem.

Thank you again Ajeh for the help!!!

2 Feb 2012, 12:27 AM
#55
ajeh avatar

ajeh

Oba-san

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

Re: USPS module issue

I am glad that you got this working ...

I would be interested in see the php.ini file that they gave you for your site ...

2 Feb 2012, 12:30 AM
#56
loggades avatar

loggades

New Zenner

Join Date:
Nov 2011
Posts:
30
Plugin Contributions:
0

Re: USPS module issue

I will contact Hostgo and ask them to send me a copy of it and I will post it when I hear back from them.

Thanks again!!!

2 Feb 2012, 2:30 AM
#57
loggades avatar

loggades

New Zenner

Join Date:
Nov 2011
Posts:
30
Plugin Contributions:
0

Re: USPS module issue

I PM'd you a very long text file rather than paste here because I was unable to tell if it contained any sensitive settings information.
Let me know please if you need any additional info from my host.

2 Feb 2012, 2:34 AM
#58
loggades avatar

loggades

New Zenner

Join Date:
Nov 2011
Posts:
30
Plugin Contributions:
0

Re: USPS module issue

Oops!
I could not PM the file because it was way too big.
I have sent you my email address and you can email me for it.

3 Feb 2012, 8:25 PM
#59
new2u avatar

new2u

Zen Follower

Join Date:
Sep 2009
Posts:
186
Plugin Contributions:
0

Re: USPS module issue

This works perfect for paypal, however google checkout does not want to display first class mail international as an option any more... Any ideas?

5 Feb 2012, 4:34 PM
#60
new2u avatar

new2u

Zen Follower

Join Date:
Sep 2009
Posts:
186
Plugin Contributions:
0

Re: USPS module issue

Anyone else seeing this?