What is the correct way to detect the user cancelling a purchase during the checkout flow in Unity, please?
The docs say "Returns a purchase on success, empty purchase on cancel, and an error on error".
With a test user on GearVR, message.IsError is coming back true, with message "An Unknown error occurred". Does this indicate a cancelled purchase? With the same code on Rift, message.IsError is false, and message.GetPurchase() returns a purchase with null sku, ID 0, and GrantTime and ExpirationTime both set to 1/1/1970. Are any of these sufficient conditions to detect a cancelled purchase, please?