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

USPS Shipping Module [Support Thread]

Sticky

Views: 77,349

Results 381 to 400 of 447
18 Jun 2024, 3:05 PM
#381
mattie_c avatar

mattie_c

New Zenner

Join Date:
Sep 2006
Posts:
39
Plugin Contributions:
0

USPS Shipping Module [Support Thread]

I got the USPS credentials from the FIRST-TIME SETUP INSTRUCTIONS but can't install or enter the Username or Password.
I installed "usps-USPS_2024_02_14_K11j" and I get an error "The USPS shipping-module is installed, but requires a valid USERID and PASSWORD to receive USPS quotes......." and the box on the right where you install etc. is missing.
This is a new installation using:
Zen Cart v2.0.1
Bootstrap Template Version: 3.7.0
Database Engine: MySQL 5.7.23-23
PHP Version: 8.3.6 (Zend: 4.3.6)
Attachment 20661

18 Jun 2024, 5:29 PM
#382
lat9 avatar

lat9

Administrator

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

Re: USPS Shipping Module [Support Thread]

Looks like a log was generated. Would you install (if not already) the Display Logs plugin and post the contents of that myDEBUG-adm*.log? Remember to xxx-out the name of your admin directory, since it'll be exposed in the log file's contents.

18 Jun 2024, 5:51 PM
#383
mattie_c avatar

mattie_c

New Zenner

Join Date:
Sep 2006
Posts:
39
Plugin Contributions:
0

Re: USPS Shipping Module [Support Thread]

Thanks for the reply lat9!
Hopefully this is what you are asking for:

[18-Jun-2024 07:33:56 America/Los_Angeles] PHP Fatal error: Uncaught Error: Undefined constant "MODULE_SHIPPING_USPS_VERSION" in /xxx/includes/modules/shipping/usps.php:238
Stack trace:
#0 /xxx/includes/modules/shipping/usps.php(186): usps->adminInitializationChecks()
#1 /xxx/admin/modules.php(173): usps->__construct()
#2 /xxx/admin/index.php(16): require('/xxx/xxx...')
#3 {main}
thrown in /xxx/includes/modules/shipping/usps.php on line 238

[18-Jun-2024 07:33:56 America/Los_Angeles] Request URI: /xxx/admin/index.php?cmd=modules&set=shipping, IP address: xxx.xx.xx.xxx
--> PHP Fatal error: Uncaught Error: Undefined constant "MODULE_SHIPPING_USPS_VERSION" in /xxx/includes/modules/shipping/usps.php:238
Stack trace:
#0 /xxx/includes/modules/shipping/usps.php(186): usps->adminInitializationChecks()
#1 /xxx/admin/modules.php(173): usps->__construct()
#2 /xxx/admin/index.php(16): require('/xxx/xxx...')
#3 {main}
thrown in /xxx/includes/modules/shipping/usps.php on line 238.

[18-Jun-2024 07:33:56 America/Los_Angeles] Request URI: /xxx/admin/index.php?cmd=modules&set=shipping, IP address: xxx.xx.xx.xxx
--> PHP Fatal error: Uncaught Error: Undefined constant "MODULE_SHIPPING_USPS_VERSION" in /xxx/includes/modules/shipping/usps.php:238
Stack trace:
#0 /xxx/includes/modules/shipping/usps.php(186): usps->adminInitializationChecks()
#1 /xxx/admin/modules.php(173): usps->__construct()
#2 /xxx/admin/index.php(16): require('/xxx/xxx...')
#3 {main}
thrown in /xxx/includes/modules/shipping/usps.php on line 238.

18 Jun 2024, 6:54 PM
#384
lat9 avatar

lat9

Administrator

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

Re: USPS Shipping Module [Support Thread]

Was this a new install or an upgrade?

18 Jun 2024, 7:04 PM
#385
mattie_c avatar

mattie_c

New Zenner

Join Date:
Sep 2006
Posts:
39
Plugin Contributions:
0

Re: USPS Shipping Module [Support Thread]

It is a new install of the USPS Shipping Module.
The store started with Zen Cart 1.5.5 and has been updated with each new version.
I had a FedEx module in 1.5.6 but it stopped working and was deleted in the 1.5.7 update.
Have been using the Flat Rate module since.

18 Jun 2024, 8:10 PM
#386
lat9 avatar

lat9

Administrator

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

Re: USPS Shipping Module [Support Thread]

FWIW, I can't replicate this behavior performing an initial install of the K11j version of USPS. To correct your situation, you can navigate to Tools :: Install SQL Patches and enter the following to "wipe" the current USPS configuration from the database and try the USPS installation again:

DELETE FROM configuration WHERE configuration_key LIKE 'MODULE\_SHIPPING\_USPS%';
18 Jun 2024, 10:10 PM
#387
mattie_c avatar

mattie_c

New Zenner

Join Date:
Sep 2006
Posts:
39
Plugin Contributions:
0

Re: USPS Shipping Module [Support Thread]

That did the trick!
Thank you very much for your time and help lat9!!

2 Jul 2024, 3:59 PM
#388
n8pbm avatar

n8pbm

Zen Follower

Join Date:
Mar 2005
Posts:
142
Plugin Contributions:
0

Re: USPS Shipping Module [Support Thread]

Any chance we will see shipping dimensions added to this module to take advantage of the new feature in 2.0 Zen Cart Release?

2 Jul 2024, 5:12 PM
#389
lat9 avatar

lat9

Administrator

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

Re: USPS Shipping Module [Support Thread]

n8pbm:

Any chance we will see shipping dimensions added to this module to take advantage of the new feature in 2.0 Zen Cart Release?
It's on my list for the next-generation of USPS support. They've got (like the other shipping providers) now a RESTful API that makes use of that information.

15 Jul 2024, 1:31 PM
#390
njcyx avatar

njcyx

Zen Follower

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

Re: USPS Shipping Module [Support Thread]

I just noticed that USPS ground advantage shipping quote was gone this morning. From the records, it looks like this shipping quote was gone since yesterday. USPS priority shipping quote is still good.

Is it API partially down?

15 Jul 2024, 1:44 PM
#391
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]

njcyx:

I just noticed that USPS ground advantage shipping quote was gone this morning. From the records, it looks like this shipping quote was gone since yesterday. USPS priority shipping quote is still good.

Is it API partially down?

I checked a client site and see the same thing. I've not received any notice from USPS about issues.

15 Jul 2024, 3:04 PM
#392
lat9 avatar

lat9

Administrator

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

Re: USPS Shipping Module [Support Thread]

Sigh, USPS has rebranded "Ground Advantage" with a registered trademark instead of a plain-old trademark. Update forthcoming.

15 Jul 2024, 3:26 PM
#393
lat9 avatar

lat9

Administrator

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

Re: USPS Shipping Module [Support Thread]

lat9:

Sigh, USPS has rebranded "Ground Advantage" with a registered trademark instead of a plain-old trademark. Update forthcoming.
USPS 2024-07-15 K11k is now available for download: https://www.zen-cart.com/downloads.php?do=file&id=1292

This release contains changes associated with these issues:

  • Ensure that 'special' characters are sanitized for the XML requests.
  • Add the PASSWORD field, if present, to the 'IntlRateV2Request', too.
  • USPS rebranded "Ground Advantage" from TM to RM.
15 Jul 2024, 4:11 PM
#394
njcyx avatar

njcyx

Zen Follower

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

Re: USPS Shipping Module [Support Thread]

K11k solved my issue perfectly. I can get ground advantage quote now as before. Thanks @lat9!

15 Jul 2024, 5:41 PM
#395
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]

Works here too. Thanks for the quick fix lat9!

17 Jul 2024, 3:48 PM
#396
swguy avatar

swguy

Administrator

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

Re: USPS Shipping Module [Support Thread]

Thanks for your fast action on the SURPRISE rename, @lat9!

19 Aug 2024, 3:25 PM
#397
dragonlady avatar

dragonlady

Zen Follower

Join Date:
May 2010
Posts:
145
Plugin Contributions:
0

Re: USPS Shipping Module [Support Thread]

ZC 2.0.1

I have this installed and it's "mostly" working...but the shipping rates being returned are far too high because it's miscalculating the weight of the items.

An item weighing .5 of a pound is usually returning rates based on 3.5 lbs.

I think I had this problem before, and the fix was fairly simple, but I cannot recall what the issue was?

19 Aug 2024, 3:31 PM
#398
lat9 avatar

lat9

Administrator

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

Re: USPS Shipping Module [Support Thread]

DragonLady:

ZC 2.0.1

I have this installed and it's "mostly" working...but the shipping rates being returned are far too high because it's miscalculating the weight of the items.

An item weighing .5 of a pound is usually returning rates based on 3.5 lbs.

I think I had this problem before, and the fix was fairly simple, but I cannot recall what the issue was?
Look at the site's "Tare" settings in Configuration :: Shipping/Packaging, that'll add weight to to ordered products.

19 Aug 2024, 3:33 PM
#399
dragonlady avatar

dragonlady

Zen Follower

Join Date:
May 2010
Posts:
145
Plugin Contributions:
0

Re: USPS Shipping Module [Support Thread]

lat9:

Look at the site's "Tare" settings in Configuration :: Shipping/Packaging, that'll add weight to to ordered products.

Ahhhhaaaa! Yes!! Thank-you!!! :D:D

25 Aug 2024, 3:47 PM
#400
lat9 avatar

lat9

Administrator

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

Re: USPS Shipping Module [Support Thread]

USPS 2024-08-15 K11l is now available for download: https://www.zen-cart.com/downloads.php?do=file&id=1292

This release includes the zc158+ lang.usps.php; required for use with zc210.