Forum Discussion
ellioteserin
3 years agoHonored Guest
In-app purchase failed. errorCode=0
Hi, I have been trying to integrate IAPs into a Unity VR project using the Oculus SDK. I have a free consumable add-on defined in the developer console (I haven't set up payment info) and then in my ...
cheesepantz
3 years agoMHCP Member
I can verify this is not the issue right now. Thanks for the extra knowledge. I did not have the consume aspect for consumables. Now I do. But I have both consumables and durable and both throw the error.
I also did a check on the account when I pass entitlement to see if I have anything bought that is not consumed. But I did not.
cheesepantz
3 years agoMHCP Member
I print out a list of all the items the player has purchased. Then consume all those items to make sure any consumable item is cleared from the list.
The problem is that, when I purchase an item oculus returns an error code 0. (I did not have the item purchased before this. Consumable or Durable)
When I check the list of purchased item, I see oculus granted me the item as purchased.
Because I received an error from oculus I did not consume the item.
1. Why does oculus return error code 0 and set the item as purchased?
2. Why does oculus automatically close the accept buy window? When buying an item 3 dots appear and it looks like is about to do something, but then the request gets rejected.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 3 years ago
- 6 months ago
- 4 years agoAnonymous