Type Function Return value none Revision 2017.3113 Keywords Apple, IAP, in-app purchases, restore store.purchase() store.*
Users who wipe the information on a device or buy a new device may wish to restore previously purchased items. This function initiates the process of retrieving all valid purchases.
For Apple IAP, the transaction state of restored items will be
"restored" and the
originalDate fields of the transaction object will provide context about the original purchase.