we had published UPS API SDK.
You can install it via composer
Or just visit github repository abantecart/ups-phpCode:composer require abantecart/ups-php
Best regards!
Arggh, I'd forgotten about that initial beta release. You can edit /includes/modules/shipping/upsoauth.php, adding the highlighted line:
Code:if (!defined('MODULE_SHIPPING_UPSOAUTH_VERSION') || MODULE_SHIPPING_UPSOAUTH_VERSION !== $this->moduleVersion || count($this->keys()) !== $chk_sql->RecordCount()) { if (!defined('MODULE_SHIPPING_UPSOAUTH_VERSION')) { define('MODULE_SHIPPING_UPSOAUTH_VERSION', '1.0.0'); } switch (MODULE_SHIPPING_UPSOAUTH_VERSION) { case '0.0.1': //- Initial Beta release case '1.0.0':
I was a shy, quiet kid. I was happiest playing by myself with my toys, rather than hanging around people.
-- Christian Slater
I have been unable to get this to work at all. It's now to a point that I am considering dumping the whole Zencart web site and moving to another platform because I am losing significant sales.
Is there anyone that I could contract to try to resolve this?
OK here is the fix. Same happened to me.
Find the line that says (mine is line 102) in /includes/modules/shipping/upsoath.php
case '1.1.0':
Change it to
case '1.2.0':
That removes the error. However, It still does not show rates on the estimator nor the checkout page. I have yet to figure that one out. It may be a template issue on my side.
Instead of changing that line, the '1.2.0' case should be added under the '1.1.0' one.
Regarding the 'rates not showing', try enabling the UPS debug and review the generated log. It's possible that the credentials aren't valid or you've not added the UPS "Rating" or "Time in Transit" apps to be associated with your OAuth token credentials (see post #54 in this support-thread).