Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

What causes the Unity Purchasing Unavailable error in unity?

Discussion in 'Unity IAP' started by Fyrebend, May 4, 2019.

  1. Fyrebend

    Fyrebend

    Joined:
    Apr 28, 2019
    Posts:
    18
    I am trying to set up IAP in my game now, but no matter what i do, i cant get past this error. I cant even test it on my device because this error wont even show the mock store in the unity editor. any ideas what causes this?
     
  2. Deleted User

    Deleted User

    Guest

    Is the In App Purchasing package installed? If it is, is it up to date?
     
  3. Fyrebend

    Fyrebend

    Joined:
    Apr 28, 2019
    Posts:
    18
    installed as in imported from the services tab? if so then yes. and i just updated the import through the asset store, so i think i should be up to date.
     
  4. Deleted User

    Deleted User

    Guest

    No, from the Package Manager. What version of Unity are you using?
     
  5. Fyrebend

    Fyrebend

    Joined:
    Apr 28, 2019
    Posts:
    18
    I am using unity 2019.1.0f2 personal.
     
  6. Fyrebend

    Fyrebend

    Joined:
    Apr 28, 2019
    Posts:
    18
    and i am using unity IAP version 2.0.6
     
  7. Deleted User

    Deleted User

    Guest

    If you installed In App Purchasing through the Asset Store, remove it and install the version you'll find in the Package Manager instead.
     
  8. Fyrebend

    Fyrebend

    Joined:
    Apr 28, 2019
    Posts:
    18
    Ok so i did that, and now it works perfectly in the editor. but when i go through google play, nothing happens when i click the button on the actual app. i see feedback of the button being clicked but no prompt to purchase comes up. I have the products listed in the google play console but nothing comes up.
     
  9. Deleted User

    Deleted User

    Guest

    That's an entirely new problem. Maybe you should create a new thread; I cannot help you there. :)
     
  10. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    Please provide the device logs
     
  11. Fyrebend

    Fyrebend

    Joined:
    Apr 28, 2019
    Posts:
    18
    the entire log, or a snippet around the purchase log?
     
  12. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446