I am currently testing an IPN script in PHP using the Paypal sandbox.
Everything seems to be working fine, except that it seems to hit twice every time. I typed some code right at the top to just send me an email notification, so I know the script was executed. I get this warning twice with every transaction.
I can even comment on everything in my script except this line, and I still get it twice, so I think I can be reasonably sure that the problem is not in my IPN script, but at the end of Paypal.
I donβt know if this means that I have some setup in my Paypal account, or if there is a normal part of Paypal work that I donβt understand or what is happening. I am sure that my IPN script should not be run twice for each transaction.
Is there a reason my IPN script will hit twice? Is there something I can or should do about this?
Update:
I confirmed that a double hit occurs every time.
Actually the difference is in the two emails that I receive. One has a variable payment_date, and the other a variable subscr_date. The variable is subscr_dateset within a few seconds after payment_date.
, , , , : , - . IPN script , , ( - ) . , , , , , , .
, , , . .
, ... , , ?