Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

Hello,

I have installed USPS module in my site but its throwing error -

An error occured with the USPS shipping calculations.

If you prefer to use USPS as your shipping method, please contact the store owner.

 

I did trace the code and found that the socket connection is establishing successfully but the USPS production server does nt respond with the desired data

I had given call to USPS for shifting my account to their production server.. which is done .

Still the error persists...So i followed up with USPS but usps customer care executive says that this is

OSC script problem and all obligations are over from USPS.

 

To test socket connection to production.shippingapis.com, i have written simple code ----

 

<?php

 

$fp = fsockopen("www.yahoo.com", 80, $errno, $errstr);

$fp = fsockopen("dir.yahoo.com", 80, $errno, $errstr);

 

$fp = fsockopen("production.shippingapis.com", 80, $errno, $errstr);

 

?>

1) connection to www.yahoo.com returned me --

HTTP/1.1 200 OK Date: Mon, 09 Jan 2006 07:33:30 GMT P3P: policyref="http://p3p.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE GOV" Cache-Control: private Vary: User-Agent Set-Cookie: FPB=vi0h542ag11s44ea; expires=Thu, 01 Jun 2006 19:00:00 GMT; path=/; domain=www.yahoo.com Connection: close Transfer-Encoding: chunked Content-Type: text/html 8d15

 

2) connection to dir.yahoo.com returned me --

HTTP/1.1 200 OK Date: Mon, 09 Jan 2006 07:30:36 GMT P3P: policyref="http://p3p.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE GOV" Connection: close Transfer-Encoding: chunked Content-Type: text/html 60bf

 

3) connection to production.shippingapis.com returned me --

HTTP/1.1 403 Access Forbidden Server: Microsoft-IIS/5.0 Date: Mon, 09 Jan 2006 08:04:13 GMT Connection: close Content-Type: text/html Content-Length: 172

 

I think USPS production server should also return me status 200 OK like yahoo servers.

But the USPS customer care team asked me to contact OSC coz according to them this is bug in OSC script.

I have tried all my level best to get the usps done but i could not :(

Please, if anybody can help me out!

Posted

I am having the same error with a new store and new user.

All of my old stores are working which is odd.

 

USPS Customer support says you don't need a password anymore just anything in the PW field.

 

I have even tried old UN/PW and it will still not work.

 

UPS module works fine.

Posted

Can anybody PLEASE help to resolve the USPS shipping error ??

I have received few replies for the post but all the replies says that they are having same problem

about USPS

Please if any body could clear.... is this error due to OSC script or there is some problem to United States

Parcel Service's Production Server ?

 

If anyone has suggestions or any kinda instructions to be followed to make USPS work, Please do share as soon as possible

 

Im badly stuck up :(

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...