Launch the checkout flow to purchase the existing product. Oculus Home tries handle and fix as many errors as possible. Home returns the appropriate error message and how to resolve it, if possible. Returns a purchase on success, and an error on user cancellation or other errors.In the case of a user cancelation, the
ovr_Error_GetMessage() value will contain a JSON object with a "category" property containing a value of "user_canceled".
ParametersskuIAP sku for the item the user wishes to purchase.
A message with type
ovrMessage_IAP_LaunchCheckoutFlow 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
ovrPurchaseHandle. Extract the payload from the message handle with
ovr_Message_GetPurchase().