Page 7 of 11 FirstFirst ... 56789 ... LastLast
Results 61 to 70 of 103
  1. #61
    Join Date
    Jun 2007
    Location
    Bronx, New York, United States
    Posts
    679
    Plugin Contributions
    8

    Default Re: USPS Shipping (RESTful) (USPSr)

    Quote Originally Posted by swguy View Post
    Just downloaded 1.1.1. I think you still have an indexing issue. It still always shows the first method (Priority Mail) as the selected one on the second page of checkout.

    Also you might want to think about how you handle the checkout pages after initial selection. You'll notice the other shipping modules use the signature

    function quote($method = '')

    where the selected method is passed in after the first call.
    Okay I think that explains dbltoe's error log earlier. Will look into this one.

  2. #62
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,286
    Plugin Contributions
    125

    Default Re: USPS Shipping (RESTful) (USPSr)

    It might also make sense to review how the old USPS module handles this.

    I get that this is a bunch of work. Thanks for helping the project by tackling it.
    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.

  3. #63
    Join Date
    Jun 2007
    Location
    Bronx, New York, United States
    Posts
    679
    Plugin Contributions
    8

    Default Re: USPS Shipping (RESTful) (USPSr)

    Quote Originally Posted by swguy View Post
    It might also make sense to review how the old USPS module handles this.

    I get that this is a bunch of work. Thanks for helping the project by tackling it.
    Yup that actually put me on to the right path. Pretty much I just ended up checking to see what the value of $method was and, if set/not empty, only added that to $quotes array. Before this, the entire list was sent to checkout_confirmation and ZenCart only put the first item from the array.

    Nonetheless, I have pulled it off. I managed to get ZenCart to play nice with standard and OPC checkout. I still have to look into an odd issue with the date of delivery and days count being plastered twice. (I cannot replicate this, but am looking out for it. If you encounter this, please tell me what options you used (shipping methods, etc.) right away so I can try to replicate it.)

    Combined v1.1.1 + v1.1.2 Notes (to the admins of the modules directory, please delete 1.1.1 if it hasn't been published... it's redundant at this point)

    What's changed?

    Fixed


    • (v1.1.1) Resolved all issues with regards to the selection of shipping methods during checkout. (Issues #28, #29, #30, #31) (Long and short run, there was a problem with the counting of each module presented and it caused issues.)
    • (v1.1.1) Fixed an issue that came up when trying to squash options but you were also using estimated dates/times (the squashing was ignored and all options were presented anyway, bad regex matching). (Issue #32)
    • (v1.1.2) Resolved issue that users had with selecting a shipping method and having it "stick". (There was an unused method variable that was set by ZenCart that stored the selected method which is used to carry it forward.) (Issue #34)



    Download from GitHub: https://github.com/retched/ZC-USPSRe...ses/tag/v1.1.2, ZenCart modules directory coming shortly.

  4. #64
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,286
    Plugin Contributions
    125

    Default Re: USPS Shipping (RESTful) (USPSr)

    Just tested - you've got it! Thanks for your diligence.
    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.

  5. #65
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,444
    Plugin Contributions
    11

    Default Re: USPS Shipping (RESTful) (USPSr)

    Using encapsuilated latest github. 500 error at plugin update.

    Code:
    [08-Mar-2025 20:54:03 UTC] PHP Fatal error: Uncaught Error: Call to undefined method messageStack::addSession() in /zc_plugins/USPSRestful/v1.1.2/Installer/ScriptedInstaller.php:235
    Stack trace:
    #0 /includes/classes/PluginSupport/ScriptedInstaller.php(76): ScriptedInstaller->executeUpgrade('v0.0.0')
    #1 /includes/classes/PluginSupport/Installer.php(114): Zencart\PluginSupport\ScriptedInstaller->doUpgrade('v0.0.0')
    #2 /includes/classes/PluginSupport/Installer.php(59): Zencart\PluginSupport\Installer->executeScriptedUpgrader('/home/enigjohn/...', 'v0.0.0')
    #3 /includes/classes/PluginSupport/BasePluginInstaller.php(55): Zencart\PluginSupport\Installer->executeUpgraders('/home/enigjohn/...', 'v0.0.0')
    #4 /includes/classes/ViewBuilders/PluginManagerController.php(302): Zencart\PluginSupport\BasePluginInstaller->processUpgrade('USPSRestful', 'v1.1.2', 'v0.0.0')
    #5 /includes/classes/ViewBuilders/BaseController.php(37): Zencart\ViewBuilders\PluginManagerController->processActionDoUpgrade()
    #6 /jetmar_ENL210/plugin_manager.php(101): Zencart\ViewBuilders\BaseController->processRequest()
    #7 /jetmar_ENL210/index.php(16): require('/home/enigjohn/...')
    #8 {main}
    thrown in /zc_plugins/USPSRestful/v1.1.2/Installer/ScriptedInstaller.php on line 235
    
    [08-Mar-2025 20:54:03 UTC] Request URI: /jetmar_ENL210/index.php?cmd=plugin_manager&page=1&colKey=USPSRestful&action=doUpgrade, IP address: 216.177.186.199
    --> PHP Fatal error: Uncaught Error: Call to undefined method messageStack::addSession() in /zc_plugins/USPSRestful/v1.1.2/Installer/ScriptedInstaller.php:235
    Stack trace:
    #0 /includes/classes/PluginSupport/ScriptedInstaller.php(76): ScriptedInstaller->executeUpgrade('v0.0.0')
    #1 /includes/classes/PluginSupport/Installer.php(114): Zencart\PluginSupport\ScriptedInstaller->doUpgrade('v0.0.0')
    #2 /includes/classes/PluginSupport/Installer.php(59): Zencart\PluginSupport\Installer->executeScriptedUpgrader('/home/enigjohn/...', 'v0.0.0')
    #3 /includes/classes/PluginSupport/BasePluginInstaller.php(55): Zencart\PluginSupport\Installer->executeUpgraders('/home/enigjohn/...', 'v0.0.0')
    #4 /includes/classes/ViewBuilders/PluginManagerController.php(302): Zencart\PluginSupport\BasePluginInstaller->processUpgrade('USPSRestful', 'v1.1.2', 'v0.0.0')
    #5 /includes/classes/ViewBuilders/BaseController.php(37): Zencart\ViewBuilders\PluginManagerController->processActionDoUpgrade()
    #6 /jetmar_ENL210/plugin_manager.php(101): Zencart\ViewBuilders\BaseController->processRequest()
    #7 /jetmar_ENL210/index.php(16): require('/home/enigjohn/...')
    #8 {main}
    thrown in /zc_plugins/USPSRestful/v1.1.2/Installer/ScriptedInstaller.php on line 235.
    
    [08-Mar-2025 20:54:03 UTC] Request URI: /jetmar_ENL210/index.php?cmd=plugin_manager&page=1&colKey=USPSRestful&action=doUpgrade, IP address: 216.177.186.199
    --> PHP Fatal error: Uncaught Error: Call to undefined method messageStack::addSession() in /zc_plugins/USPSRestful/v1.1.2/Installer/ScriptedInstaller.php:235
    Stack trace:
    #0 /includes/classes/PluginSupport/ScriptedInstaller.php(76): ScriptedInstaller->executeUpgrade('v0.0.0')
    #1 /includes/classes/PluginSupport/Installer.php(114): Zencart\PluginSupport\ScriptedInstaller->doUpgrade('v0.0.0')
    #2 /includes/classes/PluginSupport/Installer.php(59): Zencart\PluginSupport\Installer->executeScriptedUpgrader('/home/enigjohn/...', 'v0.0.0')
    #3 /includes/classes/PluginSupport/BasePluginInstaller.php(55): Zencart\PluginSupport\Installer->executeUpgraders('/home/enigjohn/...', 'v0.0.0')
    #4 /includes/classes/ViewBuilders/PluginManagerController.php(302): Zencart\PluginSupport\BasePluginInstaller->processUpgrade('USPSRestful', 'v1.1.2', 'v0.0.0')
    #5 /includes/classes/ViewBuilders/BaseController.php(37): Zencart\ViewBuilders\PluginManagerController->processActionDoUpgrade()
    #6 /jetmar_ENL210/plugin_manager.php(101): Zencart\ViewBuilders\BaseController->processRequest()
    #7 /jetmar_ENL210/index.php(16): require('/home/enigjohn/...')
    #8 {main}
    thrown in /zc_plugins/USPSRestful/v1.1.2/Installer/ScriptedInstaller.php on line 235.

  6. #66
    Join Date
    Jun 2007
    Location
    Bronx, New York, United States
    Posts
    679
    Plugin Contributions
    8

    Default Re: USPS Shipping (RESTful) (USPSr)

    Quote Originally Posted by dbltoe View Post
    Using encapsuilated latest github. 500 error at plugin update.

    Code:
    [08-Mar-2025 20:54:03 UTC] PHP Fatal error: Uncaught Error: Call to undefined method messageStack::addSession() in /zc_plugins/USPSRestful/v1.1.2/Installer/ScriptedInstaller.php:235
    Stack trace:
    #0 /includes/classes/PluginSupport/ScriptedInstaller.php(76): ScriptedInstaller->executeUpgrade('v0.0.0')
    #1 /includes/classes/PluginSupport/Installer.php(114): Zencart\PluginSupport\ScriptedInstaller->doUpgrade('v0.0.0')
    #2 /includes/classes/PluginSupport/Installer.php(59): Zencart\PluginSupport\Installer->executeScriptedUpgrader('/home/enigjohn/...', 'v0.0.0')
    #3 /includes/classes/PluginSupport/BasePluginInstaller.php(55): Zencart\PluginSupport\Installer->executeUpgraders('/home/enigjohn/...', 'v0.0.0')
    #4 /includes/classes/ViewBuilders/PluginManagerController.php(302): Zencart\PluginSupport\BasePluginInstaller->processUpgrade('USPSRestful', 'v1.1.2', 'v0.0.0')
    #5 /includes/classes/ViewBuilders/BaseController.php(37): Zencart\ViewBuilders\PluginManagerController->processActionDoUpgrade()
    #6 /jetmar_ENL210/plugin_manager.php(101): Zencart\ViewBuilders\BaseController->processRequest()
    #7 /jetmar_ENL210/index.php(16): require('/home/enigjohn/...')
    #8 {main}
    thrown in /zc_plugins/USPSRestful/v1.1.2/Installer/ScriptedInstaller.php on line 235
    
    [08-Mar-2025 20:54:03 UTC] Request URI: /jetmar_ENL210/index.php?cmd=plugin_manager&page=1&colKey=USPSRestful&action=doUpgrade, IP address: 216.177.186.199
    --> PHP Fatal error: Uncaught Error: Call to undefined method messageStack::addSession() in /zc_plugins/USPSRestful/v1.1.2/Installer/ScriptedInstaller.php:235
    Stack trace:
    #0 /includes/classes/PluginSupport/ScriptedInstaller.php(76): ScriptedInstaller->executeUpgrade('v0.0.0')
    #1 /includes/classes/PluginSupport/Installer.php(114): Zencart\PluginSupport\ScriptedInstaller->doUpgrade('v0.0.0')
    #2 /includes/classes/PluginSupport/Installer.php(59): Zencart\PluginSupport\Installer->executeScriptedUpgrader('/home/enigjohn/...', 'v0.0.0')
    #3 /includes/classes/PluginSupport/BasePluginInstaller.php(55): Zencart\PluginSupport\Installer->executeUpgraders('/home/enigjohn/...', 'v0.0.0')
    #4 /includes/classes/ViewBuilders/PluginManagerController.php(302): Zencart\PluginSupport\BasePluginInstaller->processUpgrade('USPSRestful', 'v1.1.2', 'v0.0.0')
    #5 /includes/classes/ViewBuilders/BaseController.php(37): Zencart\ViewBuilders\PluginManagerController->processActionDoUpgrade()
    #6 /jetmar_ENL210/plugin_manager.php(101): Zencart\ViewBuilders\BaseController->processRequest()
    #7 /jetmar_ENL210/index.php(16): require('/home/enigjohn/...')
    #8 {main}
    thrown in /zc_plugins/USPSRestful/v1.1.2/Installer/ScriptedInstaller.php on line 235.
    
    [08-Mar-2025 20:54:03 UTC] Request URI: /jetmar_ENL210/index.php?cmd=plugin_manager&page=1&colKey=USPSRestful&action=doUpgrade, IP address: 216.177.186.199
    --> PHP Fatal error: Uncaught Error: Call to undefined method messageStack::addSession() in /zc_plugins/USPSRestful/v1.1.2/Installer/ScriptedInstaller.php:235
    Stack trace:
    #0 /includes/classes/PluginSupport/ScriptedInstaller.php(76): ScriptedInstaller->executeUpgrade('v0.0.0')
    #1 /includes/classes/PluginSupport/Installer.php(114): Zencart\PluginSupport\ScriptedInstaller->doUpgrade('v0.0.0')
    #2 /includes/classes/PluginSupport/Installer.php(59): Zencart\PluginSupport\Installer->executeScriptedUpgrader('/home/enigjohn/...', 'v0.0.0')
    #3 /includes/classes/PluginSupport/BasePluginInstaller.php(55): Zencart\PluginSupport\Installer->executeUpgraders('/home/enigjohn/...', 'v0.0.0')
    #4 /includes/classes/ViewBuilders/PluginManagerController.php(302): Zencart\PluginSupport\BasePluginInstaller->processUpgrade('USPSRestful', 'v1.1.2', 'v0.0.0')
    #5 /includes/classes/ViewBuilders/BaseController.php(37): Zencart\ViewBuilders\PluginManagerController->processActionDoUpgrade()
    #6 /jetmar_ENL210/plugin_manager.php(101): Zencart\ViewBuilders\BaseController->processRequest()
    #7 /jetmar_ENL210/index.php(16): require('/home/enigjohn/...')
    #8 {main}
    thrown in /zc_plugins/USPSRestful/v1.1.2/Installer/ScriptedInstaller.php on line 235.
    I keep forgetting to not make that spelling error. Can you change the addSession to add_session for line 235.

    Additionally, if you're going from 0.0.0 to a version, you should clear the old version out anyway.
    Last edited by retched; 8 Mar 2025 at 10:03 PM.

  7. #67
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,444
    Plugin Contributions
    11

    Default Re: USPS Shipping (RESTful) (USPSr)

    That worked but still getting the double est. delivey on the second option.

  8. #68
    Join Date
    Jun 2007
    Location
    Bronx, New York, United States
    Posts
    679
    Plugin Contributions
    8

    Default Re: USPS Shipping (RESTful) (USPSr)

    Quote Originally Posted by dbltoe View Post
    That worked but still getting the double est. delivey on the second option.
    Same configuration as before? Bootstrap + OPC + Edit Orders?

    Do you still get this error on normal checkout by chance? Also what version of PHP do you use by chance?

  9. #69
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,444
    Plugin Contributions
    11

    Default Re: USPS Shipping (RESTful) (USPSr)

    same config and error is on estimator first.

  10. #70
    Join Date
    Jun 2007
    Location
    Bronx, New York, United States
    Posts
    679
    Plugin Contributions
    8

    Default Re: USPS Shipping (RESTful) (USPSr)

    Quote Originally Posted by dbltoe View Post
    same config and error is on estimator first.
    Are there any other modules or add-ons that you are running? Any kind of observer that could conflict?

 

 
Page 7 of 11 FirstFirst ... 56789 ... LastLast

Similar Threads

  1. PayPal RESTful API Payment Module
    By lat9 in forum PayPal RESTful support
    Replies: 261
    Last Post: 21 Apr 2025, 08:22 PM
  2. v158 UPS Shipping using RESTful/OAuth API [Support Thread]
    By lat9 in forum Addon Shipping Modules
    Replies: 147
    Last Post: 8 Mar 2025, 06:38 PM
  3. v155 USPS Shipping Module - We are unable to find a USPS shipping quote suitable....
    By jtovar in forum Built-in Shipping and Payment Modules
    Replies: 9
    Last Post: 6 May 2019, 11:07 PM
  4. v155 V1.5.5D USPS Shipping module, I just noticed, no USPS retail Ground Displaying
    By WiccanWitch420 in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 31 Mar 2018, 04:34 PM
  5. v139h Is the USPS shipping module required to ship with USPS?
    By yeahwhatever in forum Addon Shipping Modules
    Replies: 3
    Last Post: 14 Feb 2012, 12:58 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