Updated IPN handler [ci skip]