added external methods to perform Apple receipt validation