sandralk Posted May 6, 2004 Share Posted May 6, 2004 oh, and does anyone know what we would do with that info? Quote Link to comment Share on other sites More sharing options...
jreach Posted May 6, 2004 Share Posted May 6, 2004 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. Quote Link to comment Share on other sites More sharing options...
jreach Posted May 6, 2004 Share Posted May 6, 2004 Can someone whose USPS.PHP module is working post the code for it? I want to check some strings. Quote Link to comment Share on other sites More sharing options...
Guest Posted May 17, 2004 Share Posted May 17, 2004 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??? Quote Link to comment Share on other sites More sharing options...
Guest Posted May 20, 2004 Share Posted May 20, 2004 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. Quote Link to comment Share on other sites More sharing options...
danberlyoung Posted October 1, 2004 Share Posted October 1, 2004 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 Quote Link to comment Share on other sites More sharing options...
zephyrsky Posted October 4, 2004 Share Posted October 4, 2004 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 Quote Link to comment Share on other sites More sharing options...
Syke Posted December 1, 2004 Share Posted December 1, 2004 Before I go in and mess with any files. Which file needs to be updated and with what working information? Any help'd be appreciated! Quote Link to comment Share on other sites More sharing options...
rbartz Posted December 4, 2004 Share Posted December 4, 2004 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 Quote Link to comment Share on other sites More sharing options...
darkvader Posted December 5, 2004 Share Posted December 5, 2004 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 <{POST_SNAPBACK}> This USPS Methods contribution handle ounces? If not, is there anyway to do so. Any help will be appreciated. Thanks Quote Link to comment Share on other sites More sharing options...
Guest Posted December 5, 2004 Share Posted December 5, 2004 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. <{POST_SNAPBACK}> Yep.. Transit time has not been working for some time. I added some estimated times for US domestic in the output messages. ed Quote Link to comment Share on other sites More sharing options...
Guest Posted December 5, 2004 Share Posted December 5, 2004 This USPS Methods contribution handle ounces? If not, is there anyway to do so. Any help will be appreciated. Thanks <{POST_SNAPBACK}> Yep. Use decimals. 8 ounces = .5 pounds. Works just fine. ed Quote Link to comment Share on other sites More sharing options...
Proof Posted December 21, 2004 Share Posted December 21, 2004 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.... Quote Link to comment Share on other sites More sharing options...
Proof Posted December 21, 2004 Share Posted December 21, 2004 Can someone please post his/her working usps.php code? Quote Link to comment Share on other sites More sharing options...
brianherbert Posted January 31, 2005 Share Posted January 31, 2005 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. Quote Link to comment Share on other sites More sharing options...
Rob123 Posted January 31, 2005 Share Posted January 31, 2005 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. <{POST_SNAPBACK}> 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 Quote Link to comment Share on other sites More sharing options...
Guest Posted February 15, 2008 Share Posted February 15, 2008 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. Quote Link to comment Share on other sites More sharing options...
creepo Posted March 25, 2008 Share Posted March 25, 2008 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.