Page 206 of 280 FirstFirst ... 106156196204205206207208216256 ... LastLast
Results 2,051 to 2,060 of 2792
  1. #2051
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,474
    Plugin Contributions
    88

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by g2ktcf View Post
    I was totally up to date with the last release. As I read in the installation procedure, this is just a drop in/overwrite of the previous version for 1.5.7c, correct?
    Correct, it's a drop-in update. Just check the change history, I'm pretty good about identifying the files that have changed.

  2. #2052
    Join Date
    Nov 2006
    Location
    Sydney, Australia
    Posts
    458
    Plugin Contributions
    1

    Default Re: One-Page Checkout [Support Thread]

    First thank you for the plugin, it's a great idea :)
    I am however having a problem with it.
    I have a new install of Zen Cart v1.5.7c running responsive template on PHP 7.4.21 and only a handful of plugins installed.
    I have two flat rate shipping modules installed (Regular & Express) after cloning the Flat rate module.
    Whenever I go to checkout, I click on the radio dot of the "Standard Flat Rate" under shipping method but the screen quickly refreshes and the shipping method options disappear (view below snapshots) and can't confirm order as it will come up with error when I click on the confirm order button?!
    I checked the error log and the below code is at the bottom of the log, can't really figure out the issue, I've had to turn off the one checkout module for now, the checkout process works fine in normal checkout mode, no such issues?!

    (Please view snapshots below):
    BEFORE pressing the radio button: https://i.imgur.com/D5tYjwq.png
    AFTER (error) clicking on the radio button: https://i.imgur.com/Ogd7nIW.png
    AFTER (error) clicking on the Confirm Order Button: https://i.imgur.com/htIzRAG.png

    Wonder why it's doing this? I hope I can get some assistance.
    Thank you.

    Code:
    2021-07-25 15:41:34 index: updateShipping, returning:{"status":"invalid","errorMessage":"Your available shipping options have changed. Please re-select your desired shipping method.","orderTotalHtml":"<div id=\"otsubtotal\">\r\n    <div class=\"totalBox larger forward\">$7.00<\/div>\r\n    <div class=\"lineTitle larger forward\">Sub-Total:<\/div>\r\n<\/div>\r\n<br class=\"clearBoth\" \/>\r\n<div id=\"ottotal\">\r\n    <div class=\"totalBox larger forward\">$7.00<\/div>\r\n    <div class=\"lineTitle larger forward\">Total:<\/div>\r\n<\/div>\r\n<br class=\"clearBoth\" \/>\r\n","shippingHtml":"","shippingMessage":"","paymentHtml":"<!--bof payment-method choices -->\n  <div id=\"checkoutPaymentMethod\" class=\"floatingBox forward clearRight\">\n    <fieldset>\n      <legend>Payment Method<\/legend>\n<div class=\"custom-control custom-radio\"><input type=\"hidden\" name=\"payment\" value=\"dirbankaus\" id=\"pmt-dirbankaus\" \/>      <label for=\"pmt-dirbankaus\" class=\"custom-control-label radioButtonLabel\">Bank Deposit\/Internet Transfer<div id=\"bankpayment\"><img src=\"images\/bankpayment.jpg\" alt=\"\" \/><\/a><\/div><\/label>\n      <\/div>\n      <br class=\"clearBoth\" \/>\n\n    <\/fieldset>\n  <\/div>\n  <div class=\"clearBoth\"><\/div>\n<!--eof payment-method choices -->\n","paymentHtmlAction":"update"}
    Shipping not set
    Last edited by rlexyd; 25 Jul 2021 at 09:17 AM.
    *Zen Cart eCommerce Solution - Putting the Dream of Owning an Online Business within reach of anyone!

  3. #2053
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,474
    Plugin Contributions
    88

    Default Re: One-Page Checkout [Support Thread]

    @rlexyd, are there any debug-logs generated during that checkout?

    What is the file-name of your flat-rate clone shipping method? If you (temporarily) disable that shipping-method clone and enable one of the other built-in shipping modules for testing, does the issue 'disappear'.

    I am, as you can derive, trying to see if it's that clone that is giving you grief.

  4. #2054
    Join Date
    Nov 2006
    Location
    Sydney, Australia
    Posts
    458
    Plugin Contributions
    1

    Default Re: One-Page Checkout [Support Thread]

    Hi,Thanks for helping.
    No, the only thing that occurs is the (one_page_checkout error log gets bigger) and the bottom of it shows the error I included in last post, not sure if you need to see any other info from that log.
    First I disabled the Express Module, error still came up,
    Than I disabled Flat Module, error still came up again,
    After I disabled BOTH shipping modules and only left "Store Pick Up" as an option but that came up with a Different error now and the following debug log:

    Code:
    [26-Jul-2021 08:03:12 Australia/Sydney] PHP Notice:  Malformed value for session-based shipping module; customer will need to re-select: false in /home2/...../public_html/....com.au/includes/classes/order.php on line 323
    Error snapshot: https://i.imgur.com/313GGoE.png

    Weird all this seem to happen when the one_checkout is enabled.

    My flat rate file names are (flat.php and express.php), I've checked both files well and they are ok, and they both work fine in normal zen cart checkout process.

  5. #2055
    Join Date
    Nov 2006
    Location
    Sydney, Australia
    Posts
    458
    Plugin Contributions
    1

    Default Re: One-Page Checkout [Support Thread]

    On another note, been trying to take out the brackets from the shipping module, I managed to do it in normal checkout, but can't seem to figure it out in (one checkout mode), as when I take out the ( checkout process goes blank?! All I did was just Remove the parens themselves from between the apostrophes from the codes below:

    This is the file I deleted just the parens from (includes/modules/pages/checkout_one/header_php.php) on two separate lines.
    Code:
    if ($_SESSION['shipping']['cost'] == $method['cost'] && $_SESSION['shipping']['title'] == ($val['module'] . ' (' . $method['title'] . ')')) {
    Code:
    'title' => $quotes[0]['title'] . ' (' . $quotes[0]['methods'][0]['title'] . ')',
    This is the file I deleted just the parens from (includes/modules/pages/checkout_one_confirmation/header_php.php) on one line.
    Code:
    'title' => ($free_shipping) ?  $quote[0]['methods'][0]['title'] : ($quote[0]['module'] . ' (' . $quote[0]['methods'][0]['title'] . ')'),

  6. #2056
    Join Date
    Nov 2006
    Location
    Sydney, Australia
    Posts
    458
    Plugin Contributions
    1

    Default Re: One-Page Checkout [Support Thread]

    One more thing I just noticed..
    Ok, so when I have the one checkout enabled and have the two flat rate shipping options available..
    As per the usual error from previous post, if I click on the already chosen radio button on the standard flat rate shipping, I get that error where all shipping modules disappear, and if I refresh, they come back, than when I click again, the loading circle hovers over the radio button and they disappear again, then when I hit refresh again, they come back....
    NOW, if I click the express flat rate radio button, no error occurs, it chooses that button correctly, than if I click the regular standard flat rate radio button, it works fine and I can go to the checkout correctly.

    VERY weird that's for sure, but it might help someone understand the issue a bit more at least?!

  7. #2057
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,474
    Plugin Contributions
    88

    Default Re: One-Page Checkout [Support Thread]

    Agreed, it's pretty weird. Just checking; what version of OPC is in use?

  8. #2058
    Join Date
    Nov 2006
    Location
    Sydney, Australia
    Posts
    458
    Plugin Contributions
    1

    Default Re: One-Page Checkout [Support Thread]

    I installed 2.3.8 but updated to 2.3.9 to see if it fixes the problem (I just merged/uploaded the 5 files that were changed) but the problem is still there?!

  9. #2059
    Join Date
    Aug 2010
    Location
    Hartland, MI
    Posts
    282
    Plugin Contributions
    3

    Default Re: One-Page Checkout [Support Thread]

    An odd error occurred overnight where an error in OPC caused duplicate orders 22 seconds apart for the same customer and same items, but did not send out any order conformation emails. Only one of the orders was charged out (PayPal) with no payment confirmation visible in admin, but shows in PayPal.

    Same error posted to the log for both orders.

    Error Log:
    Code:
    [26-Jul-2021 21:31:26 America/Chicago] Request URI: /store/index.php?main_page=checkout_process, IP address: xx.38.xx.8
    #1 trigger_error() called at [/includes/classes/OnePageCheckout.php:1399]
    #2 OnePageCheckout->inputPreCheck() called at [/includes/classes/OnePageCheckout.php:898]
    #3 OnePageCheckout->formatAddress() called at [/includes/classes/observers/class.checkout_one_observer.php:532]
    #4 checkout_one_observer->update() called at [/includes/classes/class.base.php:118]
    #5 base->notify() called at [/includes/classes/order.php:1183]
    #6 order->send_order_email() called at [/includes/modules/checkout_process.php:103]
    #7 require(/includes/modules/checkout_process.php) called at [/includes/modules/pages/checkout_process/header_php.php:14]
    #8 require(/includes/modules/pages/checkout_process/header_php.php) called at [/index.php:35]
    --> PHP Fatal error: Invalid request, tempAddressValues not set. in /includes/classes/OnePageCheckout.php on line 1399.
    1.5.7 store
    OPC v2.3.8
    Bootstrap 4 template

    Going to update to OPC v2.3.9 today...

  10. #2060
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,474
    Plugin Contributions
    88

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by rlexyd View Post
    I installed 2.3.8 but updated to 2.3.9 to see if it fixes the problem (I just merged/uploaded the 5 files that were changed) but the problem is still there?!
    If you'd post a zip of the two shipping modules, I can take a look to see if I can see something awry.

 

 

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

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