Skip to main content
New Participant
February 23, 2024

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
    April 8, 2024

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

    Participant
    September 28, 2024

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