v1.1.0 of the upsoauth shipping module is now available for download: https://www.zen-cart.com/downloads.php?do=file&id=2374
This version contains changes associated with the following GitHub issues:
#4: Add missing shipping_ups.gif icon.
#5: Split API portion from shipping-module processing to promote code re-use.
#6: Add notification to allow site-specific processing to disable the module.
#7: Correct PHP warning on an empty response from UPS.
#11: Add notifications to enable additional configuration settings to be installed/removed/displayed.
Note: This version will automatically upgrade from v1.0.0!
If you are a developer setting this up on a client's behalf, you *may* be asked to authenticate - you either need the client's PIN and email address for their account, or a recent Invoice.
I have done this a few times without being asked to authenticate, but this time my luck ran out.
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.
Installed and the site breaks at the shipping page.
V1.5.5b
Seems to break at the shipping page if the address is IN the selected zone. If I select a zone that doesn't include this address (or, select an address outside of selected zone), the page works, but no UPS shows.
Will not work with shipping zone blank.
Checked and double checked Client ID and Secret.
Help?
If you are not seeing the whole page, take a look at https://docs.zen-cart.com/user/troub...ng/blank_page/
You should also have some log files in the logs directory. If so, add them here using the # above.
Are You Vulnerable for an Accessibility Lawsuit?
myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
Free SSL, Domain, and MagicThumb with semi-annual and longer hosting.
Error:
PHP Parse error: syntax error, unexpected ':', expecting ';' or '{' in /home/private/public_html/includes/modules/shipping/upsoauth/UpsOAuthApi.php on line 394
i think there is a problem with the versions with which this software is compatible.
i am guessing that the issue you are having is because you are running a php version less than 7.4. line 394 defines a return type for which support only started in php 7.4. and zc 155 looks to be only compatible up to php 7.1.
the code base is not that big that one could remove all of the return types.
look at this image:
https://www.dropbox.com/scl/fi/2f1tm...jqy7bn1nx&dl=0
you need to eliminate the colon (:) and the words 'array', 'string', and 'bool' on all of those line numbers, starting at 394.
that is my best guess as to your problem.
best.
Thanks so much for the responses!
Ditto! Thanks for the report, @Zippkits, and the cause/solution, @carlwhat.
I've opened a GitHub issue (https://github.com/lat9/upsoauth/issues/15) to correct this in the next release.
I have been struggling with getting this to work. When trying to checkout, I get these messages:
"Your available shipping options have changed. Please re-select your desired shipping method."
"This is currently the only shipping method available to use on this order."
Can anyone give me any insight?
ZenCart 1.5.6
Bookmarks