Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice

How to get a value of IAP purchase in google play store (subs and unsubs value)

Discussion in 'Getting Started' started by unity_otRnsH7S9HqG2g, Aug 18, 2023.

  1. unity_otRnsH7S9HqG2g


    Jun 10, 2022
    hai everyone, i have a problem with my unity IAP subscription system from my apps that i uploaded to google play console. i am using IAP button legacy and have 2 script that have playerprefs.
    i want my apps get the value when user has been subs or not.
    my apps already read the value when user subscribe in the first time, its turn 1 and the gameobject that cover my premium content is missing. but when the subs is canceled, the game object is still missing, i want the game object is appears to cover the premium content. how to solve that?
    take a look my script and the screenshot of my IAP button.

    Attached Files: