Page 1 of 3 123 LastLast
Results 1 to 10 of 22
  1. #1
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,289
    Plugin Contributions
    22

    Default Duplicate orders in 1.5.3

    I promised I would ask because I don't see how this is possible. A recently upgraded cart (from 1.3.9) is experiencing duplicate orders. Payment method is paypalpro.

    I did find one line in tpl_checkout_payment_default.php that is not supposed to be there and have removed it but I don't see how that could create the situation where the buyer found it necessary to hit the submit button again:

    PHP Code:
    if ($_SESSION['cart']->show_total() == 0) {
         
    zen_redirect(zen_href_link(FILENAME_CHECKOUT_CONFIRMATION'''SSL'));
     } 
    I just don't see anything else. Any ideas?
    The full-time Zen Cart Guru. WizTech4ZC.com

  2. #2
    Join Date
    Dec 2011
    Location
    Wisconsin, USA
    Posts
    674
    Plugin Contributions
    21

    Default Re: Duplicate orders in 1.5.3

    Are you using the stock checkout system or something else?

  3. #3
    Join Date
    Jul 2012
    Posts
    16,719
    Plugin Contributions
    17

    Default Re: Duplicate orders in 1.5.3

    The broadest question to ask might be in what ways is the code on the server different than the code of a fresh install of the same version of ZC (whether it is 1.5.4 or 1.5.3). I'm leaning towards the possibility that one of the includes/modules/pages folders has extra files in it ending with .php.

    So this "duplicate" orders situation, what is the "effect"? Charged twice? Two unique new order numbers? Same order number but email sent out twice? Etc... The detailed observed action would help identify where it could be as well as where it is not (likely) to be in the processing of the order(s)? Does it happen on every order? Every order using just that payment processor? Default template? Etc...
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  4. #4
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,289
    Plugin Contributions
    22

    Default Re: Duplicate orders in 1.5.3

    stock by attributes - yes.

    New up to three separate orders. Customer noticed nothing out of the ordinary. Don't know whether it sent more than one email. Orders happen from 8 seconds to 1 minute apart.
    The full-time Zen Cart Guru. WizTech4ZC.com

  5. #5
    Join Date
    Jan 2014
    Location
    Sydney
    Posts
    17
    Plugin Contributions
    1

    Default Re: Duplicate orders in 1.5.3

    Just seen this happen on a recently upgraded zc 1.5.4.
    3 orders, different order numbers, same paypal ID.
    There was only one item to sell. The quantity on hand became -2.

  6. #6
    Join Date
    Jul 2012
    Posts
    16,719
    Plugin Contributions
    17

    Default Re: Duplicate orders in 1.5.3

    Quote Originally Posted by bruce429 View Post
    Just seen this happen on a recently upgraded zc 1.5.4.
    3 orders, different order numbers, same paypal ID.
    There was only one item to sell. The quantity on hand became -2.
    To try to help identify issue, is SBA installed on that system as well?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  7. #7
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: Duplicate orders in 1.5.3

    Additional payment module and transaction information would also be useful. Where did the module come from (builtin or provide link)? The configuration for the payment module used? Was the module removed and reinstalled / configured after the upgrade? Was a "callback" such as IPN involved (can check the server access logs around the time of the order)? Did the customer actually press the button twice (can check the server access logs around the time of the order)? Any modifications to the default checkout process?

    Maybe another can chime in (I've not worked directly with the PayPal Pro code), but I remember reading somewhere while PayPal Pro does not require IPN, it will accept IPN calls from PayPal to update the order (such as cost adjustments, refunds, etc)...
    Last edited by lhungil; 28 Jan 2015 at 06:23 PM.
    The glass is not half full. The glass is not half empty. The glass is simply too big!
    Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
    Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

  8. #8
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,289
    Plugin Contributions
    22

    Default Re: Duplicate orders in 1.5.3

    PayPal Pro is the actual merchant credit card processor that requires paypal express checkout as its base and therefore does use curl and not the IPN. It is part of the default files.
    The full-time Zen Cart Guru. WizTech4ZC.com

  9. #9
    Join Date
    Jan 2014
    Location
    Sydney
    Posts
    17
    Plugin Contributions
    1

    Default Re: Duplicate orders in 1.5.3

    Quote Originally Posted by mc12345678 View Post
    to try to help identify issue, is sba installed on that system as well?
    no sba.

  10. #10
    Join Date
    Jul 2012
    Posts
    16,719
    Plugin Contributions
    17

    Default Re: Duplicate orders in 1.5.3

    Quote Originally Posted by bruce429 View Post
    no sba.
    Good to know, thank you. What about the questions that lhungil had asked? Please answer as many of those as possible.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. v151 Duplicate Orders
    By Friedrich72 in forum Managing Customers and Orders
    Replies: 25
    Last Post: 1 Aug 2016, 10:35 AM
  2. v139h Duplicate Orders
    By Friedrich72 in forum General Questions
    Replies: 4
    Last Post: 18 Sep 2012, 06:04 AM
  3. Duplicate Orders 1.3.8a
    By chris1974 in forum General Questions
    Replies: 7
    Last Post: 8 Nov 2011, 07:33 PM
  4. [duplicate post] Duplicate Orders
    By chris1974 in forum Bug Reports
    Replies: 2
    Last Post: 3 May 2011, 07:28 PM
  5. Duplicate Orders
    By eradio in forum General Questions
    Replies: 0
    Last Post: 8 Mar 2008, 12:20 AM

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