Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 35
  1. #11
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Order Confirmation Processing Block

    Quote Originally Posted by lindasdd View Post
    DrByte,
    The duplicate issue doesn't occur on every order and has occurred in the past when using Authorize.net so I don't think it is related to Paypal. That being said I did look into the things you mentioned.

    The solution here is probably for me to switch away from Tableau and use the new one provided in 1.5.5. The problem is that getting my existing site(s) to look the same using a new template isn't a quick fix. I'm also surprised, because I couldn't find any other mention of this issue related to Tableau. I'm going to custom replace the includes/templates/tableau/templates/tpl_checkout_confirmation_default.php and see if that fixes anything.
    Good point. It's VERY IMPORTANT that all customizations to your tpl_checkout_confirmation_default.php ALSO be added to tpl_ajax_checkout_confirmation if you're using Authnet AIM or PayPal Pro or any other module that collects card numbers directly on-site, because the ajax template is used to re-draw the page without transmitting the data back and forth to the server, thus avoiding any risk of unsafely handling card data ... but if your templates are out of sync odd things can happen.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  2. #12
    Join Date
    Jun 2007
    Posts
    474
    Plugin Contributions
    2

    Default Re: Order Confirmation Processing Block

    Quote Originally Posted by carlwhat View Post
    have you tried placing any test orders? in my experience, duplicate orders are related to problems with sending the order email.

    the sequence goes something like this:

    - customer hits button to place order
    - timeout issue occurs due to email problem
    - customer sees error on screen, and browser asks if customer wants to resubmit form.
    - customer proceeds to do so; and second order is placed.

    ZC does NOT clear the cart after the order gets created: that happens after the email gets sent.

    see:

    https://www.zen-cart.com/showthread....11#post1312911
    https://www.zen-cart.com/showthread....41#post1311441
    https://www.zen-cart.com/showthread....45#post1302345

    good luck!
    I have order confirmation emails send to an admin email as well and emails were received for all orders (meaning the first in the duplicate did not fail - at least for the admin portion). I'm wondering if that means this isn't related to an email failure issue.

  3. #13
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,911
    Plugin Contributions
    13

    Default Re: Order Confirmation Processing Block

    what are the time differences between the original order and the duplicate orders?

  4. #14
    Join Date
    Jun 2007
    Posts
    474
    Plugin Contributions
    2

    Default Re: Order Confirmation Processing Block

    Quote Originally Posted by carlwhat View Post
    what are the time differences between the original order and the duplicate orders?
    One this morning was 11 seconds and another was 9 seconds.

  5. #15
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,911
    Plugin Contributions
    13

    Default Re: Order Confirmation Processing Block

    ok. in my experience, i think we can safely safe it's "probably" not related to an email problem. most of the times when i would see this kind of error, the time differences were significantly greater.

    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.

  6. #16
    Join Date
    Jun 2007
    Posts
    474
    Plugin Contributions
    2

    Default Re: Order Confirmation Processing Block

    It is interesting that non duplicates have an access log like this:
    "POST /index.php?main_page=checkout_confirmation
    "POST /index.php?main_page=checkout_process
    "GET /index.php?main_page=checkout_success&zenid=
    "POST /ipn_main_handler.php HTTP/1.1" 200 - "-" "PayPal IPN

    Whereas the duplicates are like this:
    "POST /index.php?main_page=checkout_confirmation
    "POST /index.php?main_page=checkout_process
    "POST /ipn_main_handler.php HTTP/1.1" 200 (although the timestamp is actually 5 seconds after the next line item)
    "POST /index.php?main_page=checkout_process
    "GET /index.php?main_page=checkout_success&zenid=
    "POST /ipn_main_handler.php HTTP/1.1" 200

  7. #17
    Join Date
    Jun 2007
    Posts
    474
    Plugin Contributions
    2

    Default Re: Order Confirmation Processing Block

    I think I have nailed this down to an issue where the processing time for Paypal is so long that every once in awhile someone will navigate away from the page, come back, and resubmit, before Paypal sends back the confirmation.

    As a result, the cart isn't cleared and the customer is able to place a duplicate order.

    Paypal says they can't speed up processing, so I'm wondering how I could change the 'submitonce()' functionality on the checkout_confirmation button to be a page overlay instead of just a button overlay.

    There are a number of examples online, and this functionality is used in the Numinix Fast and Easy Checkout with Ajax module, but I'm trying to figure out a way to apply it to the standard template.

    Any help would be appreciated.

  8. #18
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,911
    Plugin Contributions
    13

    Default Re: Order Confirmation Processing Block

    seems like a lot of work.... have you tried:

    https://www.zen-cart.com/showthread....76#post1317476
    author of square Webpay.
    mxWorks now has Apple Pay and Google Pay. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  9. #19
    Join Date
    Jun 2007
    Posts
    474
    Plugin Contributions
    2

    Default Re: Order Confirmation Processing Block

    Quote Originally Posted by carlwhat View Post
    seems like a lot of work.... have you tried:

    https://www.zen-cart.com/showthread....76#post1317476

    Nice suggestion.

    As a result I put this in place:
    https://www.zen-cart.com/showthread....00#post1314200

    It isn't a total page overlay, but it at least provides the customer a little more feedback by making the 'processing' image larger and visible even when the mouse isn't hovering over the button.

  10. #20
    Join Date
    Aug 2009
    Location
    Longs, SC
    Posts
    626
    Plugin Contributions
    2

    Default Re: Order Confirmation Processing Block

    Quote Originally Posted by carlwhat View Post
    seems like a lot of work.... have you tried:

    https://www.zen-cart.com/showthread....76#post1317476
    Since implementing that on several client sites they no longer see the duplicate orders. Hope this works for you. Dr B you might want to think about increasing the time in a future update.

 

 
Page 2 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. Duplicate Orders/Order Confirmation
    By Beer_man in forum Managing Customers and Orders
    Replies: 130
    Last Post: 16 Sep 2017, 07:10 PM
  2. v150 v1.5 Duplicate order processing at certain times of the day
    By NWCE in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 24 Sep 2013, 12:10 AM
  3. No order details and duplicate orders??
    By sailsport1 in forum PayPal Website Payments Pro support
    Replies: 8
    Last Post: 6 Jun 2011, 09:06 PM
  4. Duplicate Order Confirmation Emails
    By chrismarie in forum General Questions
    Replies: 2
    Last Post: 15 Mar 2010, 05:02 PM
  5. Replies: 49
    Last Post: 23 Feb 2010, 08:52 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