Page 303 of 306 FirstFirst ... 203253293301302303304305 ... LastLast
Results 3,021 to 3,030 of 3052
  1. #3021
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,942
    Plugin Contributions
    96

    Default Re: One-Page Checkout [Support Thread]

    v2.6.1 of One-Page Checkout is now available for download: https://www.zen-cart.com/downloads.php?do=file&id=2095

    This release contains changes for these GitHub issues:

    #462: Ensure $_POST['order_id'] is an int.
    #461: Fix event-handler duplication on checkout_one page

  2. #3022
    Join Date
    Apr 2019
    Posts
    345
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    opc v2.6.1, zc2.1.0, paypalwpp, php 8.1

    I received the following intermittent warning.

    PHP Code:
    [11-May-2026 15:08:12 America/New_YorkPHP Fatal errorUncaught ErrorTyped property OnePageCheckout::$isVirtualOrder must not be accessed before initialization in /includes/classes/OnePageCheckout.php:2568
    Stack trace
    :
    #0 /includes/classes/observers/class.checkout_one_observer.php(685): OnePageCheckout->getTaxLocations()
    #1 /includes/classes/traits/NotifierManager.php(106): checkout_one_observer->update(Object(notifier), 'ZEN_GET_TAX_LOC...', Array, false, NULL, NULL, NULL, NULL, NULL, NULL, NULL)
    #2 /includes/functions/functions_taxes.php(355): base->notify('ZEN_GET_TAX_LOC...', Array, false)
    #3 /includes/modules/order_total/ot_tax.php(66): zen_get_tax_locations()
    #4 /includes/classes/order_total.php(229): ot_tax->process()
    #5 /includes/modules/payment/paypalwpp.php(1637): order_total->pre_confirmation_check()
    #6 /ipn_main_handler.php(81): paypalwpp->ec_step1()
    #7 {main}
    thrown in /includes/classes/OnePageCheckout.php on line 2568

    [11-May-2026 15:08:12 America/New_YorkRequest URI: /ipn_main_handler.php?type=ecIP addressxxx
    --> PHP Fatal errorUncaught ErrorTyped property OnePageCheckout::$isVirtualOrder must not be accessed before initialization in /includes/classes/OnePageCheckout.php:2568
    Stack trace
    :
    #0 /includes/classes/observers/class.checkout_one_observer.php(685): OnePageCheckout->getTaxLocations()
    #1 /includes/classes/traits/NotifierManager.php(106): checkout_one_observer->update(Object(notifier), 'ZEN_GET_TAX_LOC...', Array, false, NULL, NULL, NULL, NULL, NULL, NULL, NULL)
    #2 /includes/functions/functions_taxes.php(355): base->notify('ZEN_GET_TAX_LOC...', Array, false)
    #3 /includes/modules/order_total/ot_tax.php(66): zen_get_tax_locations()
    #4 /includes/classes/order_total.php(229): ot_tax->process()
    #5 /includes/modules/payment/paypalwpp.php(1637): order_total->pre_confirmation_check()
    #6 /ipn_main_handler.php(81): paypalwpp->ec_step1()
    #7 {main}
    thrown in /includes/classes/OnePageCheckout.php on line 2568. 
    Line 2568 is the following

    "if ($this->isVirtualOrder === true || $this->getShippingBilling() === true) {"

    The customer under this IP address has placed the order successfully (no sales tax was charged, which is also correct.) and he didn't order the virtual item.
    Last edited by njcyx; 11 May 2026 at 09:04 PM.

  3. #3023
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,942
    Plugin Contributions
    96

    Default Re: One-Page Checkout [Support Thread]

    Sigh, that's paypalwpp's "special checkout" mode coming in through the ipn_main_handler.php.

    See this OPC GitHub issue with the correction: https://github.com/lat9/one_page_checkout/issues/463

  4. #3024
    Join Date
    Apr 2019
    Posts
    345
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    Thanks for your quick fix! I will try and let you know.

  5. #3025
    Join Date
    Apr 2019
    Posts
    345
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    Sorry, one more warning. We received an order using paypalwpp. The delivery address somehow was blank (hopefully only intermitent). We also received the following warning from OPC.

    PHP Code:
    [12-May-2026 10:59:16 America/New_YorkPHP Fatal errorUncaught ErrorUndefined constant "EMAIL_GREET_NONE" in /includes/modules/checkout_one_send_welcome_email.php:22
    Stack trace
    :
    #0 /includes/modules/pages/checkout_success/header_php_guest.php(43): require()
    #1 /index.php(35): require('/home/...')
    #2 {main}
    thrown in /includes/modules/checkout_one_send_welcome_email.php on line 22

    [12-May-2026 10:59:16 America/New_YorkRequest URI: /index.php?main_page=checkout_success&action=create_accountIP addressxxxx
    --> PHP Fatal errorUncaught ErrorUndefined constant "EMAIL_GREET_NONE" in /includes/modules/checkout_one_send_welcome_email.php:22
    Stack trace
    :
    #0 /includes/modules/pages/checkout_success/header_php_guest.php(43): require()
    #1 /index.php(35): require('/home/...')
    #2 {main}
    thrown in /includes/modules/checkout_one_send_welcome_email.php on line 22. 
    Line 22 is the following

    $email_text = sprintf(EMAIL_GREET_NONE, $firstname);

    Update. It seems to be not related to paypalwpp. We received another normal order using paypaldp. It shows the delivery address as normal, but I receive the same warning.
    Last edited by njcyx; 12 May 2026 at 04:21 PM.

  6. #3026
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,942
    Plugin Contributions
    96

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by njcyx View Post
    Sorry, one more warning. We received an order using paypalwpp. The delivery address somehow was blank (hopefully only intermitent). We also received the following warning from OPC.

    PHP Code:
    [12-May-2026 10:59:16 America/New_YorkPHP Fatal errorUncaught ErrorUndefined constant "EMAIL_GREET_NONE" in /includes/modules/checkout_one_send_welcome_email.php:22
    Stack trace
    :
    #0 /includes/modules/pages/checkout_success/header_php_guest.php(43): require()
    #1 /index.php(35): require('/home/...')
    #2 {main}
    thrown in /includes/modules/checkout_one_send_welcome_email.php on line 22

    [12-May-2026 10:59:16 America/New_YorkRequest URI: /index.php?main_page=checkout_success&action=create_accountIP addressxxxx
    --> PHP Fatal errorUncaught ErrorUndefined constant "EMAIL_GREET_NONE" in /includes/modules/checkout_one_send_welcome_email.php:22
    Stack trace
    :
    #0 /includes/modules/pages/checkout_success/header_php_guest.php(43): require()
    #1 /index.php(35): require('/home/...')
    #2 {main}
    thrown in /includes/modules/checkout_one_send_welcome_email.php on line 22. 
    Line 22 is the following

    $email_text = sprintf(EMAIL_GREET_NONE, $firstname);

    Update. It seems to be not related to paypalwpp. We received another normal order using paypaldp. It shows the delivery address as normal, but I receive the same warning.
    It's "my bad" in v2.6.1. The create_account_send_email (and the associated constants' loading) was introduced in Zen Cart 2.2.x and you're using 2.1.0.

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

    Default Re: One-Page Checkout [Support Thread]

    That "undefined constant" error has been noted and corrected via this GitHub issue: https://github.com/lat9/one_page_checkout/issues/464

  8. #3028
    Join Date
    Apr 2019
    Posts
    345
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    Thanks as always.

    I have one more question. Regarding this file in OPC 2.6.1 \includes\templates\template_default\templates\tpl_order_status_default.php, it is the same stock file from zen cart 2.2.2/2.2.1. Can we use it for the early zen carts such as my zen cart 2.1.0?

  9. #3029
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,942
    Plugin Contributions
    96

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by njcyx View Post
    Thanks as always.

    I have one more question. Regarding this file in OPC 2.6.1 \includes\templates\template_default\templates\tpl_order_status_default.php, it is the same stock file from zen cart 2.2.2/2.2.1. Can we use it for the early zen carts such as my zen cart 2.1.0?
    Using for zc210 should be just fine, but make sure that you're using the version of /includes/modules/pages/order_status/header_php.php that ships with OPC v2.6.1.

  10. #3030
    Join Date
    Apr 2019
    Posts
    345
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    Ok, thanks.

 

 

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