First version of IPN Handler