Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Is USPS on the fritz?


spilotes

Recommended Posts

I am guessing we need to change this code:

 

$this->intl_types = array('GXG Document' => 'Global Express Guaranteed Document Service',
                               'GXG Non-Document' => 'Global Express Guaranteed Non-Document Service',
                               'Express' => 'Global Express Mail (EMS)',
                               'Priority Lg' => 'Global Priority Mail - Flat-rate Envelope (Large)',
                               'Priority Sm' => 'Global Priority Mail - Flat-rate Envelope (Small)',
                               'Priority Var' => 'Global Priority Mail - Variable Weight Envelope (Single)',
                               'Airmail Letter' => 'Airmail Letter-post',
                               'Airmail Parcel' => 'Airmail Parcel Post',
                               'Surface Letter' => 'Economy (Surface) Letter-post',
                               'Surface Post' => 'Economy (Surface) Parcel Post');

 

its located around line 50...will try it and let you know what happens.

Link to comment
Share on other sites

  • 2 weeks later...

I just did a test this morning and noticed that I'm getting the same error as Jeff Reach:

 

-2147219080 - Missing value for Country.

 

Has anyone learned anything new since May 6th???

Link to comment
Share on other sites

USPS made these changes in International service names since about the end of March (that's when I first saw it anyway), so your cart has been offering EMS only for nearly TWO MONTHS! :o

 

Yes, you only need to change to the new names to fix it. Those not offering international shipping are not affected.

Link to comment
Share on other sites

  • 4 months later...

I had a problem with several of the international shipping methods not working and defaulting to the first one in the list (The most expensive of course.) After changing the strings in usps.php in the $this->intl_types array it works like a champ.

 

An easy way to check to see what the USPS is sending, start an order and make sure your shipping address is in Canada or something like that and look to see what is shown on the web page where you choose the shipping method. Make sure your strings EXACTLY match the ones shown. They changed the case of several words and inserted dashes instead of spaces in several other strings.

 

Just wanted to share this with the rest in hopes it can help soneone else.

 

Later,

 

-- Dan

Link to comment
Share on other sites

This is killing me. I went into USPS.php and removed some of the international options, but they keep showing up for customers.. How can this be?? They don't exist!

 

I uninstalled the USPS shipping module and reinstalled it.. I deleted it from the directory, then put it back in, and reinstalled it.. Still having the same issue. All options continue to show up..

 

Any ideas? This problem doesn't happen with the domestic part.

 

thanks

Link to comment
Share on other sites

  • 1 month later...

IF you are all using the USPS Methods contribution, then you may have the same problem I had today, (Dec 3, 2004)....

 

If I try to get TRANSIT TIME I lose the abiblty to get ANYTHING. For now, I turned off "Display Transit Time" and "Display Weight" in the admin for USPS Shipping.

 

That gets me all the quotes fine again. I don't have time today to sort out the reason why it bombs when trying to get transit time, but suspect USPS changed something since last April or May when I stopped offering Domestic USPS. Activating it today produced the problems most of you describe above and in fact, caused my checkout_shipping page to come back 404...

 

Maybe someone can sort out the problem with getting the transit times! At least for now it quotes all the rates OK.

 

RDB

Link to comment
Share on other sites

IF you are all using the USPS Methods contribution, then you may have the same problem I had today, (Dec 3, 2004)....

 

If I try to get TRANSIT TIME I lose the abiblty to get ANYTHING.  For now, I turned off "Display Transit Time" and "Display Weight" in the admin for USPS Shipping.

 

That gets me all the quotes fine again.  I don't have  time today to sort out the reason why it bombs when trying to get transit time, but suspect USPS changed something since last April or May when I stopped offering Domestic USPS.  Activating it today produced the problems most of you describe above and in fact, caused my checkout_shipping page to come back 404...

 

Maybe someone can sort out the problem with getting the transit times!  At least for now it quotes all the rates OK.

 

RDB

 

 

This USPS Methods contribution handle ounces? If not, is there anyway to do so.

 

Any help will be appreciated.

 

Thanks

Link to comment
Share on other sites

IF you are all using the USPS Methods contribution, then you may have the same problem I had today, (Dec 3, 2004)....

 

If I try to get TRANSIT TIME I lose the abiblty to get ANYTHING.  For now, I turned off "Display Transit Time" and "Display Weight" in the admin for USPS Shipping.

 

Yep.. Transit time has not been working for some time. I added some estimated times for US domestic in the output messages.

 

ed

Link to comment
Share on other sites

  • 3 weeks later...

I installed the USPS Methods_2.7b fix contribution just yesterday and cannot get it to work.... I already signed up with USPS Web Tools and already have a production account... I installed everything just fine...

However, I keep on getting "An error occured with the USPS shipping calculations.

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

Can someone assist me in fixing this problem?

Thanks a lot....

Link to comment
Share on other sites

  • 1 month later...

I'm having the issue that the first post is refering to. I signed up for an account for the USPS Web Tools. I'm assuming this is the right account that I need. I can't seem to figure out if I need to do anything on the USPS end or not. I have all of the information in the OSC module entered correctly (I'm assuming, I do... I have production selected for the server to use). I e-mailed USPS to see if we are on the production server and I'm waiting on a reply. I also downloaded the latest usps.php from the CVS. I'm not really sure where to take this issue from here.

Link to comment
Share on other sites

I'm having the issue that the first post is refering to

...

I e-mailed USPS to see if we are on the production server and I'm waiting on a reply. I also downloaded the latest usps.php from the CVS. I'm not really sure where to take this issue from here.

There's nothing to do until USPS confirms that you are on the production server. When USPS tells you that you are on their prod server, change your settings to prod and you'll be set (unless ofcourse you screwed things up by using the latest usps.php file from the CVS.)

 

HTH,

Robert

Link to comment
Share on other sites

  • 3 years later...

I've been having this issue with USPS since day one. Domestic and International. The array always chooses the top item on the list and disregards everything else. I have followed every thread and all related threads that I can find in this matter and have found no solution that works. For the Domestic shipping I simply deleted all options in usps.php with the exception of one, and this has worked. However, for whatever reason (beyond my immediate understanding) this same method does not work for the Intl methods. I am at my wits end and begging for help.

Link to comment
Share on other sites

  • 1 month later...
IF you are all using the USPS Methods contribution, then you may have the same problem I had today, (Dec 3, 2004)....

 

If I try to get TRANSIT TIME I lose the abiblty to get ANYTHING. For now, I turned off "Display Transit Time" and "Display Weight" in the admin for USPS Shipping.

 

That gets me all the quotes fine again. I don't have time today to sort out the reason why it bombs when trying to get transit time, but suspect USPS changed something since last April or May when I stopped offering Domestic USPS. Activating it today produced the problems most of you describe above and in fact, caused my checkout_shipping page to come back 404...

 

Maybe someone can sort out the problem with getting the transit times! At least for now it quotes all the rates OK.

 

RDB

 

OK, I've been pulling my hair out all day on very slow xml response from usps for shipping estimates. I just went through option by option enabling and disabling - then refreshing my shipping quote and counting. What i discovered is that - if I leave "display transit time" enabled, the response from USPS servers takes 54 seconds! If not, I get a quote in 15 seconds. Nothing else I changed in the module parameters had any additional significant effect. So, it looks like whatever trouble they are having today, is similar to what happened four years ago in this thread. yay.

 

Then I heard that Netflix had some big problem today that will delay shipping for them for a day or so - and that their site had problems - made me wonder if it was related to USPS trouble on some larger scale. Probably coincidence, but it made me wonder. It really does suck to be so dependent on someone else's service. Made me think about going back to table rate.

 

So for tonight I am hanging it up. We'll see if it is fixed in the AM. Otherwise, perhaps they made another change in their API and didn't tell anyone again. That's what happened last time I trolled these forums.

 

Hope this helps someone.

 

J

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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