Hi,
Every time I test my app with in sandbox mode, it always ask me to login with sandbox account "test2@guava7.com" (one of my test accounts), but never success. So, I have to press cancel to continue.
When I purchase an item, it says "you have already purchased this in app purchase but it hasn't been downloaded" and ask password again (and never success too).
Have you got this issue before ?
Comments
Likes: SinisterSoft
Author of Learn Lua for iOS Game Development from Apress ( http://www.apress.com/9781430246626 )
Cool Vizify Profile at https://www.vizify.com/oz-apps
Trouble is, as I think happened to me, I started a transaction and my beautifully written Gideros code crashed before the "finishTransaction" ever got called. Okay, it wasn't THAT beautifully written!
In the Xcode world they discuss ways of accessing the purchaseQueue to clear it, but I'm not sure how to do this from within Gideros. Perhaps one of you will have an idea. Here's a link to some Applese/Xcode stuff that may be relevant:
(Can't post a link, this came from StackOverflow: how-to-start-a-download-upon-this-storekit-message )
QUOTE:
You have some unfinished transactions in the payment queue. To finish them check the paymentQueue.transactions array right after adding your observer with addTransactionObserver: method. If it contains some transactions handle them the way you do in your paymentQueue:updatedTransactions: method. If you don't, paymentQueue:updatedTransactions: is not called for them because they were already in the queue when you have registered the observer.
By the way, make sure you call finishTransaction: for all of your transactions even if they have failed. Otherwise they will stay in the payment queue and cause this issue.
ENDQUOTE
Is this the Labs IAP system you mean?
https://deluxepixel.com
I call the isavailable in a way the the event then calls the purchase - it seems like it's the isAvailable that does the login. You don't want to call the isavailable without doing a purchase as they will have to login twice/they might not be logged in later when they want to make the purchase.
https://deluxepixel.com
https://deluxepixel.com