surknight Posted January 2, 2014 Share Posted January 2, 2014 That throws a 'Warning: array_key_exists() expects parameter 2 to be array, null given' warning. Odd, since parameter 2 is an array, although an empty one. Quote Link to comment Share on other sites More sharing options...
♥kymation Posted January 2, 2014 Share Posted January 2, 2014 (edited) This is getting ridiculous. I'm tempted to just throw an (array) in front of the second parameter. Unless I can come up with a better test....  OK, try adding !tep_not_null($iExtras[$val]) && in front of that first test.  Regards Jim Edited January 2, 2014 by kymation Quote See my profile for a list of my addons and ways to get support. Link to comment Share on other sites More sharing options...
surknight Posted January 2, 2014 Share Posted January 2, 2014 That got it. Thanks! :) Quote Link to comment Share on other sites More sharing options...
L. Haase Posted January 4, 2014 Share Posted January 4, 2014 Kymation found the fix to the problem of the settings not saving. Although this seems to be a problem specific to my hoster, it might also help someone else with this problem. Â Issue: settings would not save Fix: The modules.php file was being corrupted when FTP transfer was occurring. Instead of transferring as ASCII, Kymation reuploaded it with a forced binary upload. That seemed to fix the problem. Â I hope this helps someone else. Quote Link to comment Share on other sites More sharing options...
hostricity Posted January 15, 2014 Share Posted January 15, 2014 We use this module. Â I'm looking at the USPS update which is coming on January 25th, 2014. Â The details can be found here: https://www.usps.com/business/web-tools-apis/welcome.htm (Look in the middle of the page for the release notes link) Â In reviewing this, I think the following pertains, and I would like a confirmation from others that I am correct: Â 1, It appears that this update does not affect this module unless you want to take advantage of the new services, which will likely require some coding to support. The module uses the V4 and International API's, both of which are being updated, so that is what I evaluated. Â 2. The price updates should be completely transparent and simply passed through as appropriate. Â 3. I do have a concern about this statement in Section 2.2.2 of the document pertaining to the V4 API: " Standard Post availability to zones 1-4 eliminated with exception given to mailings with hazardous materials, live animals or other ground only items" I'm not sure whether elimination of these zones will have an impact on what is sent to the V4 api, or how the response is handled. This sounds like an area where there could be a problem. Â 4. We need to test this very carefully both on the test server and the day it goes live because the post office has a habit of breaking things and inserting new garbage into api responses that break shipping modules. Â I will be testing and I will post any problems I find. I hope that others will do the same. Â IF WE'RE VERY LUCKY, we may be able to handle this update without any major downtime. Quote Link to comment Share on other sites More sharing options...
hostricity Posted January 15, 2014 Share Posted January 15, 2014 (edited) I just tested Express mail small box domestic and international. The test server did not reflect the 10 cent increase in the small flat rate express mail box. Edited January 15, 2014 by hostricity Quote Link to comment Share on other sites More sharing options...
♥kymation Posted January 15, 2014 Share Posted January 15, 2014 This module does not supply the Hazmat codes, so I'm assuming that Standard Post will stop working for those zones, and possibly all zones.  I don't believe that the USPS test server has been updated to these changes, so testing may not be valid. Given their record for messing up the test server, it may never be accurate.  I'm still working on a replacement for this module. I would like to have it ready by the time this change goes live, but I don't know if I'll have the time to finish it. We shall see.  Regards Jim Quote See my profile for a list of my addons and ways to get support. Link to comment Share on other sites More sharing options...
Avec Posted January 20, 2014 Share Posted January 20, 2014 How difficult would it be to allow the customer to select insurance or not? It appears that insurance is either forced on or forced off globally. Quote Link to comment Share on other sites More sharing options...
♥kymation Posted January 20, 2014 Share Posted January 20, 2014 osCommerce is set up to allow one selection from many shipping methods. There's no provision for selecting additional options. Adding a customer-selected insurance option would require modifying the core code to add that functionality. So, not all that easy.  Regards Jim Quote See my profile for a list of my addons and ways to get support. Link to comment Share on other sites More sharing options...
videod Posted January 27, 2014 Share Posted January 27, 2014 (edited) It appears that we are not getting the correct rates for First Class Mail Parcel and Priority Mail Express. I am guessing this is part of the API upgrade from USPS? Any input would be appreciated. I am using version 2.3.3 of OSCommerce. Â Oops, incrementally the higher weights are messed up too on Priority Mail. Â Thanks in advance. Edited January 27, 2014 by videod Quote Link to comment Share on other sites More sharing options...
♥kymation Posted January 27, 2014 Share Posted January 27, 2014 I'm not seeing any problems. The USPS changes are not supposed to go live until midnight tonight, although it's altogether too likely they have put the changes up early. What version of this Addon are you using?  Regards Jim Quote See my profile for a list of my addons and ways to get support. Link to comment Share on other sites More sharing options...
videod Posted January 27, 2014 Share Posted January 27, 2014 (edited) I am using USPS Rate V4 Intl Rate V2 - v.1.7. Thank you for the quick reply. I know another OScommerce store owner who is also having issues as well. But he is using an earlier version of OScommerce (2,2) and a different version of the USPS module. Edited January 27, 2014 by videod Quote Link to comment Share on other sites More sharing options...
♥kymation Posted January 27, 2014 Share Posted January 27, 2014 That hasn't worked for at least a year. Go get this patched version and install it. You'll need to uninstall your version first, so keep a copy of your settings.  Regards Jim Quote See my profile for a list of my addons and ways to get support. Link to comment Share on other sites More sharing options...
videod Posted January 27, 2014 Share Posted January 27, 2014 (edited) http://addons.oscommerce.com/info/8702 Â That version is for 2.2 ... will that work for 2.3.3? The reason I ask is .. the description for this contribution reads: Â Modified USPS shipping module for osCommerce version 2.2. Includes compatibility with 01/27/13 USPS updates. Â Files included in this contribution were modified from the original contribution found here: http://addons.oscommerce.com/info/8403 Â Not tested for use on 2.3. Â Provides options for all shipping methods, in addition to extra services. Very flexible module and fairly easy to install. Â Support thread: http://www.oscommerce.com/forums/topic/383307-usps-rate-v4-intl-rate-v2-official-support-thread/ Â --------------------------------- Â Thanks Edited January 27, 2014 by videod Quote Link to comment Share on other sites More sharing options...
♥kymation Posted January 27, 2014 Share Posted January 27, 2014 That's the one I'm currently using on several 2.3 stores. It seems to work on both 2.2 and 2.3. I've been maintaining it, although I'm currently coding a replacement module.  Regards Jim Quote See my profile for a list of my addons and ways to get support. Link to comment Share on other sites More sharing options...
videod Posted January 27, 2014 Share Posted January 27, 2014 (edited) Ok, will give it a shot. Thank you! Edited January 27, 2014 by videod Quote Link to comment Share on other sites More sharing options...
videod Posted January 27, 2014 Share Posted January 27, 2014 Was a quick fix, and appears to correct the pricing. So far so good... Will keep an eye on it. Â Thanks again!! Â Dave Quote Link to comment Share on other sites More sharing options...
♥kymation Posted January 27, 2014 Share Posted January 27, 2014 Good news, and thanks for reporting back.  Regards Jim Quote See my profile for a list of my addons and ways to get support. Link to comment Share on other sites More sharing options...
starfox221 Posted January 30, 2014 Share Posted January 30, 2014 Hi Jim, they've updated the API and it's causing issues with standard post. It's trying to pull in the state data apparently, and it's working on some of the zip codes and some are not. It's kind of random right now. I'm not sure how else to explain it really...  Could you please advise?  I'm using MVS shipping on oscommerce 2.2.  Thanks  Fox Quote Link to comment Share on other sites More sharing options...
♥kymation Posted January 30, 2014 Share Posted January 30, 2014 Per the latest API document, Standard Post is only to be used for live animals in zones 1 to 4. I figured that it was enough of a mess that most people wouldn't want to use it. If you really must have it, it's going to require a lot of coding to pull the extra data to fill the new fields. Not fun.  Regards Jim Quote See my profile for a list of my addons and ways to get support. Link to comment Share on other sites More sharing options...
starfox221 Posted January 30, 2014 Share Posted January 30, 2014 (edited) Per the latest API document, Standard Post is only to be used for live animals in zones 1 to 4. I figured that it was enough of a mess that most people wouldn't want to use it. If you really must have it, it's going to require a lot of coding to pull the extra data to fill the new fields. Not fun.  Regards Jim  Oh, bugger. What can we use instead as a sort of default, low cost option? We don't ship any of that live animals or anything. We just ship books and smallish items via USPS, all over the place. Would it be Priority Mail? In our cases it seems Priority Mail is not pulling enough in terms of rates--especially for Hawaii and Alaska.  We're a bit lost in this aspect, I'm sorry. We've been using Standard Post for a long time; it was named something else before that.  Thanks  Fox Edited January 30, 2014 by starfox221 Quote Link to comment Share on other sites More sharing options...
starfox221 Posted January 30, 2014 Share Posted January 30, 2014 Sorry for posting another topic right below my other one but wasn't sure if you'd catch this.  Jim, if enough people need it--I would really appreciate you coding it for standard post to pull the new rates for MVS. I know it's going to be a bear. But I don't think I'm going to be the only one needing it (I could be wrong).  Unfortunately some of our stuff can't be out in the time that Priority Mail is supposed to deliver.  I really wish USPS would stop futzzing around with their API....  Thanks  Fox Quote Link to comment Share on other sites More sharing options...
♥kymation Posted January 30, 2014 Share Posted January 30, 2014 (edited) The USPS has been making a lot of changes lately. I believe that they are trying to get rid of ground shipping except for things that cannot be shipped air, so I'm not going to be surprised when they add more restrictions in July.  You can use Media Mail for books. Check the regulations for any restrictions on that. Anything else can go First class (if 13 ounces or less) or Priority. Some of the Flat Rate boxes might work for small items, but you'll need to compare the cost to regular mail. USPS provides the box for all flat rate and a couple of sizes for Priority, so that's an expense to consider as well. It all depends on the size and weight of the item(s) you're shipping.  In short, things just got a lot more complicated.  Edit: I'm trying to get the new module finished, so any changes are probably going in that one instead. Of course there will be a MVS version as well. Oh that's going to be fun to do. Not.  Regards Jim Edited January 30, 2014 by kymation Quote See my profile for a list of my addons and ways to get support. Link to comment Share on other sites More sharing options...
cocub Posted January 31, 2014 Share Posted January 31, 2014 Good afternoon, I just recently got hired on by an online company that runs OSC. I'm more of a web designer than programmer, but I do know why way around PHP and MySQL. The company is running an older version of OSC 2.2-MS2 and sadly they do not want to upgrade it at the moment. I got presented with an issue with USPS not showing any rates at all. I updated the module and followed the readme.txt to detail and still nothing (USPS Methods Rates V4 Intl Rates V2 - 01-27-13 Update what was used). Unsure how to fix this situation and any help would be awesome! Quote Link to comment Share on other sites More sharing options...
♥kymation Posted January 31, 2014 Share Posted January 31, 2014 The module is known to work, so there's something in your local installation that is preventing it. An old store with many modifications can have any number of compatibility issues. You'll just have to debug it.  You should also let your employer know that this old code is a huge risk. There are a lot of security issues that make it a hacker's dream. Also, if they are using a hosting service, the code will break when the host upgrades their software. You might also mention that maintaining this antique code will cost a lot more than upgrading.  Regards Jim Quote See my profile for a list of my addons and ways to get support. 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.