Search Unity

unity codeless IAP

Discussion in 'Unity IAP' started by shreyanshanchlia, Feb 6, 2019.

  1. shreyanshanchlia

    shreyanshanchlia

    Joined:
    Jun 7, 2018
    Posts:
    21
    I have implemented codeless IAP successfully in unity editor and is showing the fake store but when I published it using google play alpha closed test after linking the iap to google play console it is not working on my android phone. I don't have tester account same as the developer account so that is also not an issue. I'm using unity 2018.3.
    in codeless IAP there is a text option called price text so I have put the cost of my purchases in it and it is working and updating the cost correctly(loading from play console). But the window is not showing up to purchase that item.
     
  2. JeffDUnity3D

    JeffDUnity3D

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

    shreyanshanchlia

    Joined:
    Jun 7, 2018
    Posts:
    21
    upload_2019-2-10_11-32-49.png
    this is what I am getting when clicking on IAP buttons but that screen to purchase is not appearing.

    Here I have tried three different items to purchase all having the same result. I cannot understand what's wrong in this. I am connected to the net, it's updating the cost of each product from in-app products from the play store as I had put the cost in the price text column in unity codeless IAP button.
    can someone help me out with this I'm really stuck at this point I'm not able to get the issue.
     
    Last edited: Feb 11, 2019
  4. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    I see the issue. When you imported IAP, you were prompted to update the Unity API, and asked if you had made a backup before continuing. You MUST say yes to this prompt. It is a known issue if you do not, and you will get the VR error as you have (the VR API has been renamed to XR, leading to the error, even if you are not using VR). The upgrade process is described here: https://forum.unity.com/threads/iap-troubleshooting-remove-and-reinstall-unity-iap.511747/
     
    shreyanshanchlia likes this.
  5. shreyanshanchlia

    shreyanshanchlia

    Joined:
    Jun 7, 2018
    Posts:
    21
    Thanks a lot. This works.