Jump to content

naps1saps

Members
  • Content count

    59
  • Joined

  • Last visited

  • Days Won

    1

naps1saps last won the day on March 5 2016

naps1saps had the most liked content!

1 Follower

Profile Information

  • Real Name
    Greg Deeth
  • Gender
    Male
  • Location
    Seattle, WA
  1. naps1saps

    Access Cart SubTotal from ups.php?

    Find: global $order; and change to: global $order, $cart; That will give you access to $cart and functions.
  2. naps1saps

    USPS Rate V4, Intl Rate V2 (official support thread)

    So first off, I want to say thank you to the community for keeping up with this module. Second, I want to say thank you to the developer for keeping my original idea alive for weight thresholds for shipping services since my work on v3 API Good job and this is much better than I could have done so kudos! Love the idea to use the store owner email. I posted an update once and left my email in the module code. OOPS! With this change it will never happen again :) Lastly, I want to apologize for ditching the community after changing to v3 and never finishing the module. But I'm glad someone took over and they did a good job.
  3. naps1saps

    [Contribution] - USPS Methods

    So I came back after a few years with my store shut down and am starting up my store again. Since my server died last year, I had to reload everything due to new hardware. Things sure have changed since 2008. Sorry about abandoning you all. Now im kinda lost where everything is in this module. I need some way to change what shipping methods are being used when different product attributes are selected. example: small sticker -> first class letter, flat rate priority large sticker -> first class large envelope, flat rate priority extra large sticker -> parcel options (priority package, parcel post, first class package, ...) Anyone know where to start coding this? it doesn't need to be pretty. hard coded is fine. Any help is greatly appreciated.
  4. naps1saps

    [Contribution] - USPS Methods

    What weight is separated? When I was thinking of separating weight, I wanted to use an ounce and pound value for products. This doesn't seem to be the case.
  5. naps1saps

    [Contribution] - USPS Methods

    You should always edit your files with notepad. if it looks like garbage without returns, open it in wordpad, save, then open in notepad. That will decode the returns into something notepad recognizes. Notepad is a character editor, wordpad encodes the file for character attributes (bold, underline, ...). If you paste something into wordpad, the formatting is pasted as well like size, font, ... Notepad just pastes the characters, that's all. This should keep your files readable no matter what code you are pasting into it. I took a quick look and I think this is what it is called: It is called "First Class Mail International" domestic is called "First Class Mail"
  6. naps1saps

    [Contribution] - USPS Methods

    I havn't been checking up on you guys lately. Has everyone gotten v4.3.0 to work properly? I've read all the posts and it seems it is okay except for the lengthy install document which confuses some people to miss steps. I'm going to look at Olson's v3 with separate ounces and pounds and try to steal his work. lol, just kidding. I'll give you credit. I'll look into the above error.
  7. naps1saps

    [Contribution] - USPS Methods

    Ugh... It's really hard to try and troubleshoot when my OSCommerce installation doesn't have those errors. I am using the same module everyone else is using and it works perfectly (for me). So If you're having problems and need it to work "yesterday", please use the previous version untill I can work out the kinks in this Beta with the "Beta Testers". I appreciate everyone's involvement but please be patient with me as college has just started and I'm taking online courses, school courses, working one job, and trying to run a business all at the same time.
  8. naps1saps

    [Contribution] - USPS Methods

    Maybe I should take out the password field too.
  9. naps1saps

    [Contribution] - USPS Methods

    Is this an intermittent problem or does this happen every time? If intermittent and if you click refresh, does the page load immediately? If yes, this could be a problem with either your server's network connection or your host's network connection. I had a simmilar problem but found that my router was reseting itself every 20 minutes causing intermittent havoc. I also run into the problem when loading the page too many times. If this is happening every time, check in usps.php and comment out the email forward code. I can't remember if v4.1.4 was commented out by default. If this doesn't work, try using v4.2.x and replace your language file too. It could be that your server is trying to connect to localhost.com and is having a conflict of some kind, but I doubt it. It seems like I've had this problem before but I can't remember what I was doing to cause it.
  10. naps1saps

    [Contribution] - USPS Methods

    I know USPS made some changes to the name of services on May 12th. v3.0 uses USPS version 2 API. If you can get version 3.0 to work, you can get 4.2.x to work because there were no changes to the files. Just make sure you replace the language file with the one that comes with it.
  11. naps1saps

    [Contribution] - USPS Methods

    It looks like there is something wrong with the code that gets values from the database hence the "Array, Array, Array, etc." values. It looks like you made the changes to the admin/includes/functions/general.php file. I wish I could see your database. Do you know how to find this in your database? I don't have enough time right this second to get the location. I'll respond in about 5hours. Try putting values in every single box, then save and see what it does. The code that saves it just gets the values from all the boxes and puts them in the database, so there should be no array involved in that. The problem must be in that function file: admin/includes/functions/general.php.
  12. naps1saps

    [Contribution] - USPS Methods

    Check that your weight is not over 13oz. Or use the email function in USPS.php. do a search for @, put your email in, and remove the //. It will email the usps response so you can see any errors it has. To use v.4.3.0-> In the installation text towards the bottom, there are instructions on how to modify your files so the new USPS module will work. The error you listed looks like you didn't modify your files yet. I'm not sure if you need the mysql update or not, but try adding the things to the files and then try the module. To work in mysql, you need to open the command line for mysql, type your password, then go to the database you are using for your store by typing: use "your store's database"; (without quotes) Then just copy and paste the sql query/code into the mysql window and press enter.
  13. naps1saps

    [Contribution] - USPS Methods

    Some of that went over my head. The thresholds were in the code before but are now in the admin section. It is not item sensitive, just total weight sensitive. Basically the code for each domestic type is: if (4 < total weight <= 5) then {set options / NOTHING} else {Change the name so it doesn't get added to the shipping options list}. It's not the best way to do it, but it works. The international shipping doesn't seem to go through the same process as domestic so I've had some trouble because the method is completely different. I do understand that the multiple package calculation is very bad. I'll see what I can do to make it look at different items in the cart and do its own total package weight calculations. I know the API can handle multiple packages of the same type, so it's possible. I think I'd have to change a lot of code around to make it work though. I wonder if PHP has a matrix / spread sheet style array? This would help a lot. I have an idea for item specific shipping methods: I could put two drop down boxes in the new items page that would handle simmilar to the tax option method.
  14. naps1saps

    [Contribution] - USPS Methods

    Not quite, but that is one of several goals of mine. My usage of GUI means you don't need to go into USPS to change options in the code, you can now change things in the admin panel. The weight thresholds when used, works like this: If the total weight of the package is within the range specified for a shipping type, it should be visible. If not, it won't show up. I'm not sure how this is going to work with multiple packages, but it's kind of cool. BTW: I uploaded it last night so everyone can play with it. I didn't test the insurance part again, so I'm afrade it might have a slight bug because of the change to the handling charge variable. The v3 API will automatically calculate international insurance based on cost submitted, but doesn't calculate domestic insurance automatically. It still has to be done manually, what a drag! Please take a look at it and tell me what you think so far. But what you were saying about having "product classes" is something I have thought about. I still need to find out where catalog product's weight configuration is rounded to 2 decimals. I have traced all the functions and have come up with nothing that implies rounding. Would the database round the data when it's saved? To get around the issue, I wanted to have a pound and ounce input field for catalog products.
  15. naps1saps

    [Contribution] - USPS Methods

    Thanks, Corey! I was starting to think I was the only one answering questions. Good news everyone! I know you've all been waiting for a long time. I am putting the final touches on a new release! YEAY! It should be uploaded anytime now. Domestic only so far... :( It has :) dedicated priority flat rate envelope It has :) dedicated priority flat rate box It has :) dedicated priority standard It has B) GUI weight Thresholds for FirstClass Mail Types! It has B) Independent GUI weight Thresholds for all 3 Priority Types! It has B) GUI weight Thresholds for 3 Parcel Post Size Types It has :D Independent GUI weight Thresholds for all other mail types. These weight thresholds turn on and off shipping options/methods at certain weights. And now it has GUI Handling charge options for each domestic group type COMING SOON :o : all of the above for International! And also a tare weight section for each shipping group type. I had to add some stuff to the /admin/includes/functions/general.php file and /includes/functions/general.php file just to give everyone a heads up.
×