Fixed IPN handler to use HSS constants rather than WPP