Results 1 to 5 of 5
  1. #1
    Join Date
    Oct 2005
    Posts
    287
    Plugin Contributions
    0

    red flag Paypal IPN Issuing Duplicate Orders

    I use Paypal IPN as one of my payment methods.

    I had the settings tweaked 2 months ago when I was getting duplicate orders with one payment transaction (I dont recall the tweak) , everything was fine after that.

    However suddenly since the last 2 days we are getting duplicate orders again , the transactions id's are the same and the order numbers are consecutive .

    What can I do to solve this problem , this has happened about 5 times in 2 days
    Last edited by harry2cool; 18 Aug 2008 at 06:18 AM. Reason: Icon not assigned

  2. #2
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Paypal IPN Issuing Duplicate Orders

    Log a ticket with PayPal www.paypal.com/mts

    Meanwhile, turn on debug logging and check the 2nd line of the logs for the originating address, and see if you're getting duplicates because of duplicate transmissions from PayPal: http://www.zen-cart.com/forum/showth...477#post598477
    .

    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.

  3. #3
    Join Date
    Oct 2005
    Posts
    287
    Plugin Contributions
    0

    Default Re: Paypal IPN Issuing Duplicate Orders

    Thanks for the reply.

    I have opened a ticket and will let you know about the log report.

  4. #4
    Join Date
    Mar 2006
    Posts
    3
    Plugin Contributions
    0

    Default Re: Paypal IPN Issuing Duplicate Orders

    I've got more info on this and some thoughts on fixing it (there's a discussion here - http://www.zen-cart.com/forum/showth...553#post598553 about this problem). I've looked at my log files and reviewed the PayPal module code to figure out what's happening.

    We're getting multiple IPN responses from PayPal. This seems to have started recently (in the last few days from looking at some other forums as well). The responses are so close together (I have one case of four in the same minute), that when the presence of the TXN_ID is checked for in the paypal table, the TXN_ID is not there yet so each process adds it's own order to the order table and it's own entry in the paypal table.

    It seems to be clearly a PayPal problem, and the timing of the multiple responses makes it difficult to solve. A perfect solution involves making the test for the TXN_ID and the insertion of the record an atomic operation.

    I'd be happy to collaborate on a fix with someone who has more knowledge of the PayPal module design.

    david

  5. #5
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Paypal IPN Issuing Duplicate Orders

    It was a PayPal system bug. They fixed it at 4:50AM today:

    http://www.pdncommunity.com/pdn/blog...sage.uid=92385
    .

    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.

 

 

Similar Threads

  1. Duplicate Orders (Paypal IPN and GV/DC)
    By barrow_matt in forum Managing Customers and Orders
    Replies: 3
    Last Post: 24 Nov 2010, 12:03 AM
  2. Paypal IPN Duplicate Orders
    By LissaE in forum Built-in Shipping and Payment Modules
    Replies: 11
    Last Post: 10 Mar 2010, 06:02 PM
  3. PayPal IPN Duplicate orders
    By mtrinh27 in forum PayPal Express Checkout support
    Replies: 1
    Last Post: 16 Jan 2010, 07:59 PM
  4. [Done 1.3.9] Duplicate paypal IPN orders
    By gothstone in forum Bug Reports
    Replies: 0
    Last Post: 5 Feb 2008, 01:33 PM
  5. Paypal IPN - Duplicate orders
    By devlyn in forum PayPal Express Checkout support
    Replies: 2
    Last Post: 14 Jun 2007, 08:46 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