added more error handling to the parsing of IAP prices