kelly236 Posted September 23, 2011 Share Posted September 23, 2011 (edited) Hi All, I'm really in a mess right now, I have installed USPS_Methods_5.2.0_RateV4IntlRateV2 on an old 2.2 shopping cart my boss has asked me to use USPS for Domestic as well as International, and it works fine for International but when I try to use a Domestic address I get this error; An error occured with the USPS shipping calculations. If you would like to use USPS as your shipping method, please contact the store owner. The Site is Live and I'm not that good at troubleshooting this so I was hoping I could get some help, it's my birthday today and the last thing I want is my boss yelling at me cause I can't figure this out so PLEASE can anyone PLEASSE HELP ME? Thank you so much, Kelly Edited September 23, 2011 by kelly236 Quote Link to comment Share on other sites More sharing options...
kelly236 Posted September 24, 2011 Author Share Posted September 24, 2011 I've tried to install a newer version of the USPS and I've run into a problem it says to ; catalog/admin/modules.php Find somewhere around line 43: in osc 2.2 if (tep_not_null($action)) { switch ($action) { case 'save': while (list($key, $value) = each($HTTP_POST_VARS['configuration'])) { but what I have is; if (tep_not_null($action)) { switch ($action) { case 'save': foreach($_POST['configuration'] as $key => $value) { and it's telling me to add this code; if( is_array( $value ) ){ $value = implode( ", ", $value); $value = ereg_replace (", --none--", "", $value); } but could that be an issue? I apologize to everyone here for my lack of knowledge, and I would really appreciate any help or direction,, Thank you Kelly Quote Link to comment Share on other sites More sharing options...
Guest Posted September 24, 2011 Share Posted September 24, 2011 Kelly, That's fine, just add the new array under the reference code. The exact code of the reference is not a concern. Chris Quote Link to comment Share on other sites More sharing options...
kelly236 Posted September 24, 2011 Author Share Posted September 24, 2011 Thank you so very much, Chris, I can't tell you how much I appreciate your time, I'm trying to install this but I keep getting an error when trying to use the domestic shipping, it works great on International but I just don't know why it won't work on domestic error: An error occured with the USPS shipping calculations. If you would like to use USPS as your shipping method, please contact the store owner. Again, THANK YOU SO MUCH for your help!! Kelly Quote Link to comment Share on other sites More sharing options...
Guest Posted September 24, 2011 Share Posted September 24, 2011 Kelly, Did you set your zip code in admin>configuration> packaging and shipping ? Did you enter your CITY in the code edits for USPS methods ? Did you sign up for domestic shipping using the methods you have chosen in the module ? (did you open your USPS account and choose the methods you are trying to enable in the osCommerce store?) Chris Quote Link to comment Share on other sites More sharing options...
kelly236 Posted September 24, 2011 Author Share Posted September 24, 2011 (edited) Oh My god!! I don't know what it was but it's working! It's Working!!! Thanks Chris for answering my post! I have an old 2.2 cart and I upgraded to USPS Methods 5.2.2 - COMPLETE and its working, just in case anyone wants to know Kelly Edited September 24, 2011 by kelly236 Quote Link to comment Share on other sites More sharing options...
Guest Posted September 24, 2011 Share Posted September 24, 2011 Congratulations Kelly, I am happy to hear you got it working. Chris 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.