Forums / Addon Shipping Modules / USPS Shipping (RESTful) (USPSr)

USPS Shipping (RESTful) (USPSr)

Sticky

Views: 54,964

Results 381 to 400 of 558
25 Jan 2026, 8:01 AM
#381
retched avatar

retched

Totally Zenned

Join Date:
Jun 2007
Location:
Bronx, New York, United States
Posts:
949
Plugin Contributions:
3

USPS Shipping (RESTful) (USPSr)

jasonshanks:

will the latest version of this plugin make it so i can keep using USPS shipping ? I am on a older zencart 1.5.6 and USPS 2024-07-15-KLLK , just realized today is the dead line for them killing off the web tools api.

Yes. The new version of the module uses the new USPS API V3. That was part of the reason I made it available.

25 Jan 2026, 3:58 PM
#382
jasonshanks avatar

jasonshanks

Zen Follower

Join Date:
Feb 2009
Location:
atlanta GA
Posts:
297
Plugin Contributions:
0

Re: USPS Shipping (RESTful) (USPSr)

thank you so much for making this :) I was able to figure it out last night. this works like a charm!

Zencart 1.5.6c PHP 7.2 Order Replacement AC Adapters and Power Cords Online https://www.missingcord.com

27 Jan 2026, 3:41 AM
#383
retched avatar

retched

Totally Zenned

Join Date:
Jun 2007
Location:
Bronx, New York, United States
Posts:
949
Plugin Contributions:
3

Re: USPS Shipping (RESTful) (USPSr)

jasonshanks:

thank you so much for making this :) I was able to figure it out last night. this works like a charm!

Just remember if you have a heavy traffic site to upgrade the threshold now. It took me about 5 weeks before they finally got back to me and that was after I poked them about it.

27 Jan 2026, 5:00 AM
#384
dbltoe avatar

dbltoe

Totally Zenned

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

Re: USPS Shipping (RESTful) (USPSr)

I had a customer who was "having problems" with the Shipping Estimator. Every time I placed an item in the cart, it worked for me.

"Well, try this one."

The weight was 0.000. Turns out they had 18 items at 0.000 and several at 0.001.

No telling how many in the world have done this, but you might want to put some comment on the estimator about an incorrect weight and advise the user to contact the store owner.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

27 Jan 2026, 5:07 AM
#385
retched avatar

retched

Totally Zenned

Join Date:
Jun 2007
Location:
Bronx, New York, United States
Posts:
949
Plugin Contributions:
3

Re: USPS Shipping (RESTful) (USPSr)

dbltoe:

I had a customer who was "having problems" with the Shipping Estimator. Every time I placed an item in the cart, it worked for me.

"Well, try this one."

The weight was 0.000. Turns out they had 18 items at 0.000 and several at 0.001.

No telling how many in the world have done this, but you might want to put some comment on the estimator about an incorrect weight and advise the user to contact the store owner.

That's... a REALLY weird one. Shocked there wasn't a tare weight. Was the weight 0.000 exact? 0.001 lbs is less than 1 ounce 0.1 ounce o.o . I guess I could it to equal one ounce if it's really small and a non-digital or mixed cart.

27 Jan 2026, 5:28 AM
#386
dbltoe avatar

dbltoe

Totally Zenned

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

Re: USPS Shipping (RESTful) (USPSr)

They have been able to get most of the items really close without tare weights. They do have a USPS truck pickup daily and get a really good rate.

I'm sure it's rare, but it's not difficult to miss a block when adding a product. This client also reused some products that were priced by attribute to become straight products.

Of course, if someone orders two products with only one being 0.00, the warning would have to be per item, which means it should probably be in the core.

I think I'll open a core discussion on that subject.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

27 Jan 2026, 6:00 AM
#387
retched avatar

retched

Totally Zenned

Join Date:
Jun 2007
Location:
Bronx, New York, United States
Posts:
949
Plugin Contributions:
3

Re: USPS Shipping (RESTful) (USPSr)

dbltoe:

They have been able to get most of the items really close without tare weights. They do have a USPS truck pickup daily and get a really good rate.

I'm sure it's rare, but it's not difficult to miss a block when adding a product. This client also reused some products that were priced by attribute to become straight products.

Of course, if someone orders two products with only one being 0.00, the warning would have to be per item, which means it should probably be in the core.

I think I'll open a core discussion on that subject.

Fair enough but I think I have a way in mind the force an error if there is zero weight detected. I'll start working on it when I can.

27 Jan 2026, 6:11 AM
#388
dbltoe avatar

dbltoe

Totally Zenned

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

Re: USPS Shipping (RESTful) (USPSr)

I'm thinking it would be better to be caught before it got to a mod from USPS, UPS, FedEx, DHI, etc.

The shipping modules shouldn't have to deal with all the options. Is the weight 0 because it's a virtual item? Things like that.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

27 Jan 2026, 6:14 AM
#389
retched avatar

retched

Totally Zenned

Join Date:
Jun 2007
Location:
Bronx, New York, United States
Posts:
949
Plugin Contributions:
3

Re: USPS Shipping (RESTful) (USPSr)

dbltoe:

I'm thinking it would be better to be caught before it got to a mod from USPS, UPS, FedEx, DHI, etc.

The shipping modules shouldn't have to deal with all the options. Is the weight 0 because it's a virtual item? Things like that.

That's more or less what I was going for.

"Is this weight zero? Stop and report, even if the report options are turned off."

Odd enough, quotes can still be obtained when the total weight is zero.

29 Jan 2026, 11:36 AM
#390
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,720
Plugin Contributions:
56

Re: USPS Shipping (RESTful) (USPSr)

Do we need to add caching for USPS rates when the cart and destination address hasn't changed ? Several of my clients have reported rate quotes stopping because they hit API limits, and USPS doesn't seem to be terribly responsive in raising the limits.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

29 Jan 2026, 11:47 AM
#391
retched avatar

retched

Totally Zenned

Join Date:
Jun 2007
Location:
Bronx, New York, United States
Posts:
949
Plugin Contributions:
3

Re: USPS Shipping (RESTful) (USPSr)

swguy:

Do we need to add caching for USPS rates when the cart and destination address hasn't changed ? Several of my clients have reported rate quotes stopping because they hit API limits, and USPS doesn't seem to be terribly responsive in raising the limits.

Terribly slow is an understatement, they literally took five weeks for mine and I had to follow up with them. I thought about catching the results but if there's one change in the cart, the results could significantly shift

3 Feb 2026, 4:37 PM
#392
stompbox avatar

stompbox

New Zenner

Join Date:
Jul 2007
Posts:
15
Plugin Contributions:
0

Re: USPS Shipping (RESTful) (USPSr)

I am using zen-cart 1.5.7 and I have uploaded the USPSRestful into zc_plugins. When I go to plugin manager, it does see the plugin, but when I install I just get a blank screen. ApachePHP Version: 8.1.34 (Zend: 4.1.34) MySQL 8.0.45.

Thanks for any help.

Here is what the logs say:

[03-Feb-2026 16:24:22 UTC] Request URI: /zencart/ADMIN_NAME/index.php?cmd=modules&set=shipping&module=usps, IP address: IP_ADDRESS, Language id 1
#0 /home/dir_name/public_html/zencart/ADMIN_NAME/modules.php(338): zen_debug_error_handler()
#1 /home/dir_name/public_html/zencart/ADMIN_NAME/index.php(11): require('/home/dir_name/...')
--> PHP Warning: Undefined variable $mInfo in /home/dir_name/public_html/zencart/ADMIN_NAME/modules.php on line 338.

[03-Feb-2026 16:24:22 UTC] Request URI: /zencart/ADMIN_NAME/index.php?cmd=modules&set=shipping&module=usps, IP address: IP_ADDRESS, Language id 1
#0 /home/dir_name/public_html/zencart/ADMIN_NAME/modules.php(338): zen_debug_error_handler()
#1 /home/dir_name/public_html/zencart/ADMIN_NAME/index.php(11): require('/home/dir_name/...')
--> PHP Warning: Attempt to read property "title" on null in /home/dir_name/public_html/zencart/ADMIN_NAME/modules.php on line 338.

[03-Feb-2026 16:24:22 UTC] Request URI: /zencart/ADMIN_NAME/index.php?cmd=modules&set=shipping&module=usps, IP address: IP_ADDRESS, Language id 1
#0 /home/dir_name/public_html/zencart/ADMIN_NAME/modules.php(358): zen_debug_error_handler()
#1 /home/dir_name/public_html/zencart/ADMIN_NAME/index.php(11): require('/home/dir_name/...')
--> PHP Warning: Undefined variable $mInfo in /home/dir_name/public_html/zencart/ADMIN_NAME/modules.php on line 358.

[03-Feb-2026 16:24:22 UTC] Request URI: /zencart/ADMIN_NAME/index.php?cmd=modules&set=shipping&module=usps, IP address: IP_ADDRESS, Language id 1
#0 /home/dir_name/public_html/zencart/ADMIN_NAME/modules.php(358): zen_debug_error_handler()
#1 /home/dir_name/public_html/zencart/ADMIN_NAME/index.php(11): require('/home/dir_name/...')
--> PHP Warning: Attempt to read property "status" on null in /home/dir_name/public_html/zencart/ADMIN_NAME/modules.php on line 358.

[03-Feb-2026 16:24:22 UTC] Request URI: /zencart/ADMIN_NAME/index.php?cmd=modules&set=shipping&module=usps, IP address: IP_ADDRESS, Language id 1
#0 /home/dir_name/public_html/zencart/ADMIN_NAME/modules.php(403): zen_debug_error_handler()
#1 /home/dir_name/public_html/zencart/ADMIN_NAME/index.php(11): require('/home/dir_name/...')
--> PHP Warning: Undefined variable $mInfo in /home/dir_name/public_html/zencart/ADMIN_NAME/modules.php on line 403.

[03-Feb-2026 16:24:22 UTC] Request URI: /zencart/ADMIN_NAME/index.php?cmd=modules&set=shipping&module=usps, IP address: IP_ADDRESS, Language id 1
#0 /home/dir_name/public_html/zencart/ADMIN_NAME/modules.php(403): zen_debug_error_handler()
#1 /home/dir_name/public_html/zencart/ADMIN_NAME/index.php(11): require('/home/dir_name/...')
--> PHP Warning: Attempt to read property "code" on null in /home/dir_name/public_html/zencart/ADMIN_NAME/modules.php on line 403.

[03-Feb-2026 16:24:22 UTC] Request URI: /zencart/ADMIN_NAME/index.php?cmd=modules&set=shipping&module=usps, IP address: IP_ADDRESS, Language id 1
#0 /home/dir_name/public_html/zencart/ADMIN_NAME/modules.php(410): zen_debug_error_handler()
#1 /home/dir_name/public_html/zencart/ADMIN_NAME/index.php(11): require('/home/dir_name/...')
--> PHP Warning: Undefined variable $mInfo in /home/dir_name/public_html/zencart/ADMIN_NAME/modules.php on line 410.

[03-Feb-2026 16:24:22 UTC] Request URI: /zencart/ADMIN_NAME/index.php?cmd=modules&set=shipping&module=usps, IP address: IP_ADDRESS, Language id 1
#0 /home/dir_name/public_html/zencart/ADMIN_NAME/modules.php(410): zen_debug_error_handler()
#1 /home/dir_name/public_html/zencart/ADMIN_NAME/index.php(11): require('/home/dir_name/...')
--> PHP Warning: Attempt to read property "description" on null in /home/dir_name/public_html/zencart/ADMIN_NAME/modules.php on line 410.

3 Feb 2026, 4:51 PM
#393
retched avatar

retched

Totally Zenned

Join Date:
Jun 2007
Location:
Bronx, New York, United States
Posts:
949
Plugin Contributions:
3

Re: USPS Shipping (RESTful) (USPSr)

stompbox:

I am using zen-cart 1.5.7 and I have uploaded the USPSRestful into zc_plugins. When I go to plugin manager, it does see the plugin, but when I install I just get a blank screen. ApachePHP Version: 8.1.34 (Zend: 4.1.34) MySQL 8.0.45.

Thanks for any help.

Here is what the logs say:

[03-Feb-2026 16:24:22 UTC] Request URI: /zencart/ADMIN_NAME/index.php?cmd=modules&set=shipping&module=usps, IP address: IP_ADDRESS, Language id 1
#0 /home/dir_name/public_html/zencart/ADMIN_NAME/modules.php(338): zen_debug_error_handler()
#1 /home/dir_name/public_html/zencart/ADMIN_NAME/index.php(11): require('/home/dir_name/...')
--> PHP Warning: Undefined variable $mInfo in /home/dir_name/public_html/zencart/ADMIN_NAME/modules.php on line 338.

[03-Feb-2026 16:24:22 UTC] Request URI: /zencart/ADMIN_NAME/index.php?cmd=modules&set=shipping&module=usps, IP address: IP_ADDRESS, Language id 1
#0 /home/dir_name/public_html/zencart/ADMIN_NAME/modules.php(338): zen_debug_error_handler()
#1 /home/dir_name/public_html/zencart/ADMIN_NAME/index.php(11): require('/home/dir_name/...')
--> PHP Warning: Attempt to read property "title" on null in /home/dir_name/public_html/zencart/ADMIN_NAME/modules.php on line 338.

[03-Feb-2026 16:24:22 UTC] Request URI: /zencart/ADMIN_NAME/index.php?cmd=modules&set=shipping&module=usps, IP address: IP_ADDRESS, Language id 1
#0 /home/dir_name/public_html/zencart/ADMIN_NAME/modules.php(358): zen_debug_error_handler()
#1 /home/dir_name/public_html/zencart/ADMIN_NAME/index.php(11): require('/home/dir_name/...')
--> PHP Warning: Undefined variable $mInfo in /home/dir_name/public_html/zencart/ADMIN_NAME/modules.php on line 358.

[03-Feb-2026 16:24:22 UTC] Request URI: /zencart/ADMIN_NAME/index.php?cmd=modules&set=shipping&module=usps, IP address: IP_ADDRESS, Language id 1
#0 /home/dir_name/public_html/zencart/ADMIN_NAME/modules.php(358): zen_debug_error_handler()
#1 /home/dir_name/public_html/zencart/ADMIN_NAME/index.php(11): require('/home/dir_name/...')
--> PHP Warning: Attempt to read property "status" on null in /home/dir_name/public_html/zencart/ADMIN_NAME/modules.php on line 358.

[03-Feb-2026 16:24:22 UTC] Request URI: /zencart/ADMIN_NAME/index.php?cmd=modules&set=shipping&module=usps, IP address: IP_ADDRESS, Language id 1
#0 /home/dir_name/public_html/zencart/ADMIN_NAME/modules.php(403): zen_debug_error_handler()
#1 /home/dir_name/public_html/zencart/ADMIN_NAME/index.php(11): require('/home/dir_name/...')
--> PHP Warning: Undefined variable $mInfo in /home/dir_name/public_html/zencart/ADMIN_NAME/modules.php on line 403.

[03-Feb-2026 16:24:22 UTC] Request URI: /zencart/ADMIN_NAME/index.php?cmd=modules&set=shipping&module=usps, IP address: IP_ADDRESS, Language id 1
#0 /home/dir_name/public_html/zencart/ADMIN_NAME/modules.php(403): zen_debug_error_handler()
#1 /home/dir_name/public_html/zencart/ADMIN_NAME/index.php(11): require('/home/dir_name/...')
--> PHP Warning: Attempt to read property "code" on null in /home/dir_name/public_html/zencart/ADMIN_NAME/modules.php on line 403.

[03-Feb-2026 16:24:22 UTC] Request URI: /zencart/ADMIN_NAME/index.php?cmd=modules&set=shipping&module=usps, IP address: IP_ADDRESS, Language id 1
#0 /home/dir_name/public_html/zencart/ADMIN_NAME/modules.php(410): zen_debug_error_handler()
#1 /home/dir_name/public_html/zencart/ADMIN_NAME/index.php(11): require('/home/dir_name/...')
--> PHP Warning: Undefined variable $mInfo in /home/dir_name/public_html/zencart/ADMIN_NAME/modules.php on line 410.

[03-Feb-2026 16:24:22 UTC] Request URI: /zencart/ADMIN_NAME/index.php?cmd=modules&set=shipping&module=usps, IP address: IP_ADDRESS, Language id 1
#0 /home/dir_name/public_html/zencart/ADMIN_NAME/modules.php(410): zen_debug_error_handler()
#1 /home/dir_name/public_html/zencart/ADMIN_NAME/index.php(11): require('/home/dir_name/...')
--> PHP Warning: Attempt to read property "description" on null in /home/dir_name/public_html/zencart/ADMIN_NAME/modules.php on line 410.

As mentioned in the readme, for 1.5.7: front-side encapsulated modules don't work at all (even with the changes). You have to use the non-encapsulated version. Uninstall the module from the back end and upload the normal/standard method instead.

Please keep in mind the following chart:

3 Feb 2026, 5:05 PM
#394
stompbox avatar

stompbox

New Zenner

Join Date:
Jul 2007
Posts:
15
Plugin Contributions:
0

Re: USPS Shipping (RESTful) (USPSr)

Thank you! But check this out in the getting started page:

https://github.com/retched/ZC-USPSRestful/wiki/Getting-Started#installing

Encapsulated or EPS refers to the module version that will be dropped in and installed in the ZenCart zc_plugins directory. As this is a "catalog-side" module, this will only work with ZenCart's 1.5.8, 2.x, and all newer versions.

That is the reason why I tried this. This line seems to imply it works. I have 1.5.8.

3 Feb 2026, 5:06 PM
#395
retched avatar

retched

Totally Zenned

Join Date:
Jun 2007
Location:
Bronx, New York, United States
Posts:
949
Plugin Contributions:
3

Re: USPS Shipping (RESTful) (USPSr)

stompbox:

Thank you! But check this out in the getting started page:

https://github.com/retched/ZC-USPSRestful/wiki/Getting-Started#installing

Encapsulated or EPS refers to the module version that will be dropped in and installed in the ZenCart zc_plugins directory. As this is a "catalog-side" module, this will only work with ZenCart's 1.5.8, 2.x, and all newer versions.

That is the reason why I tried this. This line seems to imply it works. I have 1.5.8.

Time to edit that one real quick then.

3 Feb 2026, 5:23 PM
#396
retched avatar

retched

Totally Zenned

Join Date:
Jun 2007
Location:
Bronx, New York, United States
Posts:
949
Plugin Contributions:
3

Re: USPS Shipping (RESTful) (USPSr)

retched:

Time to edit that one real quick then.

Done:

Encapsulated or EPS refers to the module version that will be dropped in and installed in the ZenCart zc_plugins directory. ZenCart's Plugin manager will then manage this module's versioning going forward. As this module is a "catalog-side" module, and not an "admin-side" one, this will only work with ZenCart versions 2.x and newer. (For ZenCart 2.0.0 and ZenCart 2.0.1, you need to make some file changes for it to work right.)

5 Feb 2026, 2:08 PM
#397
mikestaps avatar

mikestaps

Zen Follower

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

Re: USPS Shipping (RESTful) (USPSr)

ZenCart 2.1.0
Bootstrap 3.7.5
OPC 2.5.4

I installed the module using the plug in manager, but for some reason it is not showing up... only the old web tools module, and UPS are loading. Proper API credentials were set through USPS, and are showing active on USPS site. Not sure what could be keeping it from working, any ideas?

Thx!

5 Feb 2026, 2:50 PM
#398
retched avatar

retched

Totally Zenned

Join Date:
Jun 2007
Location:
Bronx, New York, United States
Posts:
949
Plugin Contributions:
3

Re: USPS Shipping (RESTful) (USPSr)

mikestaps:

ZenCart 2.1.0
Bootstrap 3.7.5
OPC 2.5.4

I installed the module using the plug in manager, but for some reason it is not showing up... only the old web tools module, and UPS are loading. Proper API credentials were set through USPS, and are showing active on USPS site. Not sure what could be keeping it from working, any ideas?

Thx!

Did you enabled the module in the shipping modules listing as well? Additionally, what credentials are you using? If you had WebTools, you CANNOT use the WebTools credentials on this.

5 Feb 2026, 6:18 PM
#399
mikestaps avatar

mikestaps

Zen Follower

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

Re: USPS Shipping (RESTful) (USPSr)

retched:

Did you enabled the module in the shipping modules listing as well? Additionally, what credentials are you using? If you had WebTools, you CANNOT use the WebTools credentials on this.

Current Settings:
Attachment 21160

With Current Settings:
Attachment 21161

With USPS Web Tools Module turned "off":
Attachment 21162
I have the correct API keys input in the module

5 Feb 2026, 6:20 PM
#400
retched avatar

retched

Totally Zenned

Join Date:
Jun 2007
Location:
Bronx, New York, United States
Posts:
949
Plugin Contributions:
3

Re: USPS Shipping (RESTful) (USPSr)

mikestaps:

Current Settings:
Attachment 21160

With Current Settings:
Attachment 21161

With USPS Web Tools Module turned "off":
Attachment 21162
I have the correct API keys input in the module

Can you send me a DM with a pastebin link with your debug file from the module? (I need the FULL file... please do not try to edit or redact anything.)