IAP "Sign in to iTunes Store" on every launch

Hi, I am integrating in-app purchases into my game. I integrated it a while ago and have had no problem until today. Now every time I open my app or return to it, an alert box pops up prompting me to “Sign in to iTunes Store” with one of my test accounts. It still happens when I sign out of that account, and even if I uninstall then reinstall the app. I think it may be due to a transaction or restore that was interrupted. Any thoughts on how to fix this? Thanks!

Hi shluamobilegames,

did u resolved this issue, because i am facing the same issue.

And one more thing, when i select restore and select cancel, the restore is working.

Do you know anything about this.

~Thanks

Hi Rohan,

I did eventually fix it. The problem is that a purchase is interrupted, then attempted to be resumed when the app is reopened. But when it is reopened, store.finishTransaction() is never called. I think the reason the for this is that I initialized the store in my “shop” scene instead of in main.lua. Could this be your problem? Also, after I fixed it, the sign in box continued popping up for another day or so, but eventually went away.

Hi shluamobilegames,

did u resolved this issue, because i am facing the same issue.

And one more thing, when i select restore and select cancel, the restore is working.

Do you know anything about this.

~Thanks

Hi Rohan,

I did eventually fix it. The problem is that a purchase is interrupted, then attempted to be resumed when the app is reopened. But when it is reopened, store.finishTransaction() is never called. I think the reason the for this is that I initialized the store in my “shop” scene instead of in main.lua. Could this be your problem? Also, after I fixed it, the sign in box continued popping up for another day or so, but eventually went away.