API reference
API reference
Select your platform
No SDKs available
No versions available

ovr_IAP_GetViewerPurchases Function

Retrieve a list of Purchase that the Logged-In-User has made. This list will also contain consumable purchases that have not been consumed. Note: This method returns all purchases, including consumable and non-consumable ones. If you only want to retrieve durable purchases, use get_viewer_purchases_durable_cache instead.
A message with type ovrMessage_IAP_GetViewerPurchases will be generated in response.
First call ovr_Message_IsError() to check if an error occurred.
If no error occurred, the message will contain a payload of type ovrPurchaseArrayHandle. Extract the payload from the message handle with ovr_Message_GetPurchaseArray().

Signature

ovrRequest ovr_IAP_GetViewerPurchases()

Returns