USPS Rate V4, Intl Rate V2 (official support thread)
#121
Posted 05 April 2012 - 10:10 AM
Problems are most likely to arise either from installation error, configuration error, from outdated php, or some other errors. But, the script works fine, even in 2.2 shops.
There is a debug code in here. It's the one commented line in the usps.php file. Just remove the comment and test the site and check your email for a response. I intentionally set it up so that if it threw an error, the error would not show on the PUBLIC checkout page. Errors shown on a checkout page are tacky, distasteful, and unprofessional. It's not the customer's responsibility to deal with script bugs. It's the webmaster's responsibility. So, if the screen is blank, it's possible that you ARE getting a response, but that the response is an error. Start with that line of code and see what USPS sends you, if anything.
#122 ONLINE
Posted 05 April 2012 - 11:25 PM
Anyway, I have one shop I added "restrict methods" to and have noticed the radio buttons don't stay selected. However the add on still works.
So for example:
Restrict USPS Shipping Methods
First-Class MailRM Parcel
Priority MailRM
Show unchecked, but in the database products>usps products restricted, the data shows correctly as:
First-Class MailRM Parcel, Priority MailRM,
So even if the buttons don't stay checked in the display it works. Yesterday a customer purchased a product I get drop shipped at the fixed rate, and the fixed rate was all that showed.
Again, just feed back.
I remember what it was like when I first started with osC. It can be overwhelming.
However, I strongly recommend considering hiring a professional for extensive site modifications, site cleaning, etc.
There are several good pros here on osCommerce. Look around, you'll figure out who they are.
#123
Posted 06 April 2012 - 12:49 AM
1 issue i saw in the admin area was when i clicked on catalog and that expanded, i saw soem scroll bars around it instead of it being listed like regular. i have attached a screen shot. any ideas?
Attached Files
#124
Posted 06 April 2012 - 01:06 AM
Retail pricing or Online pricing?
Online
mean?
#125 ONLINE
Posted 06 April 2012 - 02:04 AM
GoTTi, on 06 April 2012 - 01:06 AM, said:
Retail pricing or Online pricing?
Online
mean?
I believe that's buying postage at the PO vs buying postage at usps.com. it's cheaper on line.
I remember what it was like when I first started with osC. It can be overwhelming.
However, I strongly recommend considering hiring a professional for extensive site modifications, site cleaning, etc.
There are several good pros here on osCommerce. Look around, you'll figure out who they are.
#126
Posted 06 April 2012 - 02:11 AM
United States Postal Service X lbs, X oz
i dont want that to show
Edited by GoTTi, 06 April 2012 - 02:11 AM.
#127
Posted 06 April 2012 - 02:17 AM
oscas, on 03 April 2012 - 11:42 PM, said:
I use oscommerce as well. We recently had to upgrade our USPS shipping calculator to USPSmethods 6.1a and it does work but First class mail shipping does not work. Does First class mail work (I am in the US and use First Class mail domestic) on your installation? Is so, did you do anything special that you remember to get it to work?
Thank you for your time.
Hi,
Thanks Jetta for helping. I am sorry that this post is about the 6 contribution but I didn't know how else to respond quickly or where. I am still going to try to finish installing this one probably this weekend, tackle the apostrophe as I think that is what is holding me up -- funny escaping it didn't work either in the admin, it had to be spelled out...
6.1It seems to work for me. I ship in the US also and it is my understanding the First Class is 13 oz. or under and anything else is either Parcel Post (or suggested to send, Priority Mail). So perhaps it is just a display issue? When I add an item that is just a few ounces to my cart, what shows is the following as one of the USPS options:
[img]USPS[/img] United States Postal Service (1 pkg, 0.47 lbs total) (
---Delivery Confirmation™
---Approximate delivery time from mailing date 1 day) $4.33 [select]
Which I have been assuming that this is First Class or Parcel Post depending on the weight, it just doesn't say it (you can probably rig an if-then so that it shows appropriately). I may be wrong, but that looks like a First Class rate (I add $1.50 in handling).
Hope this helps,
Kepa
Edited by kepa, 06 April 2012 - 02:20 AM.
#128
Posted 06 April 2012 - 02:27 AM
Checkboxes aren't being autofilled when the page is refreshed? So, if you save it, you lose the previous state and they become unselected, right? That would be a scripting error. I will be looking into that tonight. Thanks for bringing it up.
@GoTTi
Hmmm, cool screenshot. I hate when that happens. Will look into that too and see if I can replicate it.
Retail is counter rates - what you pay at the post office.
Online is commercial rates - what you pay online
Use the rates that actually apply to you because the associated services are also based on how you buy your postage. In other words, don't charge retail rates if you print online unless you plan on going to the post office when someone chooses a service that isn't available online. If you buy online but want a premium rate, then add it to the handling.
You can exclude the weight. Someone asked that in the first day this was contributed, so find page 1 of this thread and the answer is either on that page or the next one.
@kepa
Nope, I'm not answering questions about 6.1. I didn't write it, peeked at the code and it was far too busy for me. So, instead of messing with that, I wrote a new one from scratch. I did contribute USPS methods 5.2.2 though and might not be so hesitant to respond to questions about that one.
#129
Posted 06 April 2012 - 02:44 AM
#130
Posted 06 April 2012 - 02:52 AM
#131
Posted 06 April 2012 - 02:53 AM
#132
Posted 06 April 2012 - 02:55 AM
#133
Posted 06 April 2012 - 06:04 AM
You should find this extremely easy to install.
BUT, I warn you, it will NOT work unless you're on a server running php 5.2 or higher. I didn't change the core data manipulation, just the jquery stuff.
http://addons.oscommerce.com/info/8403
#134
Posted 06 April 2012 - 06:57 AM
#135
Posted 06 April 2012 - 07:42 AM
Also noticed that the debug line wasn't commented. So, I fixed that.
Extra services - If you pay for them, then include them. It'll be calculated and tacked onto the cost of shipping. They aren't optional to the customer in this version. Only optional to the shop owner.
#136
Posted 06 April 2012 - 08:03 AM
I figured the extra services were forced, but I don't see their prices adding to any shipping service.
Edit: Additionally, It doesn't seem the max weight limit is inclusive (not that it really matters since my present workaround is to add 0.001 to the weight.
Edited by a.forever, 06 April 2012 - 08:18 AM.
#137 ONLINE
Posted 06 April 2012 - 09:44 AM
fulluvscents, on 06 April 2012 - 02:27 AM, said:
Checkboxes aren't being autofilled when the page is refreshed? So, if you save it, you lose the previous state and they become unselected, right? That would be a scripting error. I will be looking into that tonight. Thanks for bringing it up.
Jetta, it would be like this. In page edit I restrict some methods, and save. Next time I viist that same product in the edit page, the usps methods I previously checked are unchecked. Or maybe just one is unchecked, but the other checked.
However the restriction still seems to work and in the DB the restrictions show in the appropriate products field.
Thanks
I remember what it was like when I first started with osC. It can be overwhelming.
However, I strongly recommend considering hiring a professional for extensive site modifications, site cleaning, etc.
There are several good pros here on osCommerce. Look around, you'll figure out who they are.
#139
Posted 07 April 2012 - 02:07 AM
#140
Posted 07 April 2012 - 03:39 AM
I looked into that yesterday when I changed the mod around for the 2.2 sites, and realized that I did not add any apostrophes in the db entries. So, I think we are still at a loss on the issue you're having. I was hoping to run into something, but just haven't yet.










