Post

Replies

Boosts

Views

Activity

Restore purchases when testing IAP locally in Xcode 12
Hello, I've been trying out local testing of in-app purchases in Xcode 12, and it seems that I can't restore previously purchased products. More precisely, when I purchase a product and then I tap on it to purchase it again (for free this time) then it works well and I see the new transaction in the Transactions Manager in Xcode as Restored. However, when I use a custom Restore button to initiate a restore process using the restoreCompletedTransactions() method of the StoreKit nothing happens, and the number of transactions in the queue object of the paymentQueueRestoreCompletedTransactionsFinished(:)_ is zero. Are there any steps that I'm missing so I can test product restore locally in Xcode? Thanks for any help in advance!
7
0
6k
Aug ’20