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

[Solved] IAP "Product Not Available for Purchase" (Android)

Discussion in 'Unity IAP' started by AVataRR616, Apr 14, 2017.

Thread Status:
Not open for further replies.
  1. AVataRR616

    AVataRR616

    Joined:
    Feb 27, 2013
    Posts:
    21
    Hi,

    I'm trying to fix an issue I have with my game Petflix: play.google.com/store/apps/details?id=com.QuantumShadeInteractive.PetFlix

    I've been updating the game recently, but It seems the connection from the Google Play Store and the project has been broken. Whenever I do a test build, I always get the "product unavailable for purchase" error. The purchase button still works in the production version that's on the Play store now, but not at all functioning when I build new APK's.

    I've tried:
    -Removing the FB plugin
    -Reinstalling the IAP plugin
    -Remaking my IAP catalogue
    -Creating new products in the Google Play store...

    Pretty much at my limit now. Don't know how to proceed. Has anyone seen anything like this?
     
  2. unityjingyao

    unityjingyao

    Unity Technologies

    Joined:
    Feb 20, 2017
    Posts:
    220
    Hi. How do you install and test your game?
    You cannot install your game from a apk file directly. You must install it from Google play(or side load it on top of an app installed from Google play).
    And Google Play does not allow publishers to buy their own products. So you need to sign up a new Google play account and add it as your test account in Google play developer console.

    Where did you get the error message? from console or a popup when you press buy button?
     
    awais124 likes this.
  3. AVataRR616

    AVataRR616

    Joined:
    Feb 27, 2013
    Posts:
    21
    Hi JingYao,

    The game is online right now: Petflix: play.google.com/store/apps/details?id=com.QuantumShadeInteractive.PetFlix

    I have disabled the purchasing button because of the problems I described above. I have done all this previously and it was working on Petflix until the latest version. The error message comes up on the Android device when I do a test build from Unity.

    Seems to be all fixed with Unity 5.6 though. :) Thanks for your attention. :) :)
     
Thread Status:
Not open for further replies.