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

IAP: BuyProductID: FAIL. Not initialized In-App Purchases error

Discussion in 'Unity IAP' started by chelder, Oct 25, 2019.

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

    chelder

    Joined:
    Apr 21, 2015
    Posts:
    14
    I'm asking this question here because it seems Apple related and not Unity3D related: https://forums.developer.apple.com/message/390309

    However, they asked me to ask here, so that I'm doing as well:

    We have been weeks trying to solve this issue. The review team says it's a bug of our App... However it worked right after adding bank and taxes on https://appstoreconnect.apple.com.

    Unfortunately, when the review team reviewed it, it stopped working with the error "BuyProductID: FAIL. Not initialized". We checked it again, it was not working for us either.

    So it seems to work or not randomly. Or at least it was working, then it stopped to work without changing anything.

    Any idea of what could be going on?

    The thing is that the same app works sometimes and sometimes do not. As far as I know, we do not use any server besides the Apple IAP service. So if the same code sometimes works and sometimes do not and the only thing that can be different is related to Apple. I think the issue is Apple related, so that's why I'm asking here. Don't you think? Thanks for your answer!

    As I said it worked a short time after adding bank details and taxes form on Apple. Then it stopped working after one day and no changes. Apple reviewevers says it's something about the code, but the code has not changed... Why it was working during some time then stopped if the code is the same?
    e this issue. The review team says it's a bug of our App... However it worked right after adding bank and taxes on https://appstoreconnect.apple.com.

    Unfortunately, when the review team reviewed it, it stopped working with the error "BuyProductID: FAIL. Not initialized". We checked it again, it was not working for us either.

    So it seems to work or not randomly. Or at least it was working, then it stopped to work without changing anything.

    Any idea of what could be going on?

    Thanks

    Carlos
     
  2. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
  3. chelder

    chelder

    Joined:
    Apr 21, 2015
    Posts:
    14
    Actually the error says: FAIL. Not initialized, so initialize did not succedded

    It's working on Android / Google Play, by the way.

    We can't capture errors in that way because no one have both Mac and iPhone. I've Mac, but not iPhone. The other devolper has iPhone, but not Mac xD

    Someway to print the output logs on the app itself?

    Thankss
     
  4. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    So you've been publishing to the App Store without testing on an actual device? Probably not the best approach, which probably led to this situation. Can't you two developers just get together to test their device on your Mac? This IAP Sample App outputs the log to the UI (very handy!) https://forum.unity.com/threads/sample-iap-project.529555/
     
  5. BurningthumbStudios

    BurningthumbStudios

    Joined:
    Apr 28, 2008
    Posts:
    95
    I had this problem when I had the wrong product ID, so it was not found.
     
Thread Status:
Not open for further replies.