Skip to main content
New Participant
Feb 23, 2024 11:32 AM UTC

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?

    This topic has been closed for replies.

    2 replies

    New Participant
    Apr 8, 2024 4:17 PM UTC

    Im seeing this exact same issue. Did you ever find the solution?

    Participant
    Sep 28, 2024 10:50 PM UTC

    7 months after, I'm still getting the same error.