Results 1 to 10 of 3052

Hybrid View

  1. #1
    Join Date
    Aug 2006
    Posts
    34
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    Having an issue when international customers are checking out.

    I duplicated their issue and tried various admin settings but can't seem to make this work.

    Customer enters there address. Moves to change the country from United States to say Canada and the menu for Canada does not load in. It leaves the US states and just says:

    "Please select a state from the States pull down menu."

    Where should I look to fix this issue?


    I'm on 1.5.8 and the newest OPC install. I'm not sure when this started to be an issue.


    As a work around for now I removed the states as a drop down and set the minimum state value to 0. but its not ideal.

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

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by cruiser View Post
    Having an issue when international customers are checking out.

    I duplicated their issue and tried various admin settings but can't seem to make this work.

    Customer enters there address. Moves to change the country from United States to say Canada and the menu for Canada does not load in. It leaves the US states and just says:

    "Please select a state from the States pull down menu."

    Where should I look to fix this issue?


    I'm on 1.5.8 and the newest OPC install. I'm not sure when this started to be an issue.


    As a work around for now I removed the states as a drop down and set the minimum state value to 0. but its not ideal.
    @cruiser, I'm unable to reproduce the issue on OPC 2.4.6, Zen Cart 158a. What template is in use?

  3. #3
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,536
    Plugin Contributions
    127

    Default Re: One-Page Checkout [Support Thread]

    OPC 2.4.5 + Square + ZC 157c + Bootstrap
    When I go to checkout, everything is fine unless I change shipping to "Store Pickup." When I do this, the credit card fields (number, expiry, cvv) change to a button labelled "Use Credit Card." Pressing this button grays the screen but doesn't reveal the fields.
    The workaround I used was to change Admin > Configuration > OPC > Payment-Block Action on Shipping Change to Refresh (from Update), and this fixes it - the "Use Credit Card" button is displayed for just a second and then the fields re-appear.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  4. #4
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,915
    Plugin Contributions
    13

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by swguy View Post
    ...the "Use Credit Card" button is displayed for just a second and then the fields re-appear.
    the use credit card button is just a place holder. the button itself does nothing... it gets replaced by functions within the square javascript code.

    if you do NOT want to see it you can find the code in includes/modules/payment/square_webPay.php and change:

    Code:
    //from
                     'fields' => [
                        [
                            'title' => '',
                            'field' => '<div id="card-container" ></div>
                                <button id="card-button" type="button">Use Credit Card</button>',
                        ],
    //to:
                     'fields' => [
                        [
                            'title' => '',
                            'field' => '<div id="card-container" ></div>
                                <button id="card-button" type="button" hidden>Use Credit Card</button>',
                        ],
    the problem that you are experiencing is again a javascript loading issue, and your workaround is fine. it would be nice to not have to do a complete page reload, but digging into the javascript right now is low on my totem pole...
    author of square Webpay.
    mxWorks now has Apple Pay and Google Pay. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  5. #5
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,536
    Plugin Contributions
    127

    Default Re: One-Page Checkout [Support Thread]

    It's all good. I was just surprised because I don't recall ever having seen this scenario.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  6. #6
    Join Date
    Jan 2015
    Posts
    726
    Plugin Contributions
    1

    Default Re: One-Page Checkout [Support Thread]

    zencart 2.1
    php 8.2
    template - ZCA Bootstrap template
    OPC 2.5.4

    Lat 9

    I am having the same issue as #2608 in this thread

    "Customer enters there address. Moves to change the country from United States to say Canada and the menu for Canada does not load in. It leaves the US states and just says:

    "Please select a state from the States pull down menu."

    Where should I look to fix this issue?

    Seems to work if the international area has a dropdown for province. But leaves a input line which should not be there
    Click image for larger version. 

Name:	Screenshot 2025-03-28 115820.png 
Views:	104 
Size:	6.6 KB 
ID:	20939
    Last edited by chadlly2003; 28 Mar 2025 at 05:01 PM.

  7. #7
    Join Date
    Jan 2015
    Posts
    726
    Plugin Contributions
    1

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by chadlly2003 View Post
    zencart 2.1
    php 8.2
    template - ZCA Bootstrap template
    OPC 2.5.4

    Lat 9

    I am having the same issue as #2608 in this thread

    "Customer enters there address. Moves to change the country from United States to say Canada and the menu for Canada does not load in. It leaves the US states and just says:

    "Please select a state from the States pull down menu."

    Where should I look to fix this issue?

    Seems to work if the international area has a dropdown for province. But leaves a input line which should not be there
    Click image for larger version. 

Name:	Screenshot 2025-03-28 115820.png 
Views:	104 
Size:	6.6 KB 
ID:	20939
    Just to be clear if it has a state or province like Canada all is good. When it does not have a state/province is when the issue occuurs as showed in the image above

  8. #8
    Join Date
    Jan 2015
    Posts
    726
    Plugin Contributions
    1

    Default Re: One-Page Checkout [Support Thread]

    disregard it was a setting on my end

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

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by chadlly2003 View Post
    disregard it was a setting on my end
    ... and what setting was that?

 

 

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