Zen Cart Logo
Forums / Addon Shipping Modules / USPS Shipping Module [Support Thread]

USPS Shipping Module [Support Thread]

Sticky

Views: 77,352

Results 321 to 340 of 447
24 Jul 2023, 3:54 PM
#321
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

USPS Shipping Module [Support Thread]

After more digging and testing various methods, I noticed this: https://screenrec.com/share/l0u321YEM7

What's up with Commercial rates?

The problem I'm trying to solve is the USPS Shipping Estimator is returning $11 and this is what Zen Cart displays. But USPS postage is only $7.85

24 Jul 2023, 5:05 PM
#322
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,096
Plugin Contributions:
56

Re: USPS Shipping Module [Support Thread]

Commercial rates' return requires that the USPS shipping module be configured to provide 'online' vs. 'retail' rates.

24 Jul 2023, 6:18 PM
#323
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: USPS Shipping Module [Support Thread]

lat9:

Commercial rates' return requires that the USPS shipping module be configured to provide 'online' vs. 'retail' rates.

I get the same Advantage Ground rate for both online and retail. Priority Mail rates change, but not Advantage Ground.

24 Jul 2023, 6:28 PM
#324
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,096
Plugin Contributions:
56

Re: USPS Shipping Module [Support Thread]

Do you use a "Shipper Number"? I think, but don't know for certain, but I think that's required for Commercial Rates to be returned.

24 Jul 2023, 6:45 PM
#325
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: USPS Shipping Module [Support Thread]

lat9:

Do you use a "Shipper Number"? I think, but don't know for certain, but I think that's required for Commercial Rates to be returned.

On the USPS website, I don't think so and don't see one. It's just my personal USPS account I've used for many, many years.

I assume you are not referring the to USPS Web Tools User ID, which is being used in the plugin settings.

24 Jul 2023, 9:09 PM
#326
njcyx avatar

njcyx

Zen Follower

Join Date:
Apr 2019
Posts:
367
Plugin Contributions:
0

Re: USPS Shipping Module [Support Thread]

jeking:

I get the same Advantage Ground rate for both online and retail. Priority Mail rates change, but not Advantage Ground.

I just tried it on my end. I have the same "feature". When I change between online rate and retail rate, Ground advantage shows the same rate, but priority mail shows the different rate.

It looks like there is no "Shipper Number" in this plug-in settings. I can only find "USPS Web Tools User ID" there. I haven't changed USPS API/account side for many years.

24 Jul 2023, 11:19 PM
#327
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,096
Plugin Contributions:
56

Re: USPS Shipping Module [Support Thread]

njcyx:

I just tried it on my end. I have the same "feature". When I change between online rate and retail rate, Ground advantage shows the same rate, but priority mail shows the different rate.

It looks like there is no "Shipper Number" in this plug-in settings. I can only find "USPS Web Tools User ID" there. I haven't changed USPS API/account side for many years.
Sigh, too many shipping methods changed over the past few weeks; you're right, the "Shipper Number" is a UPS thing.

25 Jul 2023, 1:34 PM
#328
mikestaps avatar

mikestaps

Zen Follower

Join Date:
Aug 2010
Location:
Grand Blanc, MI
Posts:
305
Plugin Contributions:
1

Re: USPS Shipping Module [Support Thread]

I am getting an odd error message on the Admin shipping module screen:

ERROR: module not loaded due to missing language file: xxx/store/includes/languages/english/modules/shipping/uspsXmlTest.php

USPS is showing during checkout, so I'm not sure if this is an issue or not...

25 Jul 2023, 2:13 PM
#329
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,096
Plugin Contributions:
56

Re: USPS Shipping Module [Support Thread]

mikestaps:

I am getting an odd error message on the Admin shipping module screen:

ERROR: module not loaded due to missing language file: xxx/store/includes/languages/english/modules/shipping/uspsXmlTest.php

> USPS is showing during checkout, so I'm not sure if this is an issue or not...
Nothing to do with the USPS module; you've apparently got a module named /includes/modules/shipping/uspsXmlTest.php on the site.  Just rename that module to have a **.php.test** file-extension so it won't attempt to load.
25 Jul 2023, 2:13 PM
#330
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: USPS Shipping Module [Support Thread]

That's telling you a file is missing. Check your installation to be sure that file is in that location.

25 Jul 2023, 2:39 PM
#331
mikestaps avatar

mikestaps

Zen Follower

Join Date:
Aug 2010
Location:
Grand Blanc, MI
Posts:
305
Plugin Contributions:
1

Re: USPS Shipping Module [Support Thread]

lat9:

Nothing to do with the USPS module; you've apparently got a module named /includes/modules/shipping/uspsXmlTest.php on the site. Just rename that module to have a .php.test file-extension so it won't attempt to load.

That fixed it, thanks. That must have been left behind from back when I was having with 1st class not showing. ¯_(ツ)_/¯

jeking:

That's telling you a file is missing. Check your installation to be sure that file is in that location.

Yes, sir. That was the first thing I checked. I even added a blank file with that naming, but that didn't work out so well...

27 Jul 2023, 7:14 PM
#332
wcbutler avatar

wcbutler

New Zenner

Join Date:
Sep 2017
Location:
Raleigh, NC, United States
Posts:
81
Plugin Contributions:
0

Re: USPS Shipping Module [Support Thread]

Not here for support (hopefully). Realized all my first class options were broken because someone ordered priority mail, so fixing the module with i. Appreciate your quick fix @lat9

7 Aug 2023, 7:26 PM
#333
helenewallis avatar

helenewallis

Totally Zenned

Join Date:
Jun 2016
Location:
Suffolk VA
Posts:
625
Plugin Contributions:
0

Re: USPS Shipping Module [Support Thread]

jeking:

Just an observation, in case anyone else comes across the same issue.

The rate returned for Ground Advantage is not the actual postage rate. Let me explain.

A 1.2 pound shipment is returning $11 for Ground Advantage using this module.
Using the USPS website postage calculator also returns $11.
Using the USPS website to actually print the postage is $7.85.

I believe the error is on the USPS end, but wanted to post in case anyone is seeing this and wondering about the discrepancy.

I'm having the same issue, except that Shipstation is showing a much lower rate than what our customers are being charged. Tare is zero and even if we eliminated our very small handling charge, our customers' cost is several dollars above what we're being charged.

I tried changing from Online to Retail, and everything except Ground Advantage went up by a couple of dollars. Ground Advantage stayed the same, and in that setting, it was the least expensive. But when I went back to Online and the other prices went back down, Ground Advantage was more expensive than several of the Priority Mail services, when it should have been less expensive. I don't see any way to correct this.

8 Aug 2023, 8:10 PM
#334
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,799
Plugin Contributions:
15

Re: USPS Shipping Module [Support Thread]

HeleneWallis:

I'm having the same issue, except that Shipstation is showing a much lower rate than what our customers are being charged. Tare is zero and even if we eliminated our very small handling charge, our customers' cost is several dollars above what we're being charged.

I tried changing from Online to Retail, and everything except Ground Advantage went up by a couple of dollars. Ground Advantage stayed the same, and in that setting, it was the least expensive. But when I went back to Online and the other prices went back down, Ground Advantage was more expensive than several of the Priority Mail services, when it should have been less expensive. I don't see any way to correct this.

What are your settings in Configuration >> Shipping/Packaging for Package Tare Small to Medium and Larger Packages?

9 Aug 2023, 6:42 PM
#335
helenewallis avatar

helenewallis

Totally Zenned

Join Date:
Jun 2016
Location:
Suffolk VA
Posts:
625
Plugin Contributions:
0

Re: USPS Shipping Module [Support Thread]

dbltoe:

What are your settings in Configuration >> Shipping/Packaging for Package Tare Small to Medium and Larger Packages?

Zero for both.

9 Aug 2023, 9:25 PM
#336
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,799
Plugin Contributions:
15

Re: USPS Shipping Module [Support Thread]

Something is just not making sense as I have checked several of our clients and, when in retail, all match the non-loggedin price of USPS. When set to online, they are matching USPS rates when logged in and the rates provided by stamps.com. I don't have access to a site using shipstation. I will note that all the sites are zeroed out for tares in both the admin configuration and the USPS mod.

:dontgetit

10 Aug 2023, 2:25 AM
#337
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: USPS Shipping Module [Support Thread]

dbltoe:

Something is just not making sense as I have checked several of our clients and, when in retail, all match the non-loggedin price of USPS. When set to online, they are matching USPS rates when logged in and the rates provided by stamps.com. I don't have access to a site using shipstation. I will note that all the sites are zeroed out for tares in both the admin configuration and the USPS mod.

:dontgetit

Maybe it has something to do with the Webtools ID?? I'd be willing to trade and test to see if that's a factor. DM if interested and willing.

10 Aug 2023, 3:11 AM
#338
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,799
Plugin Contributions:
15

Re: USPS Shipping Module [Support Thread]

Maybe it's USPS as I cannot get it to give me a Ground Advantage option unless I am logged in to my USPS account.

I'll check in with USPS again tomorrow.

12 Aug 2023, 5:32 PM
#339
jeff_mash avatar

jeff_mash

Totally Zenned

Join Date:
Aug 2004
Posts:
732
Plugin Contributions:
0

Re: USPS Shipping Module [Support Thread]

I am seeing the following error in the logs:

[12-Aug-2023 05:58:41 America/Los_Angeles] Request URI: /store/index.php?main_page=checkout_one, IP address: 129.222.137.108, Language id 1
#1  usps->quote() called at [/home/domain/public_html/store/includes/classes/shipping.php:201]
#2  shipping->quote() called at [/home/domain/public_html/store/includes/modules/pages/checkout_one/header_php.php:222]
#3  require(/home/domain/public_html/store/includes/modules/pages/checkout_one/header_php.php) called at [/home/domain/public_html/store/index.php:35]
--> PHP Warning: A non-numeric value encountered in /home/domain/public_html/store/includes/modules/shipping/usps.php on line 779.

That part of the USPS.php code deals with Handling Fees. I noticed that this customer is from Canada, and our USPS Handling Fee for International customers was "BLANK". I have gone ahead and put a "0" in the field to see if that corrects the issue, but wanted to log it here just in case having a "blank" handling fee value was causing the non-numerical error in line 779.

12 Aug 2023, 8:11 PM
#340
helenewallis avatar

helenewallis

Totally Zenned

Join Date:
Jun 2016
Location:
Suffolk VA
Posts:
625
Plugin Contributions:
0

Re: USPS Shipping Module [Support Thread]

dbltoe:

Something is just not making sense as I have checked several of our clients and, when in retail, all match the non-loggedin price of USPS. When set to online, they are matching USPS rates when logged in and the rates provided by stamps.com. I don't have access to a site using shipstation. I will note that all the sites are zeroed out for tares in both the admin configuration and the USPS mod.

:dontgetit

I don't see how this has anything to do with ShipStation. Our ShipStation rates (when we use ShipStation to print labels) are correct. Zencart doesn't interact with ShipStation to pull up rates for the customer--those come from USPS. Agreed, makes no sense.