Results 1 to 10 of 3052

Hybrid View

  1. #1
    Join Date
    Nov 2023
    Location
    Hounslow
    Posts
    131
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by nicksab View Post
    Customers have been experiencing issues while checking out.

    After clicking "confirm order", the screen refresh with a red highlighted message: " Your order has changed. Please check value....and resubmit"

    I tried a test order and i am getting the same message. If i try several times, the order eventually goes thru.

    Any ideas on how to fix it please? Thank you

    Site is royal-fleur.com with squarewebpay

    ZC 1.5.7
    OPC 2.5.1
    PHP 7.4

    I enable the debug and I am getting the follow files but they are too long to post on here
    how long has this been happening for?
    have you tried the ned upgrade?

  2. #2
    Join Date
    Apr 2011
    Posts
    586
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by OJ_SIMON View Post
    how long has this been happening for?
    have you tried the ned upgrade?
    It has been happening since a couple month i believe. A customer mentioned a while back but never paid much attention to it thinking it could be internet connectivity, wifi, or operator error....

    Thank you Simon for mentioning the update. I didn't know there was one honestly. I will give it a try and see if it fixes it. " finger crossed"

  3. #3
    Join Date
    Jan 2013
    Location
    New Port Richey, Florida
    Posts
    969
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by OJ_SIMON View Post
    how long has this been happening for?
    have you tried the ned upgrade?
    How to fix this if running on zen version1.56c, I've I am on lastest opc for 1.56c version but support dropped for 1.56c, authorize. Net and paypal

  4. #4
    Join Date
    Jan 2013
    Location
    New Port Richey, Florida
    Posts
    969
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    i get this when trying to checkout
    Your available shipping options have changed. Please re-select your desired shipping method.

  5. #5
    Join Date
    Jan 2013
    Location
    New Port Richey, Florida
    Posts
    969
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by jimmie View Post
    i get this when trying to checkout
    Your available shipping options have changed. Please re-select your desired shipping method.
    again I shouldnt play with things, added this to advanced shipper to not show when free shipping is enabled but didn't add a method
    Code:
    	if (IS_ADMIN_FLAG !== true && $this->enabled == true && isset($GLOBALS['freeoptions'])  &&  $GLOBALS['freeoptions']->enabled && $method == '') {
           $this->enabled = false;
           return false;
          }

  6. #6
    Join Date
    Apr 2019
    Posts
    350
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    zc 1.58a. php 8.1. opc 2.5.2.

    I received the following warning.

    Code:
    Request URI: /ajax.php?act=ajaxOnePageCheckout&method=updateShippingSelection, IP address: xxxx, Language id 1
    #0 /includes/classes/ajax/zcAjaxOnePageCheckout.php(115): zen_debug_error_handler()
    #1 /includes/classes/ajax/zcAjaxOnePageCheckout.php(104): zcAjaxOnePageCheckout->formatOrderTotal()
    #2 /ajax.php(85): zcAjaxOnePageCheckout->updateShippingSelection()
    --> PHP Warning: Undefined array key "opc_saved_order_total" in /includes/classes/ajax/zcAjaxOnePageCheckout.php on line 115.
    Line 115 is the following section:

    Code:
        protected function formatOrderTotal()
        {
            return $_SESSION['opc_saved_order_total'];//line 115
        }
    Does the following change work? $_SESSION['opc_saved_order_total'] should not be zero or null?

    Code:
    return $_SESSION['opc_saved_order_total'] ?? '';
    Last edited by njcyx; 27 Jun 2024 at 02:25 PM.

  7. #7
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,949
    Plugin Contributions
    96

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by njcyx View Post
    zc 1.58a. php 8.1. opc 2.5.2.

    I received the following warning.

    Code:
    Request URI: /ajax.php?act=ajaxOnePageCheckout&method=updateShippingSelection, IP address: xxxx, Language id 1
    #0 /includes/classes/ajax/zcAjaxOnePageCheckout.php(115): zen_debug_error_handler()
    #1 /includes/classes/ajax/zcAjaxOnePageCheckout.php(104): zcAjaxOnePageCheckout->formatOrderTotal()
    #2 /ajax.php(85): zcAjaxOnePageCheckout->updateShippingSelection()
    --> PHP Warning: Undefined array key "opc_saved_order_total" in /includes/classes/ajax/zcAjaxOnePageCheckout.php on line 115.
    Line 115 is the following section:

    Code:
        protected function formatOrderTotal()
        {
            return $_SESSION['opc_saved_order_total'];//line 115
        }
    Does the following change work? $_SESSION['opc_saved_order_total'] should not be zero or null?

    Code:
    return $_SESSION['opc_saved_order_total'] ?? '';
    Hmm, that shouldn't happen. Does the associated site, by any chance, have something like the "Remember Me" plugin installed?

  8. #8
    Join Date
    Apr 2019
    Posts
    350
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    Hi @lat9,

    No plug-in, but I added a php file to extend the session/shopping cart expiry time. Not sure if it is related.

    Code:
    <?php define('SESSION_TIMEOUT_CATALOG', 7200);
    This file is under /includes/extra_configures/my_ultra_long_session_timeout.php file

    Reference link:

    https://www.zen-cart.com/showthread....29#post1321729

 

 

Similar Threads

  1. Set number of products displayed per page (support thread)
    By yellow1912 in forum All Other Contributions/Addons
    Replies: 146
    Last Post: 2 Nov 2023, 12:50 AM
  2. v151 Banners In Main Page - Support Thread
    By stevesh in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 18 Sep 2021, 03:36 PM
  3. v151 Site Map/Page Not Found: Combined [Support Thread]
    By lat9 in forum All Other Contributions/Addons
    Replies: 7
    Last Post: 4 Jan 2016, 02:19 PM
  4. v151 PayPal Express Checkout Using NVP 84.0 [Support Thread]
    By lat9 in forum Addon Payment Modules
    Replies: 32
    Last Post: 28 Dec 2015, 04:54 PM
  5. Checkout Amazon Style -- Support Thread
    By CJPinder in forum All Other Contributions/Addons
    Replies: 72
    Last Post: 13 Apr 2011, 08:18 PM

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