Forum Discussion
tomeu_puig
2 years agoHonored Guest
GetViewerPurchases() suddenly stopped working.
Hi,
We are currently working on integrating in-app purchases (IAPs), and to verify user purchases (using test users), we are utilizing the Unity function "GetViewerPurchases()" to retrieve a list of purchased items. We previously had a build where everything functioned correctly with this method. However, suddenly, the function began returning 0 purchased items even though the user had indeed made purchases. It suddenly stopped working properly when no code modifications were made.
Interestingly, when we test this function in the Unity Editor, it behaves as expected and retrieves the purchases. However, this functionality does not work as expected when testing on the headset.
We are wondering what could be causing it. Has anyone else experienced a similar problem?
2 Replies
Replies have been turned off for this discussion
- AaronLab42Honored Guest
Im seeing this exact same issue. Did you ever find the solution?
- clrkeHonored Guest
7 months after, I'm still getting the same error.
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