Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question How can I check if an in-app product is purchased before?

Discussion in 'Unity IAP' started by mfatihbarut, Dec 30, 2021.

  1. mfatihbarut

    mfatihbarut

    Joined:
    Apr 11, 2018
    Posts:
    1,058
    Hi,
    How can I check if an in-app product is purchased before?
     
    awsapps likes this.
  2. mfatihbarut

    mfatihbarut

    Joined:
    Apr 11, 2018
    Posts:
    1,058
  3. Baroni

    Baroni

    Joined:
    Aug 20, 2010
    Posts:
    3,168
  4. mfatihbarut

    mfatihbarut

    Joined:
    Apr 11, 2018
    Posts:
    1,058
  5. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    GuirieSanchez likes this.
  6. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    You don't need regex to search the forum. Typically you would start with a Google search like "unity iap check if purchased"
     
  7. NeverTrustShadows

    NeverTrustShadows

    Joined:
    Mar 15, 2020
    Posts:
    13
    dan_ginovker and Eozgungor like this.
  8. Baroni

    Baroni

    Joined:
    Aug 20, 2010
    Posts:
    3,168
    Consumable products can, by definition, purchased multiple times since their receipt history is not stored on the App Stores. In the documentation link I posted, it is also stated that consumable product receipts in Unity IAP cannot be checked. Therefore, your post does not make much sense because you would not really want to check receipts on consumable products. They only exist in the current session.

    My post answered the question on how to restore products that have a receipt. Consumable products cannot be restored.
     
  9. Rachan

    Rachan

    Joined:
    Dec 3, 2012
    Posts:
    660
    What a pity, no way found!
    I finding this solution too, But still not found,
    I maybe have to recode a purchases by PlayerPref my self...
    T T