Results 1 to 10 of 3052

Hybrid View

  1. #1
    Join Date
    Oct 2007
    Posts
    412
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    zencart v1.5.7d, OPC 2.4.6. Guest checkout enabled.

    I just noticed that on the create_account page, the state drop-down menu is displayed, but the state field is also displayed at the same time, even US is selected as the country.

    If I select another country, which does not have any states defined, then the drop down menu with the "Type a choice below..." and the state field displays, as intended.

    If I then select US again, then only the state drop down menu is displayed, as it should be.

    So, the first time US is selected as country, then both the state drop down menu and the state field are displayed, but the second time I select US as country its not.

    Is this a known issue? Any ideas for a fix?

    Click image for larger version. 

Name:	1.jpg 
Views:	37 
Size:	32.9 KB 
ID:	20769
    Click image for larger version. 

Name:	2.jpg 
Views:	42 
Size:	31.6 KB 
ID:	20770
    Click image for larger version. 

Name:	3.jpg 
Views:	33 
Size:	29.2 KB 
ID:	20771

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

    Default Re: One-Page Checkout [Support Thread]

    That's a base Zen Cart issue with the javascript/jQuery handling of the state vs. state-dropdown selection. That's been corrected in zc200 and it's difficult to see the changes from 1.5.7d since that address-handling jscript file is now consolidated for use on all the various address-gathering pages.

  3. #3
    Join Date
    Apr 2019
    Posts
    345
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    PHP8.1, zc 1.58a, OPC 2.5.3

    I received the following intermittent warning.

    PHP Code:
    [22-Oct-2024 16:11:52 America/New_YorkRequest URI: /ajax.php?act=ajaxOnePageCheckout&method=validateAddressValuesIP addressxxxxLanguage id 1
    #0 [internal function]: zen_debug_error_handler()
    #1 /includes/classes/OnePageCheckout.php(1644): ctype_digit()
    #2 /includes/classes/OnePageCheckout.php(1456): OnePageCheckout->validateUpdatedAddress()
    #3 /includes/classes/ajax/zcAjaxOnePageCheckout.php(227): OnePageCheckout->validateAndSaveAjaxPostedAddress()
    #4 /ajax.php(85): zcAjaxOnePageCheckout->validateAddressValues()
    --> PHP Deprecatedctype_digit(): Argument of type null will be interpreted as string in the future in /includes/classes/OnePageCheckout.php on line 1644. 
    Line 1644 is the following
    if (!ctype_digit($country)) {


    PHP Code:
    [22-Oct-2024 16:11:52 America/New_YorkRequest URI: /ajax.php?act=ajaxOnePageCheckout&method=validateAddressValuesIP addressxxxxLanguage id 1
    #0 /includes/classes/OnePageCheckout.php(1643): zen_debug_error_handler()
    #1 /includes/classes/OnePageCheckout.php(1456): OnePageCheckout->validateUpdatedAddress()
    #2 /includes/classes/ajax/zcAjaxOnePageCheckout.php(227): OnePageCheckout->validateAndSaveAjaxPostedAddress()
    #3 /ajax.php(85): zcAjaxOnePageCheckout->validateAddressValues()
    --> PHP WarningUndefined array key "zone_country_id" in /includes/classes/OnePageCheckout.php on line 1643. 
    Line 1643 is the following
    $country = zen_db_prepare_input($address_values['zone_country_id']);

    A few days back, I received the following warning (not from OPC). Not sure if it is related.

    PHP Code:
    [24-Sep-2024 08:57:51 America/New_YorkRequest URI: /index.php?main_page=checkout_shipping_addressIP addressxxxxLanguage id 1
    #0 /includes/modules/checkout_new_address.php(47): zen_debug_error_handler()
    #1 /includes/modules/pages/checkout_shipping_address/header_php.php(45): require('/home/...')
    #2 /index.php(35): require('/home/...')
    --> PHP WarningUndefined array key "zone_country_id" in /includes/modules/checkout_new_address.php on line 47. 
    I changed the following code

    $country = zen_db_prepare_input($_POST['zone_country_id']);

    To

    $country = zen_db_prepare_input($_POST['zone_country_id'] ?? '');
    Last edited by njcyx; 23 Oct 2024 at 08:07 PM.

  4. #4
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,371
    Plugin Contributions
    23

    Default Re: One-Page Checkout [Support Thread]

    I'm getting recurrent error logs that say the welcome email is not being created - validation failure.

    And I've had several folks say they are hitting a 404 error in paypal checkout (yes, I still have the new paypal installed).

    The site has been slammed with bots recently and occasionally the server in general slows down under stress. Trying to untangle this is dang difficult.

    Any ideas?
    The full-time Zen Cart Guru. WizTech4ZC.com
    New template for 2.0 viewable here: 2.0 Demo

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

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by delia View Post
    I'm getting recurrent error logs that say the welcome email is not being created - validation failure.

    And I've had several folks say they are hitting a 404 error in paypal checkout (yes, I still have the new paypal installed).

    The site has been slammed with bots recently and occasionally the server in general slows down under stress. Trying to untangle this is dang difficult.

    Any ideas?
    When you're posting that you're receiving error logs, it helps me to help you by posting the log's contents.

    If the PayPal/RESTful issue is happening a lot, I'll suggest turning on the payment module's logging to gather some 'breadcrumbs' through which the cause of that issue can be determined.

  6. #6
    Join Date
    Feb 2016
    Location
    Canada
    Posts
    190
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    Hello,

    I am having an issue with minimum order which is set at $100.00. If the order is below the messageStack appears indicating that it is below the minimum, however checkout is not being disabled and the order can be processed. if I disable this plugin it works correctly. Running 2.0.1 php 8.2.

    Thanks in advance

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

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by allmart View Post
    Hello,

    I am having an issue with minimum order which is set at $100.00. If the order is below the messageStack appears indicating that it is below the minimum, however checkout is not being disabled and the order can be processed. if I disable this plugin it works correctly. Running 2.0.1 php 8.2.

    Thanks in advance
    Where did the minimum-order code come from?

  8. #8
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,371
    Plugin Contributions
    23

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by lat9 View Post
    When you're posting that you're receiving error logs, it helps me to help you by posting the log's contents.

    If the PayPal/RESTful issue is happening a lot, I'll suggest turning on the payment module's logging to gather some 'breadcrumbs' through which the cause of that issue can be determined.

    the error is [12-Nov-2024 02:06:25 UTC] ERROR: Failed sending email to: "" <0> with subject: "[CREATE ACCOUNT] Welcome to xxxxxxxxxx (failed validation)

    Also have customers complaining of hitting a 404 when checking out with paypal. Restful is still installed but I'm getting the client reset up with paypal pro and express to see if those issues stop. So far I've not been able to tell when or how they are hitting bad links as I don't talk to them directly. So I figure if I ask you what could possibly be happening you won't have clue. (stop laughing - I can hear you now!)

    I did just turn on logging to see if that will give me any more info.
    The full-time Zen Cart Guru. WizTech4ZC.com
    New template for 2.0 viewable here: 2.0 Demo

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

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by delia View Post
    the error is [12-Nov-2024 02:06:25 UTC] ERROR: Failed sending email to: "" <0> with subject: "[CREATE ACCOUNT] Welcome to xxxxxxxxxx (failed validation)

    Also have customers complaining of hitting a 404 when checking out with paypal. Restful is still installed but I'm getting the client reset up with paypal pro and express to see if those issues stop. So far I've not been able to tell when or how they are hitting bad links as I don't talk to them directly. So I figure if I ask you what could possibly be happening you won't have clue. (stop laughing - I can hear you now!)

    I did just turn on logging to see if that will give me any more info.
    First, that error is issued when a customer is creating an account. The PayPal/RESTful payment module only comes into play during the checkout process.

    If you're getting 404's using PayPal RESTful, it could be that the ppr_webhook_main.php isn't present in the root-directory of the site. You can tell more by inspecting the site's raw-access logs to see what page/file the 404's being issued for.

 

 

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