My application went to some odd state in IAP sandbox... Every time I launch application it is asking for password of particular test user. I guess due to unfinished transaction. I really want to finish that transaction, but it's not possible. Some background info and what I have done for it:
[[SKPaymentQueue defaultQueue] addTransactionObserver:self]
[SKPaymentQueue defaultQueue].transactions.count
is always 0
, so I can't manually finish unfinished transactionsThe only thing is left to change bundle id, which is not desirable in my case. Hopefully someone knows alternative ways how to get rid of unfinished transaction.
I'm putting this here because there are a lot of really bad, bad answers out there that provide WRONG information on how to resolve this problem. It is not that rare, or mysterious or an Apple bug, it's part of the App store design and there to help you get your IAP built right.
DO NOT:
DO:
[[SKPaymentQueue defaultQueue] finishTransaction:transaction];
This is intentional and a pre-caution against interrupted transactions.That's it! Finish all transactions, else you will be sent to the Endless Loop hell of repeated requests to sign into a non-existent test user App Store account every single time your App launches on that device :(
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With