Page 9 of 15 FirstFirst ... 7891011 ... LastLast
Results 81 to 90 of 148
  1. #81
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,373
    Plugin Contributions
    94

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

    OK, this is bugging me. In the Developers Tool Kit, what shows for the database setting MODULE_SHIPPING_UPSOAUTH_HANDLING_APPLIES?

  2. #82
    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
    OK, this is bugging me. In the Developers Tool Kit, what shows for the database setting MODULE_SHIPPING_UPSOAUTH_HANDLING_APPLIES?
    I may be doing this wrong but when I enter that phrase I get no results found. Still using 1.2.0.

  3. #83
    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 n8pbm View Post
    I may be doing this wrong but when I enter that phrase I get no results found. Still using 1.2.0.
    Thanks for that as it confirms my suspicion.

    Let's try changing this section
    Code:
                    case '1.1.0':
                        $db->Execute(
                            'INSERT IGNORE INTO ' . TABLE_CONFIGURATION . "
                                (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function, date_added)
                             VALUES
                                ('Fixed Handling Fee, Order or Box?', 'MODULE_SHIPPING_UPSOAUTH_HANDLING_APPLIES', 'Order', 'If the handling fee is a <em>fixed amount</em>, should it be applied once per order (the default) or for every box?', 6, 0, NULL, 'zen_cfg_select_option([\'Order\', \'Box\'], ', now())"
                        );
    to read
    Code:
                    case '1.1.0':
                    case '1.2.0':
                    case '1.2.1':
                        $db->Execute(
                            'INSERT IGNORE INTO ' . TABLE_CONFIGURATION . "
                                (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function, date_added)
                             VALUES
                                ('Fixed Handling Fee, Order or Box?', 'MODULE_SHIPPING_UPSOAUTH_HANDLING_APPLIES', 'Order', 'If the handling fee is a <em>fixed amount</em>, should it be applied once per order (the default) or for every box?', 6, 0, NULL, 'zen_cfg_select_option([\'Order\', \'Box\'], ', now())"
                        );
                        break;                  //- END OF AUTOMATIC UPDATE CHECKS!

  4. #84
    Join Date
    Mar 2005
    Posts
    140
    Plugin Contributions
    0

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

    I think that worked. The error is gone and I am getting notified of the new upgrade. Testing the module I am getting shipping rates.

    I do plan to upgrade but this was done with v1.2.0

    Thank you

  5. #85
    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 n8pbm View Post
    I think that worked. The error is gone and I am getting notified of the new upgrade. Testing the module I am getting shipping rates.

    I do plan to upgrade but this was done with v1.2.0

    Thank you
    Most excellent, thanks for helping with the debug! I'll get v1.2.2 released later today or in the morning.

    My best guess is that early-adopters (i.e. those who started with v0.0.1) have gotten 'bitten' by this bug.

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

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

    v1.2.2 of the shipping module is now available for download: https://www.zen-cart.com/downloads.php?do=file&id=2374

    This release contains changes associated with GitHub issue #20, the 'naggy' message on upgrades.

  7. #87
    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
    v1.2.2 of the shipping module is now available for download: https://www.zen-cart.com/downloads.php?do=file&id=2374

    This release contains changes associated with GitHub issue #20, the 'naggy' message on upgrades.
    I uninstalled 1.21, uploaded and overwrote all files. Enabled 1.22 and still get the message regarding missing keys or out of date. I'm around all week and weekend if you'd like to troubleshoot.

    Name:  Admin Developers Tool Kit.png
Views: 135
Size:  36.6 KB
    Last edited by Bubbadood; 26 Oct 2023 at 06:47 PM. Reason: add context
    I was a shy, quiet kid. I was happiest playing by myself with my toys, rather than hanging around people.
    -- Christian Slater

  8. #88
    Join Date
    Mar 2012
    Location
    NJ
    Posts
    46
    Plugin Contributions
    0

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

    Also FYI adding the following code to line 94 removes the error:

    Code:
    case '1.2.2':
    Same procedure you recommended in prior versions.
    I was a shy, quiet kid. I was happiest playing by myself with my toys, rather than hanging around people.
    -- Christian Slater

  9. #89
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,298
    Plugin Contributions
    125

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

    Thanks for posting this required change to includes/modules/shipping/upsoauth.php line 94, @Bubbadood.
    Confirmed.
    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.

  10. #90
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,298
    Plugin Contributions
    125

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

    Perhaps an even easier solution would be to add a default case at this line. That way new versions wouldn't need to be added each time until there was another database change.
    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.

 

 
Page 9 of 15 FirstFirst ... 7891011 ... 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