ovr_IAP_LaunchCheckoutFlow Function
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". ovrMessage_IAP_LaunchCheckoutFlow will be generated in response.
ovrRequest ovr_IAP_LaunchCheckoutFlow(const char *sku)
sku: const char *
IAP sku for the item the user wishes to purchase.