Added ipn_valid? method to validate IPN message