Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
animalballer's avatar
animalballer
Explorer
3 years ago

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

  • 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. 

    • animalballer's avatar
      animalballer
      Explorer

      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's avatar
        cheesepantz
        Protege

        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.