Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 35
  1. #11
    Join Date
    Jan 2004
    Posts
    66,380
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Paypal IPN double orders

    Quote Originally Posted by DMUK View Post
    The IPN handler in ZC? But why is Paypal even invoking it in the first place if the users are paying via the eBay/ Paypal website?
    Because you gave your Zen Cart address as the Instant Payment Notification URL in your PayPal account profile settings. But, since you need the IPN feature enabled if you're going to use the IPN module, you've got to point it to "something".
    You could point it to someplace else if you like, as long as that "other place" will acknowledge the IPNs it receives. Zen Cart will still tell PayPal to notify your Zen Cart store when the IPN relates to your Zen Cart transactions.

    Granted, you could always turn off the IPN module in your store, and use Express Checkout instead.

    Quote Originally Posted by DMUK View Post
    In the case of the double orders, is what is contained within those code snippets enough to trigger two orders? The first one seem like it's just an array, whereas the second one has various success statements and references a ZC order ID.
    Well, since you stripped out all the actual transaction data, I can't verify anything about them.
    The first of the 3 you shared is just a display of the info being submitted to PayPal. It's not really needed for anything unless you believe PayPal is changing the data once they receive it ... that's very rare.
    But, looking at the 2nd two files you shared, and strictly looking at the transaction amounts, I don't see how you think they're duplicates. One is for 4.99 and says it was successful, and the other for 14.30 and was not successful because it didn't find an existing matching order waiting for IPN validation ... which suggests it didn't even come from Zen Cart in the first place.

    If you've shared *all* the log data you have, then there's nothing obvious indicating the cause for duplicates. Maybe you have an addon that's clashing somewhere?
    .

    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
    Nov 2006
    Posts
    46
    Plugin Contributions
    0

    Default Re: Paypal IPN double orders

    Quote Originally Posted by DrByte View Post
    Because you gave your Zen Cart address as the Instant Payment Notification URL in your PayPal account profile settings. But, since you need the IPN feature enabled if you're going to use the IPN module, you've got to point it to "something".
    You could point it to someplace else if you like, as long as that "other place" will acknowledge the IPNs it receives. Zen Cart will still tell PayPal to notify your Zen Cart store when the IPN relates to your Zen Cart transactions.

    Granted, you could always turn off the IPN module in your store, and use Express Checkout instead.
    Understood - thank you. I think I will look into Express Checkout if it doesn't remove any functionality, like paying with debit card without being forced to open a Paypal account.

    Quote Originally Posted by DrByte View Post

    Well, since you stripped out all the actual transaction data, I can't verify anything about them.
    The first of the 3 you shared is just a display of the info being submitted to PayPal. It's not really needed for anything unless you believe PayPal is changing the data once they receive it ... that's very rare.
    But, looking at the 2nd two files you shared, and strictly looking at the transaction amounts, I don't see how you think they're duplicates. One is for 4.99 and says it was successful, and the other for 14.30 and was not successful because it didn't find an existing matching order waiting for IPN validation ... which suggests it didn't even come from Zen Cart in the first place.
    Sorry, I should have been clearer, the first two snippets of code in my post are the ones that are identical, or at least are from the same person. The third snippet is one of the eBay notices.

    In the first two, all the transaction data is the same, with the exception the second seems to be the one actually carrying out the order and transaction, whereas the first just seems to place an order.

  3. #13
    Join Date
    Jan 2004
    Posts
    66,380
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Paypal IPN double orders

    Quote Originally Posted by DMUK View Post
    In the first two, all the transaction data is the same, with the exception the second seems to be the one actually carrying out the order and transaction, whereas the first just seems to place an order.
    Then they contain what I would expect them to contain when working normally.
    They're not giving any reason for duplications occurring.
    .

    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.

  4. #14
    Join Date
    Nov 2006
    Posts
    46
    Plugin Contributions
    0

    Default Re: Paypal IPN double orders

    Quote Originally Posted by DrByte View Post
    Then they contain what I would expect them to contain when working normally.
    They're not giving any reason for duplications occurring.
    Drat! :) So it is perfectly normal to expect two separate *.log files per Paypal IPN transaction.

    Regarding Paypal Express, I am finding contradicting statements on this site regarding whether users can pay without a Paypal account.

    I am also alarmed to read that standard website payments/IPN method does not report payments to the cart if theu user doesn't setup a Paypal account. If this bug on Paypal's side is still present, it seems awfully convenient leverage to a cart exclusively requiring a Paypal account or upgrading to Pro.

  5. #15
    Join Date
    Nov 2006
    Posts
    46
    Plugin Contributions
    0

    Default Re: Paypal IPN double orders

    If the two logs show a single transaction and that's normal - is there anything else I can do to investigate why ZC is showing two orders?

  6. #16
    Join Date
    Nov 2006
    Posts
    46
    Plugin Contributions
    0

    Default Re: Paypal IPN double orders

    Now it has started to send some orders through once and some in double. The plot thickens.

  7. #17
    Join Date
    Nov 2006
    Posts
    46
    Plugin Contributions
    0

    application error Re: Paypal IPN double orders

    As much as I hate posting the fourth successive post to my own thread, I am really at a loss here.

    According to Dr Byte, the IPN logs indicate normal activity (just to clarify, that's two separate log files per transaction, right?) which means this is not a problem with Paypal, which leaves, Zen Cart, environment, user error or customer action. I am 99.9% sure it's not user error simply based on how long I spent trying to rectify it, and I can rule customer action out as it's happening to nearly everyone.

    That leaves ZC and environment issues - are there any further things I can do to try and isolate this issue?

    Thanks

    DMUK

  8. #18
    Join Date
    Nov 2007
    Posts
    71
    Plugin Contributions
    0

    Default Re: Paypal IPN double orders

    Quote Originally Posted by DMUK View Post
    As much as I hate posting the fourth successive post to my own thread, I am really at a loss here.

    According to Dr Byte, the IPN logs indicate normal activity (just to clarify, that's two separate log files per transaction, right?) which means this is not a problem with Paypal, which leaves, Zen Cart, environment, user error or customer action. I am 99.9% sure it's not user error simply based on how long I spent trying to rectify it, and I can rule customer action out as it's happening to nearly everyone.

    That leaves ZC and environment issues - are there any further things I can do to try and isolate this issue?

    Thanks

    DMUK
    Not thats its of any help but just for reference, but ive had something similar happen when using Protx Form (dont use paypal on this particular zen cart site), one order came through twice on the shop with different order numbers, but just one payment was taken, then recently 3 orders came through with just one payment. Perhaps it is a Zen Cart glitch?

  9. #19
    Join Date
    Nov 2006
    Posts
    46
    Plugin Contributions
    0

    Default Re: Paypal IPN double orders

    It's certainly weird, but in the absence of tonnes of ZC users reporting the same issues en masse, it seems fairly localised to me (and you).

    it was all triggered by a PHP upgrade, and the normal *fix* did not seem to work, nor a new update.

    Right now, my customers are still getting two emails per order, creating much confusion and I am clueless to fix it

  10. #20
    Join Date
    Nov 2006
    Posts
    46
    Plugin Contributions
    0

    Default Re: Paypal IPN double orders

    Okay, so I am officially at the end of my tether with this and about to throw the screen out the window. I have searched, and searched, and pored over everything here but nothing I do stops the duplicate orders occurring. I am now at the point where I start to consider porting from Zencart to something else because the customer experience is being affected with no light at the end of the tunnel. I don't want to do that (not least because I have not confirmed it's an issue with ZC so it's hardly a guaranteed solution).

    Can anybody offer me a new path to try? A setting to check, a server value to investigate?

 

 
Page 2 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. Double-Order, One Charge (a bug in the PayPal IPN - Website Payments Standard?)
    By ilikemike in forum Built-in Shipping and Payment Modules
    Replies: 20
    Last Post: 30 Dec 2011, 04:40 PM
  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 new orders not showing on Customers/Orders page
    By daelan in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 1 Feb 2010, 02:23 AM
  4. PayPal IPN - Double Posting of sale No Admin Listing
    By Jandor in forum Built-in Shipping and Payment Modules
    Replies: 13
    Last Post: 22 Feb 2008, 03:47 PM
  5. Orders not showing up in Paypal or ZC admin (PayPal IPN module)
    By Edgar in forum Managing Customers and Orders
    Replies: 70
    Last Post: 20 Nov 2007, 06:24 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