Page 3 of 4

Re: USPS Shipping Troubles

Posted: Fri Sep 09, 2011 8:38 am
by pursejewelry
Qphoria wrote:It addresses all issues.. they are one and the same.
Hello,
Any luck with the USPS updated code?

Thanks

Re: USPS Shipping Troubles

Posted: Sat Sep 24, 2011 6:23 am
by jackelope
I have the same issue (running 1.5.1)

most of my packagers are < 4 oz (i sell decals), but i don't want to force customers to not have the option to select Priority Mail if they are in a hurry..
.. but i don't want them choosing the 'infamous' postcards for $0.29 either. Of course, if they choose that option, I could 'stick' their decal on the postcard and mail it :P

** i've just set "Domestic First Class Rate Type:" to Parcel for the now

Re: USPS Shipping Troubles

Posted: Sat Sep 24, 2011 1:39 pm
by average_joe
which patch should I get?

I am currently running opencart v1.5.1.1

Re: USPS Shipping Troubles

Posted: Sat Sep 24, 2011 1:50 pm
by pursejewelry
average_joe wrote:which patch should I get?

I am currently running opencart v1.5.1.1
As far as I know it hasn't been fixed yet. Waiting on Global Moderator Qphoria to fix it. I'm running 1.4.9.4. It also has more issues than the postcard issue.

Re: USPS Shipping Troubles

Posted: Sat Sep 24, 2011 10:09 pm
by Qphoria
it only has one issue and its the same issue as I've mentioned already.
http://forum.opencart.com/viewtopic.php ... 20#p190942

It has fallen back on my list of things to do but I have only one more thing ahead of it and I will fix it.

Re: USPS Shipping Troubles

Posted: Thu Sep 29, 2011 4:26 am
by Qphoria
Ok, I've fixed this issue now and it will be in the upcoming 1.5.1.3
You can download the fixed version here:
http://forum.opencart.com/viewtopic.php ... 09#p202309

Re: USPS Shipping Troubles

Posted: Fri Sep 30, 2011 8:55 pm
by zelda
Qphoria wrote:Ok, I've fixed this issue now and it will be in the upcoming 1.5.1.3
You can download the fixed version here:
http://forum.opencart.com/viewtopic.php ... 09#p202309
Hi
I using 1.5.1.2....had the first class mail problem with the first class options missing for US domestic mail....Did the new patch....Did a test purchase on a 2oz item....went through check out....no 1st class mail options just priority mail in the front end. Checked all my back end settings and they appear to be right... what am I missing...I must have something messed up. Your help is needed
Thank you

Re: USPS Shipping Troubles

Posted: Fri Sep 30, 2011 9:00 pm
by Qphoria
zelda wrote:
Qphoria wrote:Ok, I've fixed this issue now and it will be in the upcoming 1.5.1.3
You can download the fixed version here:
http://forum.opencart.com/viewtopic.php ... 09#p202309
Hi
I using 1.5.1.2....had the first class mail problem with the first class options missing for US domestic mail....Did the new patch....Did a test purchase on a 2oz item....went through check out....no 1st class mail options just priority mail in the front end. Checked all my back end settings and they appear to be right... what am I missing...I must have something messed up. Your help is needed
Thank you
You are sure you checked the boxes for the new firstclass options? You may need to resave the usps configuration to clear out the old settings.

I just double checked and it is working fine for me on my test site. Try for yourself here:
http://unbannable.com/v15x
demo@demo.com / demo
Add the "Macbook air" to the cart as it is 10oz
It should show "first class package" in the list of shipping options when choosing the california addresses

Re: USPS Shipping Troubles

Posted: Sat Oct 01, 2011 12:07 am
by jackelope
works great, thanks Q! ;D

*I'm using v1.5.1

Re: USPS Shipping Troubles

Posted: Sat Oct 01, 2011 1:17 pm
by zelda
Qphoria wrote:
zelda wrote:
Qphoria wrote:Ok, I've fixed this issue now and it will be in the upcoming 1.5.1.3
You can download the fixed version here:
http://forum.opencart.com/viewtopic.php ... 09#p202309
Hi
I using 1.5.1.2....had the first class mail problem with the first class options missing for US domestic mail....Did the new patch....Did a test purchase on a 2oz item....went through check out....no 1st class mail options just priority mail in the front end. Checked all my back end settings and they appear to be right... what am I missing...I must have something messed up. Your help is needed
Thank you
You are sure you checked the boxes for the new firstclass options? You may need to resave the usps configuration to clear out the old settings.

I just double checked and it is working fine for me on my test site. Try for yourself here:
http://unbannable.com/v15x
demo@demo.com / demo
Add the "Macbook air" to the cart as it is 10oz
It should show "first class package" in the list of shipping options when choosing the california addresses
Hi,
I double checked the boxes and re-checked and saved...my settings are regular....variable.... no....Did a test check out and now parcel has been added but still no first class....All first class boxes re-checked and saved but still no first class.
Thank you

I did a test purchase and I do see that your shipping options are working...mine are not...I don't know what the difference is.

I am still running 1.4.9.5 on a sub-domain and it has a setting
Domestic First Class Rate Type:
First class applies to 13oz packages or less. When disabled, standard premium rates are returned. I don't see that option in my 1.5.1.2 version was that removed?

Re: USPS Shipping Troubles

Posted: Sat Oct 01, 2011 8:00 pm
by pursejewelry
zelda wrote:
Qphoria wrote:Ok, I've fixed this issue now and it will be in the upcoming 1.5.1.3
You can download the fixed version here:
http://forum.opencart.com/viewtopic.php ... 09#p202309
Hi
I using 1.5.1.2....had the first class mail problem with the first class options missing for US domestic mail....Did the new patch....Did a test purchase on a 2oz item....went through check out....no 1st class mail options just priority mail in the front end. Checked all my back end settings and they appear to be right... what am I missing...I must have something messed up. Your help is needed
Thank you
Hello,
Running 1.4.9.4. I did all the updates as specified and I still do not get the First Class Shipping option for a .19 lb package, only the Premium Mail Services listed. See below. I do see it works on your test page but it's still not working for my version. Do you have a test version working for 1.4.9.4?

United States Postal Service (Weight: 0.19lb)
Priority Mail $5.10
Express Mail $13.25
Express Mail Sunday/Holiday Delivery $25.75

Re: USPS Shipping Troubles

Posted: Sun Oct 02, 2011 3:04 am
by Qphoria
zelda wrote: I am still running 1.4.9.5 on a sub-domain and it has a setting
Domestic First Class Rate Type:
First class applies to 13oz packages or less. When disabled, standard premium rates are returned. I don't see that option in my 1.5.1.2 version was that removed?
Yes that was the "Fake fix" that was in the code previously. The real fix removes that extra line.
Perhaps you have to check "Machinable" to true

Re: USPS Shipping Troubles

Posted: Wed Oct 05, 2011 7:37 am
by zelda
Qphoria wrote:
zelda wrote: I am still running 1.4.9.5 on a sub-domain and it has a setting
Domestic First Class Rate Type:
First class applies to 13oz packages or less. When disabled, standard premium rates are returned. I don't see that option in my 1.5.1.2 version was that removed?
Yes that was the "Fake fix" that was in the code previously. The real fix removes that extra line.
Perhaps you have to check "Machinable" to true
Hi Qphoria,
Sorry for the delay been very busy updating the v1.5.1.2...I tried your suggestion to change it to true but true was not there...it was either yes or no. I changed it to yes....rechecked the first class boxes...did a test purchase and had the same thing...no first class options at this point. Just priority and parcel mail. I also noticed that the Parcel post shipping was nearly double the priority flat small box was....Parcel post is about the cheapest way to ship larger items. The item I was testing only weighed about 3 oz. Any other ideas?
Thank you

Re: USPS Shipping Troubles

Posted: Wed Oct 05, 2011 2:53 pm
by mayfld
I upgraded from v1.5.1.2 to to v1.5.1.3.1 today and everything worked fine except for the USPS shipping changes. I even tried reinstalling and it would not display any first class mail prices. It did display a priority mail price. What is strange is that as soon as I edited the USPS configuration Tax Class to what I have setup as Taxable Goods, the USPS shipping quit working. It would no longer display any shipping options and you can no longer checkout since it can't display any shipping options for a customer to select. It was working fine in v1.5.1.2. I did turn on Debug just to verify that amounts were being returned. For some reason it can't display any of the amounts being returned.

I can see that it works on the test web site that Qphoria mentioned, but it sure doesn't work for me with a fresh install or with an upgrade to the newest version. I've tried numerous different config options for the last several hours and most of the different combinations will not display any USPS shipping charges and it also stops any other shipping charges from being displayed. Any ideas as to why the returned amounts won't display?

UPDATE: I finally figured out what is causing the problem. I have UPS and USPS as my shipping options. If I disable UPS, the USPS shipping amounts will display. If both UPS and USPS is turned on, no shipping options will display.

Re: USPS Shipping Troubles

Posted: Thu Oct 06, 2011 8:24 pm
by average_joe
I'm using the USPS module, and in my error log, for international shipping, i get the error that reads, "Width must be a number greater than 0."

i'm not entirely sure what the problem is..

Re: USPS Shipping Troubles

Posted: Thu Oct 06, 2011 9:49 pm
by Qphoria
average_joe wrote:I'm using the USPS module, and in my error log, for international shipping, i get the error that reads, "Width must be a number greater than 0."

i'm not entirely sure what the problem is..
There are dimension params in the admin area.. looks like you left blank
Set to 5x5x5

Re: USPS Shipping Troubles

Posted: Sat Oct 08, 2011 6:51 am
by zelda
average_joe wrote:I'm using the USPS module, and in my error log, for international shipping, i get the error that reads, "Width must be a number greater than 0."

i'm not entirely sure what the problem is..
Ok I just upgraded to 1.5.1.3 and still have the first class mail not showing up. I guess that I got skipped on this very important issue. Can some help me figure this one out?
Thank you.

Re: USPS Shipping Troubles

Posted: Sat Oct 08, 2011 7:42 am
by batgrl
I just upgraded to 1.5.1.3
But I continue to have the same problem. "Error: No Shipping options are available. Please contact us for assistance!."

I cannot get a quote, can't get past #4 in the checkout process.

Do I still need your patch, or was the upgrade supposed to fix that?

Re: USPS Shipping Troubles

Posted: Sat Oct 08, 2011 1:42 pm
by mayfld
zelda wrote:Ok I just upgraded to 1.5.1.3 and still have the first class mail not showing up. I guess that I got skipped on this very important issue. Can some help me figure this one out?
Thank you.
Just out of curiosity, do you have the UPS shipping module turned on? I've only found 2 ways to get first class mail to show up for me. Disable UPS shipping in the new release or replace the 5 shipping files in v1.5.1.3 with the ones from v1.5.1.2. I've posted a message in the bug forum about this a couple of days ago, but I have not seen any replies confirming this bug.

Re: USPS Shipping Troubles

Posted: Sun Oct 09, 2011 3:14 am
by Qphoria
mayfld wrote:
zelda wrote:Ok I just upgraded to 1.5.1.3 and still have the first class mail not showing up. I guess that I got skipped on this very important issue. Can some help me figure this one out?
Thank you.
Just out of curiosity, do you have the UPS shipping module turned on? I've only found 2 ways to get first class mail to show up for me. Disable UPS shipping in the new release or replace the 5 shipping files in v1.5.1.3 with the ones from v1.5.1.2. I've posted a message in the bug forum about this a couple of days ago, but I have not seen any replies confirming this bug.
Confirmed. This is because of the new price sorting function that I put into both shipping options. Didn't realize it would leave them loaded. So it actually errors out if they are both enabled. This is in 1.5.1.3 only.

The fix:
1. EDIT: catalog/model/shipping/ups.php

2. FIND:
function comparecost ($a, $b) {
return $a['cost'] > $b['cost'];
}
uasort($quote_data, 'comparecost');
3. REPLACE WITH:
2. FIND:
function upscomparecost ($a, $b) {
return $a['cost'] > $b['cost'];
}
uasort($quote_data, 'upscomparecost');
Firstclass rates however are working fine when using usps alone or after you make this fix. Be sure you've selected them in the admin area. Be sure your dimensions aren't more than 10x10x10x10