Skip to main content
Participant
December 17, 2022

Bug with In-App Purchases (IAP)

This is a bug in the Meta IAP system. It's pretty simple to replicate.

1. Have an app lab game
2. add IAP item in Platform Services 
3. change the price in Platform Services
4. Try to buy using IAP API.
5. Expected. Oculus purchase prompt pops up. Actual: "Error 0: Cancelled"

Note: 

This works totally fine if you don't change the price 

5 replies

Participant
December 21, 2022

Some Example Items: 
Chef Hat
Shark Head

cheesepantz
Inspiring
December 21, 2022

Yeah there are multiple post of the same issue. I tried submitting a ticket but it was a either outsourced or an AI bot lol. Didn't help at all. Just said they could not process request and to use forums. 

Participant
December 21, 2022

How does the bug manifest for you. I’m like 99% sure our code is correct. Ran it in debug mode and the SKUs are correct

cheesepantz
Inspiring
December 21, 2022

Yeah our sku is correct. I would assume if it wasn't it would give another error. Which we could test. Is weird that there is no documentation with what each code means. Their back end is all kinds of messed up. My guess is that it works once game is launched but there needs to be a way to test before launching. 

Here are the things we have checked:
Entitlement pass? Yes
IAP for purchases set up on the back end and approved? Yes
Do we have payment information set up for the company that owns the app? Yes
Do we have the correct App ID on the oculus platform? Yes
Do we initialize the right App when setting up Oculus.Initialize? Yes
Don't know what else to check.