Results 1 to 10 of 3052

Hybrid View

  1. #1
    Join Date
    Nov 2005
    Location
    France
    Posts
    600
    Plugin Contributions
    8

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by strelitzia View Post
    When submitting an order it returns back to /checkout_one with a message "Your order's details have changed. Please review the current values and re-submit."
    I've checked start and end hash values and they are not the same which is why the message is being displayed.
    I don't see why cod module should be doing this though.

    I can provide an opc log file if required.
    Managing Director of https://jsweb.uk

    Zen Cart developer since 2009

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

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by strelitzia View Post
    I have a site running ZC 1.5.8a, OPC 2.4.6 and COD payment.

    When submitting an order it returns back to /checkout_one with a message "Your order's details have changed. Please review the current values and re-submit."

    Console just shows

    setFormSubmitButton, payment-module: cod
    jquery.checkout_one.min.js?1692486216:7 Showing "confirm", paymentMethodHandlesSubmit (false)
    jquery.checkout_one.min.js?1692486216:7 setFormSubmitButton, disabling Review and Confirm buttons.
    jquery.checkout_one.min.js?1692486216:7 Setting orderConfirmed (0), submitter (null)
    jquery.checkout_one.min.js?1692486216:7 jQuery version: 2.1.4

    Any suggestions?
    Quote Originally Posted by strelitzia View Post
    I've checked start and end hash values and they are not the same which is why the message is being displayed.
    I don't see why cod module should be doing this though.

    I can provide an opc log file if required.
    While the log would be of interest, is there a reason that the site's using a version of jQuery from the last decade? The current jQuery version is 3.7.1.

    Let me know if you need my direct email address for the log sending.

  3. #3
    Join Date
    Nov 2005
    Location
    France
    Posts
    600
    Plugin Contributions
    8

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by lat9 View Post
    While the log would be of interest, is there a reason that the site's using a version of jQuery from the last decade? The current jQuery version is 3.7.1.

    Let me know if you need my direct email address for the log sending.
    Site is now loading jQuery 3.6.1 and the issue is still present.
    Can you pm me an email address to send the latest OPC log file to please?
    Managing Director of https://jsweb.uk

    Zen Cart developer since 2009

  4. #4
    Join Date
    Aug 2004
    Posts
    823
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    Cindy - My site runs on PHP 7.4, but I switched over to PHP 8.1 to test it out and iron out the bugs.

    Can you help me resolve this error: --> PHP Warning: Attempt to read property "delivery" on null in includes/classes/OnePageCheckout.php on line 225.

    I am running OPC 2.4.6.

    I assume the error is a configuration thing on my end, since OPC 2.4.6. came out long after PHP 8.1 was in use.

    The code snippet from that version is basically this:

    global $order, $db;
    $order_country = -1;
    $order_country = $order->delivery['country_id'];
    - Jeff

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

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by Jeff_Mash View Post
    Cindy - My site runs on PHP 7.4, but I switched over to PHP 8.1 to test it out and iron out the bugs.

    Can you help me resolve this error: --> PHP Warning: Attempt to read property "delivery" on null in includes/classes/OnePageCheckout.php on line 225.

    I am running OPC 2.4.6.

    I assume the error is a configuration thing on my end, since OPC 2.4.6. came out long after PHP 8.1 was in use.

    The code snippet from that version is basically this:

    global $order, $db;
    $order_country = -1;
    $order_country = $order->delivery['country_id'];
    That class has change significantly between v2.4.6 and v2.5.1 (the current release). Try changing line 225 to read
    PHP Code:
    $order_country $order->delivery['country_id'] ?? false

  6. #6
    Join Date
    Aug 2004
    Posts
    823
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by lat9 View Post
    That class has change significantly between v2.4.6 and v2.5.1 (the current release). Try changing line 225 to read
    PHP Code:
    $order_country $order->delivery['country_id'] ?? false
    I was just coming here to update this! That worked. I had actually changed it to:

    PHP Code:
    $order_country $order->delivery['country_id'] ?? null
    But it does the same thing. :)
    - Jeff

  7. #7
    Join Date
    Feb 2011
    Location
    Lumberton, TX
    Posts
    629
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    After digging through the install process, I believe that under the following circumstances, OPC appears to be drop in.

    ZC 2.0
    IH
    Clone a Template
    Bootstrap (and I am using a clone of Bootstrap)
    BS4 Slider

    I did not see any files that needed to be merged but I wanted a sanity check :O

 

 

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