I'm working with PayPal IPN and I have the following question: Is it possible, to have two IPN messages with the same txn_id and payment_status parameter?
For example:
- IPN: txn_id=4BB79227HY951745W&payment_status=pending
- IPN: txn_id=4BB79227HY951745W&payment_status=idontknowwhat
- IPN: tnx_id=4BB79227HY951745W&payment_status=pending
- IPN: txn_id=4BB79227HY951745W&payment_status=completed
So my question is basically that the txn_id and the payment_status together make the messages unique, or not?
Another example:
If I have an SQL query like:
SELECT * FROM transactions WHERE txn_id=4BB79227HY951745W AND payment_status=something
Can it returns with more than one rows? (If I don't store any messages re-sent by PayPal because of the lack of 200 OK response message or slow response time or anything like this.)
I read this thread before: PayPal IPN unique identifier . Here it sounds that these two parameters make the message unique, but i'm not sure.