v1.2.0 is now available for download: https://www.zen-cart.com/downloads.php?do=file&id=2374
This release contains changes associated with the following GitHub issues:
#12: Correct PHP Warning when UPS request fails.
#13: Remove redundant code.
#14: Enable fixed-price handling fee to be applied once/order or once/box.
#15: Remove function return-type hints, not compatible with PHP versions prior to 7.4.
#16: Include use of previously-missing Residential/Commercial quote.
#17: Correct PHP 8.2 Fatal error when handling-fee is configured as an empty string.
Note that upgrading is automatic!
V1.2.0 loaded up. Getting this error, even though I double checked my ID and secret:
2023-10-05 16:01:19: {
"response": {
"errors": [
{
"code": "250002",
"message": "Invalid Authentication Information."
Did you also make sure to add the "Rating" and "Time in Transit" Products to that UPS App that's associated with those credentials? See this (https://github.com/lat9/upsoauth/wik...-Client-Secret) UPSoAuth wiki article for additional information.
I did now lol.
Logs show rates are coming, but it still breaks at the shipping page.
Here is the error:
[06-Oct-2023 11:56:20 America/Indiana/Indianapolis] Request URI: /index.php?main_page=checkout_shipping&zenid=xxxx, IP address: xxxx
#1 UpsOAuthApi->getCurrentMethodQuote() called at [/home/xxxx/public_html/includes/modules/shipping/upsoauth/UpsOAuthApi.php:440]
#2 UpsOAuthApi->getShippingMethodsFromQuotes() called at [/home/xxxx/public_html/includes/modules/shipping/upsoauth.php:326]
#3 upsoauth->quote() called at [/home/xxxx/public_html/includes/classes/shipping.php:171]
#4 shipping->quote() called at [/home/xxxx/public_html/includes/modules/pages/checkout_shipping/header_php.php:187]
#5 require(/home/xxxx/public_html/includes/modules/pages/checkout_shipping/header_php.php) called at [/home/xxxx/public_html/index.php:36]
[06-Oct-2023 11:56:20 America/Indiana/Indianapolis] PHP Catchable fatal error: Argument 2 passed to UpsOAuthApi::getCurrentMethodQuote() must be an instance of string, string given, called in /home/xxxx/public_html/includes/modules/shipping/upsoauth/UpsOAuthApi.php on line 440 and defined in /home/xxxx/public_html/includes/modules/shipping/upsoauth/UpsOAuthApi.php on line 450
Correct. 5.6.40
That was end of life (EOL) in 2019! Most hosts do not use less that 7.4 and that was EOL a year ago.
You need to upgrade while you can still run your site and upgrade. You may wake up tomorrow and your host has turned off everything under 7.4. You see stories of that often on the forum.
Are You Vulnerable for an Accessibility Lawsuit?
myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.
Thanks for the help!
Bookmarks