Page 225 of 296 FirstFirst ... 125175215223224225226227235275 ... LastLast
Results 2,241 to 2,250 of 2953
  1. #2241
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,842
    Plugin Contributions
    11

    Default Re: One-Page Checkout [Support Thread] - Square payment issue

    Quote Originally Posted by Balaji View Post
    Hi
    I have installed the square payment method. I have two flat rate shipping methods enabled on the site.
    When I change the shipping method at opc, the credit card fields goes missing. They are showing only refreshing the page.
    Can any one please what is wrong.
    Thanks
    yeah, i do not think anything is wrong. unfortunately i'm not sure about a good way around it.

    when the customer changes shipping methods there is an ajax call to get rates for the order. while that is done in the background, it is refreshing the page. and the page refresh is resetting the square elements.

    any time there is a transmission to the server, if there is credit card data on the page, and the transmission to the server does not result in a successful order, that credit card will be lost. i think most shopping carts will operate the same way whenever you go back and fourth to the server.

    i had brought up with lat9 the question as to why that ajax call is needed, and she has her reasons. you can see that here:

    https://github.com/lat9/one_page_checkout/issues/305

    if instead of doing the ajax call, the changes were all done on the client side, we can get past this situation. perhaps there is another solution (there always is), but in thinking about it, it seems like a lot of work for minimal gain.

    sorry i have no better answers.

    best.
    author of square Webpay.
    mxWorks now has Apple Pay and Google Pay. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  2. #2242
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,286
    Plugin Contributions
    125

    Default Re: One-Page Checkout [Support Thread] - Square payment issue

    Small issue in address selection for OPC:

    This occurs when a customer has multiple addresses in their address book. In the shopping cart's "Estimate Shipping" section there is a dropdown where a customer can select which address to use. When an address other than the first address in their address book is selected, it recalculates the shipping rate for the new address. Then, when the customer clicks the checkout button and proceeds to OPC, the Billing/Shipping address listed on OPC should be the same as they changed their address to in the "Estimate Shipping" section. However, this is not the case... instead, it always reverts to the 1st address in their address book under the "Billing/Shipping Address" section of OPC. I believe it should remember the address that was selected in the "estimate shipping" section of the shopping cart.
    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.

  3. #2243
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,337
    Plugin Contributions
    94

    Default Re: One-Page Checkout [Support Thread] - Square payment issue

    Noting that you could create a template-override of /includes/languages/english/checkout_one.php (i.e. /includes/languages/english/YOUR_TEMPLATE/checkout_one.php) and update the TEXT_CHECKOUT_ONE_TOP_INSTRUCTIONS definition to let your customers know that they should select their shipping prior to entering their credit-card information.

  4. #2244
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,337
    Plugin Contributions
    94

    Default Re: One-Page Checkout [Support Thread] - Square payment issue

    Quote Originally Posted by swguy View Post
    Small issue in address selection for OPC:

    This occurs when a customer has multiple addresses in their address book. In the shopping cart's "Estimate Shipping" section there is a dropdown where a customer can select which address to use. When an address other than the first address in their address book is selected, it recalculates the shipping rate for the new address. Then, when the customer clicks the checkout button and proceeds to OPC, the Billing/Shipping address listed on OPC should be the same as they changed their address to in the "Estimate Shipping" section. However, this is not the case... instead, it always reverts to the 1st address in their address book under the "Billing/Shipping Address" section of OPC. I believe it should remember the address that was selected in the "estimate shipping" section of the shopping cart.
    Thanks for the report, @swguy. That issue arises when the site has Configuration :: One-Page Checkout Settings :: Enable Shipping=Billing? set to 'true'. GitHub issue forthcoming.

    GitHub issue for tracking: https://github.com/lat9/one_page_checkout/issues/327
    Last edited by lat9; 14 May 2022 at 01:47 PM.

  5. #2245
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,337
    Plugin Contributions
    94

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by lat9 View Post
    @dbltoe, what happens if you change line 567 of /includes/classes/OnePageCheckout.php from
    Code:
            $this->debugMessage('startGuestOnePageCheckout, exit: sendto: ' . ((isset($_SESSION['sendto'])) ? $_SESSION['sendto'] : 'not set') . ', billto: ' . ((isset($_SESSION['billto'])) ? $_SESSION['billto'] : 'not set') . var_export($this, true));
    to
    Code:
            $this->debugMessage('startGuestOnePageCheckout, exit: sendto: ' . ((isset($_SESSION['sendto'])) ? $_SESSION['sendto'] : 'not set') . ', billto: ' . ((isset($_SESSION['billto'])) ? $_SESSION['billto'] : 'not set') . json_encode($this));
    If that suppresses the error, would you turn on the OPC debug and send a copy of the generated log to my private email address? I have no idea where that circular reference is coming from.
    See https://github.com/lat9/one_page_checkout/issues/328 for the resolution to this issue.

  6. #2246
    Join Date
    Nov 2009
    Location
    Chennai, India
    Posts
    50
    Plugin Contributions
    3

    Default Re: One-Page Checkout [Support Thread]

    Hi
    Thanks for your support. But still this issue is not resolved. I am using square web pay and when shipping address changes, the site throws the issue as follows::

    https://prnt.sc/AIWybrkHp6Ba

    Since the other square going to be discontinued soon, I used this.
    Can you pls review again and provide any suggestion.
    Thanks
    Balaji
    Balaji R

  7. #2247
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,842
    Plugin Contributions
    11

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by Balaji View Post
    Hi
    Thanks for your support. But still this issue is not resolved. I am using square web pay and when shipping address changes, the site throws the issue as follows::

    https://prnt.sc/AIWybrkHp6Ba

    Since the other square going to be discontinued soon, I used this.
    Can you pls review again and provide any suggestion.
    Thanks
    Balaji
    you are having a jquery conflict. i am not able to reproduce it on my test suite.

    i would look at the console in your dev tools. and see if any errors are getting reported.
    author of square Webpay.
    mxWorks now has Apple Pay and Google Pay. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  8. #2248
    Join Date
    Nov 2009
    Location
    Chennai, India
    Posts
    50
    Plugin Contributions
    3

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by carlwhat View Post
    you are having a jquery conflict. i am not able to reproduce it on my test suite.

    i would look at the console in your dev tools. and see if any errors are getting reported.
    I understand.
    I am looking into it.
    Will update on the same.
    Thank you
    Balaji R

  9. #2249
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,337
    Plugin Contributions
    94

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by njcyx View Post
    Maybe my last post is not correct. I double checked the results from my browser's network console, when I selected a different shipping method, File called is "act=ajaxOnePageCheckout & method=updateShipping" Initiator is jquery-3.5.1.min.js. So it looks like JS script is pulled and updated something on the background. My site uses usps and fedex modules. When I select different FedEx shipping methods, the processing time is over 1000ms. When I select different USPS shipping methods, the time is about 800-900ms. When I selected store pickup, the time is only ~100ms. So there is a processing difference between two shipping modules. See screenshot attached.
    Attachment 19985
    Both the USPS and FedEx shipping methods 'pull' their quotes from the shipping 'supplier'. Depending on how busy the usps and/or fedex sites are, that's where the delay is coming from.

  10. #2250
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,337
    Plugin Contributions
    94

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by njcyx View Post
    Hi lat9, I'm testing this one-page checkout module (v2.4.0) right now, and I noticed there might be a mistake for the installation notes. Step G is the following:

    "Now, check your store's current /includes/modules/pages/checkout_payment directory's contents. The "base" Zen Cart distribution includes two files in that directory: header_php.php and jscript_main.php. If your directory contains any other files, be sure to copy them to your store's /includes/modules/pages/checkout_one directory. Those additional files come from plugins and additional payment methods and will be required for those modifications to operate correctly in the one-page checkout environment."

    I checked the zen cart v1.5.7c and v1.5.7d zip files, there are five files under /includes/modules/pages/checkout_payment folder, which are the following:

    header_php.php
    jscript_main.php
    jscript_double_submit.php
    jscript_pmt_support.php
    jscript_square.php

    Maybe the early version zen cart only comes with 2 files for this folder and but now it have 5 files. It is not critical and you may clarify it in your next update.

    Thanks in advance.
    I appreciate the posting. The readme for v2.4.1 will be updated to be more generic in its instructions!

 

 

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