Paypal ipn notification twice

First, my notification script runs twice: VERIFIED and the second INVALID.

I tried different ipn verification scripts and always got them twice.

I use sandbox, maybe the seller account settings are wrong? I set IPN by specifying url and auto return. Also in the form there is return and notify_url set

+2
source share
2 answers

I remember that the documentation says that duplicates are possible - it's just the nature of the Internet. That is why it gives a unique transaction identifier. You should use this to prevent bad things from happening if you get notified twice.

Best question: why does it say Verified and then Invalid? Or is this normal?

EDIT

: "PayPal , , PayPal INVALID, , ". , "" PayPak , . , , PayPal INVALID, . , , , . .

2

URL- PayPal . , , . , . ( - ), PayPal script, URL- . , , , , , , ..

+3

MySQL , '$ _POST [' txn_id ']' , , $ _POST, paypal URL- ,

0

All Articles