1 Attachment(s)
Re: 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
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.
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.
Re: USPS Shipping Module [Support Thread]
Was this a new install or an upgrade?
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.
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:
Code:
DELETE FROM configuration WHERE configuration_key LIKE 'MODULE\_SHIPPING\_USPS%';
Re: USPS Shipping Module [Support Thread]
That did the trick!
Thank you very much for your time and help lat9!!
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?
Re: USPS Shipping Module [Support Thread]
Quote:
Originally Posted by
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.
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?