Page 8 of 15 FirstFirst ... 678910 ... LastLast
Results 71 to 80 of 148
  1. #71
    Join Date
    Oct 2023
    Posts
    1
    Plugin Contributions
    0

    Default Re: UPS Shipping using RESTful/OAuth API [Support Thread]

    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.

  2. #72
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,373
    Plugin Contributions
    94

    Default Re: UPS Shipping using RESTful/OAuth API [Support Thread]

    Quote Originally Posted by 4allthingsweb View Post
    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).

  3. #73
    Join Date
    Mar 2005
    Posts
    140
    Plugin Contributions
    0

    Default Re: UPS Shipping using RESTful/OAuth API [Support Thread]

    Quote Originally Posted by lat9 View Post
    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':
    Made the change and reinstalled. I still get the same message. Thank you

  4. #74
    Join Date
    Mar 2012
    Location
    NJ
    Posts
    46
    Plugin Contributions
    0

    Default Re: UPS Shipping using RESTful/OAuth API [Support Thread]

    Quote Originally Posted by n8pbm View Post
    Made the change and reinstalled. I still get the same message. Thank you
    I changed it to:

    Code:
    switch (MODULE_SHIPPING_UPSOAUTH_VERSION) {
                    case '0.0.1':   //- Initial Beta release
                    case '1.0.0':
                    case '1.2.0':
                          $db->Execute(
    which worked fine.
    I was a shy, quiet kid. I was happiest playing by myself with my toys, rather than hanging around people.
    -- Christian Slater

  5. #75
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,373
    Plugin Contributions
    94

    Default Re: UPS Shipping using RESTful/OAuth API [Support Thread]

    UPS RESTful/OAuth v1.2.1 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:

    #18: Correct upgrade when module is currently installed and disabled.
    #19: Correctly return quotes when a shipment is less than 1 lb/kg.

  6. #76
    Join Date
    Mar 2012
    Location
    NJ
    Posts
    46
    Plugin Contributions
    0

    Default Re: UPS Shipping using RESTful/OAuth API [Support Thread]

    Quote Originally Posted by lat9 View Post
    UPS RESTful/OAuth v1.2.1 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:

    #18: Correct upgrade when module is currently installed and disabled.
    #19: Correctly return quotes when a shipment is less than 1 lb/kg.
    Updated to 1.2.1 overwriting my manual changes and got the exact same error as the previous version.

    1. Uninstalled old module from admin
    2. Uploaded and used overwrite for all files included in 1.2.1
    3. Installed and configured module and get the same prior error

    Name:  Admin Modules.jpg
Views: 124
Size:  7.9 KB
    I was a shy, quiet kid. I was happiest playing by myself with my toys, rather than hanging around people.
    -- Christian Slater

  7. #77
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,373
    Plugin Contributions
    94

    Default Re: UPS Shipping using RESTful/OAuth API [Support Thread]

    In a word: cr@p

    Is the shipping module enabled?

  8. #78
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,373
    Plugin Contributions
    94

    Default Re: UPS Shipping using RESTful/OAuth API [Support Thread]

    When you navigate to Tools :: Developers Tool Kit and enter MODULE_SHIPPING_UPSOAUTH_VERSION in the upper (database) search box, what displays?

  9. #79
    Join Date
    Mar 2012
    Location
    NJ
    Posts
    46
    Plugin Contributions
    0

    Default Re: UPS Shipping using RESTful/OAuth API [Support Thread]

    Quote Originally Posted by lat9 View Post
    When you navigate to Tools :: Developers Tool Kit and enter MODULE_SHIPPING_UPSOAUTH_VERSION in the upper (database) search box, what displays?
    Yes, enabled. Here are the results of the search:

    Lookup CONSTANT Definitions
    Key: MODULE_SHIPPING_UPSOAUTH_VERSION
    Title: UPS OAuth Version
    Description: You have installed:
    Value: 1.2.1
    Group: ID#6 Module Options or, HIDDEN
    I was a shy, quiet kid. I was happiest playing by myself with my toys, rather than hanging around people.
    -- Christian Slater

  10. #80
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,373
    Plugin Contributions
    94

    Default Re: UPS Shipping using RESTful/OAuth API [Support Thread]

    I don't get it; that's a problem to be solved tomorrow.

 

 
Page 8 of 15 FirstFirst ... 678910 ... LastLast

Similar Threads

  1. v156 Authorize.net API with Card on File transactions support thread...
    By carlwhat in forum Addon Payment Modules
    Replies: 187
    Last Post: 20 Mar 2025, 05:18 PM
  2. v155 UPS XML: Support Thread
    By lat9 in forum Addon Shipping Modules
    Replies: 245
    Last Post: 24 Nov 2023, 10:07 PM
  3. eWAY Payment Gateway - Rapid 3.0 API [Support Thread]
    By maclean_cherry in forum Addon Payment Modules
    Replies: 40
    Last Post: 27 Nov 2020, 06:53 AM
  4. v156 Authorize.net API with Card on File transactions support thread...
    By carlwhat in forum All Other Contributions/Addons
    Replies: 16
    Last Post: 27 Apr 2020, 08:46 PM
  5. v151 Ty UPS WorldShip Support Thread
    By colosports in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 1 Jun 2014, 12:05 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR