Re: Paypal IPN Duplicate Orders
Here is my latest reply back from Paypal Technical, I am really quite upset that they don't even seem to read my emails to them properly
Code:
Dear Lissa,
We have already verified that we do not send a txn_type of unique through either IPN or PDT. I have seen that this variable is used by Zen Cart in the Zen Cart forums. The only thing more you could do is implement raw logging to see what you are actually receiving from us.
I do see that your shopping cart is passing the variable rm=2 which causes the return method to be a POST.
From HTML posted by your cart:
<input type="hidden" name="rm" value="2" />
According to our docs at https://cms.paypal.com/us/cgi-bin/?c...t_ID=developer/e_howto_html_Appx_websitestandard_htmlvariables, "If set to “2” and if a “return” value is submitted, the buyer will be sent back to the return URL using a POST method, to which all available transaction variables will also be posted."
If it is an option within the Zen Cart you may want to change that variable to "1" so that the return is a GET. Or just remove that line altogether. With PDT the information is sent via a GET so it would be best to avoid conflicting instructions.
Since you are using both IPN and PDT you will receive duplicate posts from PayPal. The only thing further I could recommend is disabling one or the other, or adjust the coding in your script to deal with duplicate posts.
Regards,
Is this even worth trying? And where would I change it to try?
This is my reply to PP, I really cannot see how on earth it can be the fault of the cart script when it started happening right out of the blue with no changes, and has happened not only on a clean install but a new different server but maybe I am just being one-eyed and blind cos I cannot see anything else to try
Code:
[FONT=Calibri]I will post this on the ZC forum but I am just over this, didn't you read that I HAVE THE PDT TURNED OFF AND AM STILL RECEIVING DUPLICATE POSTS, and there are dozens of posts on the ZC forum where unique is exactly the txn_type received from Paypal, take a read through the reward points thread as this has been a thorn in the developer's side from the start.[/FONT]
[FONT=Calibri]Every single normal order I had through Paypal before activating the PDT was of the txn_type unique, it was ONLY when activating the PDT that it changed to web_accept.[/FONT]
[FONT=Calibri]My cart is passing NOTHING different to the thousands of ZC other carts operating out there yet there are a handful of us reporting this type of issue....and you are going to persist in blaming it on the cart despite in my case, my having tested it on a clean install, moved servers and implemented everything suggested to me and still nothing changes.[/FONT]
[FONT=Calibri]At this point in time I would like to deal with another technical officer as I do not feel you are in the slightest willing to look any further into this except to keep placing the fault at a cart that had NO CHANGES MADE when this all started happening[/FONT]
[FONT=Calibri]Lissa
[/FONT]
[FONT=Calibri]
[/FONT]
Re: Paypal IPN Duplicate Orders
http://www.zen-cart.com/forum/showth...352#post854352
P.S. There are alot of posts for this issue. I hope this makes it to those posts and it fixes your issues.