No response from [[SKPaymentQueue defaultQueue] restoreCompletedTransactions]

I am trying to set up in-app purchases for my Mac application. The product purchase is working fine, but I could not get the [[SKPaymentQueue defaultQueue] restoreCompletedTransactions].

A transaction explorer is installed (otherwise the purchase will not work) and use [[SKPaymentQueue defaultQueue] restoreCompletedTransactions] to restore all previous purchases.

StoreKit should now use paymentQueue: updatedTransactions: to restore transactions and paymentQueueRestoreCompletedTransactionsFinished: or paymentQueue: restoreCompletedTransactionsFailedWithError: to report success or failure. But these methods are not called. There is absolutely no answer.

If I use [[SKPaymentQueue defaultQueue] restoreCompletedTransactions], I get the following output:

Ignoring restoreCompletedTransactions because it already restores transactions

There are many discussions where restoreCompletedTransactions returns an empty result. But in my case there is simply no result.

How can I find out what is going wrong?

+8
source share
1

AFAIK InApp .

!

0

All Articles