objective c - iOS IAP receipt validation error handling -
i have bunch of iaps in ios application, , have implemented receipt validation iaps.
i'm wondering error handling should doing if receipt validation request fails.
so, have user legitimately purchases 1 of iaps, transaction successful request verify receipt fails whatever reason (e.g. no connection, apple's server down). assume user have been charged because transaction successful, validation failed user not have been given content.
what should in situation? know might rare case want account anyway.
i thinking save receipt persistent storage , retry receipt validation in background until succeeds. viable option? receipts remain valid forever or expire after amount of time?
i couldn't find information on apple's documentation i'm asking guys.
thanks in advance
Comments
Post a Comment