Move all print statements outside of the validateReceipt function to make it more re-usable.