woothemes/woocommerce — pull request #2063 by jesusangel (2012-12-26 22:09:31+00:00)
Title: Added receiver_email check in check_ipn_request_is_valid

Hi,

PayPal IPN documentation suggest some checks the IPN listener should take. One of them is this:

"Verify that you are the intended recipient of the IPN message by checking the email address in the message; this handles a situation where another merchant could accidentally or intentionally attempt to use your listener. "

I have added this test to check_ipn_request_is_valid method in WC_PayPal class.

Kind regards.