Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

In App Purchases Sandbox Testing - Old sandbox users keep prompting

I am working on an iphone game with in app purchases. I'm trying to retrieve my sandbox user's previous purchases by calling restoreCompletedTransactions, but no callback is being fired.

I read online from some other people who have had similar issues to delete the sandbox user and try creating a new one. I tried deleting and creating new test users multiple times over the course of a month or so (some users report that it's apple's sandbox servers) but I have had zero luck.

Here's the strange thing, every time I'm prompted for my user credentials on my iphone when I make that restore call, I get prompted for all of my previous sandbox accounts I've ever tried. It's very weird, because I've deleted them from ITunesConnect and also signed out on app store on my IPhone settings.

I've also tried restoring my IPhone - didn't work either.

like image 433
K2xL Avatar asked Apr 06 '12 21:04

K2xL


1 Answers

Once you add a transaction observer iOS will check the default Queue if there is any non completed transaction (which mean you didn't finish it) so it will show the alert box every time there is a transaction until you finish it even if you didn't do any action to add a new payment. so try to call finish transaction for all transactions which currently stuck on the queue.

like image 158
Malek_Jundi Avatar answered Oct 17 '22 17:10

Malek_Jundi