Is paymentQueueRestoreCompletedTransactionsFinished: called after the finishTransaction method has been called?

My class observes an SKPaymentQueue . I'm calling:

 [[SKPaymentQueue defaultQueue] restoreCompletedTransactions]; 

The documentation for paymentQueueRestoreCompletedTransactionsFinished: states:

"This method is called after all recoverable transactions have been processed by the payment queue."

To be too clear, this means that it is called when:

  • There are no items to restore (or does this result in a call to paymentQueue:restoreCompletedTransactionsFailedWithError: :?)
  • finishTransaction is called for every transaction returned by the restore call.

If not right, what is right?

+4
source share

All Articles