phonegap/phonegap-plugins — pull request #194 by tf (2011-10-24 16:29:40+00:00)
Title: Add callback handlers for restoreCompletedTransactions of ios in app purc

Add callback handlers for restoreCompletedTransactions of ios in app purchase.

After restoring completed transactions, the payment queue observer is
notified by a call to either
paymentQueue:restoreCompletedTransactionsFailedWithError: or
paymentQueueRestoreCompletedTransactionsFinished:. This patch
delegates calls to these methods to callback functions on the
plugins.inAppPurchaseManager.