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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Resolved Codeless IAP not working on Google play Alpha

Discussion in 'Unity IAP' started by nestorortiz017, Jan 15, 2023.

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

    nestorortiz017

    Joined:
    Oct 23, 2020
    Posts:
    8
    I'm trying to implement a remove ads button on my game, everything works fine on editor, but in the build and in the alpha published on google play i'm having these errors when i start the game:

    upload_2023-1-14_23-13-22.png

    The product in play console is active, same id, and i dont know what is going wrong.

    What can i do?
     

    Attached Files:

  2. glenhunter

    glenhunter

    Unity Technologies

    Joined:
    Apr 2, 2019
    Posts:
    92
    Hi there, you will need to ensure the bundle identifier matches the one you uploaded to the app store.

    Can you also share a device log and a screenshot of the in-app products section in your apps Google Play console - including the current status of each product defined?

    Can you also try to delete the app on your device and directly download your Alpha build from Google?
     
    Arnaud_Gorain likes this.
  3. nestorortiz017

    nestorortiz017

    Joined:
    Oct 23, 2020
    Posts:
    8
    Hi, i'm using the version uploaded to google play, i have deleted and reinstalled the app 2 times.

    Screenshot of in app products:
    upload_2023-1-17_18-23-55.png

    Logs when i start the game and the error happens:
     

    Attached Files:

  4. glenhunter

    glenhunter

    Unity Technologies

    Joined:
    Apr 2, 2019
    Posts:
    92
    There are two testing lists and you need to make sure your email is added to both of them. One is app specific and one is your Google Play account specific.

    The first one can be found in the track you desire to use such as Open testing.

    The second one is the outside in the play console panel before you select your app (under license testing). There is more information here https://docs.unity3d.com/Manual/UnityIAPGoogleConfiguration.html
     
  5. nestorortiz017

    nestorortiz017

    Joined:
    Oct 23, 2020
    Posts:
    8
    My testing email was already in both lists, it's not the same email as my developer account, I'm downloading the game with that account in the play store, is Codeless IAP working fine? I have read in some places that it's broken, but I don't know if that's true. What can i do now?







    259 characters48 words
    6auto-corrected mistakes
    New
    Refine your style with our paraphrasing tool
    Upgrade to Premium
     
  6. glenhunter

    glenhunter

    Unity Technologies

    Joined:
    Apr 2, 2019
    Posts:
    92
    What Unity version are you using and what IAP version are you using?
     
  7. nestorortiz017

    nestorortiz017

    Joined:
    Oct 23, 2020
    Posts:
    8
    I'm using Unity 2021.3.16f1 and IAP 4.5.2
     
  8. nestorortiz017

    nestorortiz017

    Joined:
    Oct 23, 2020
    Posts:
    8
    I've published the game without this feature, I hid the button to romove ads and i only enable it by a hidden debug mode in the game, i have tested again and still not working, same log messages
     
  9. Yannick_D

    Yannick_D

    Unity Technologies

    Joined:
    Feb 21, 2022
    Posts:
    218
    Hello,

    Based on your Logs.txt, it appears your product IDs on the IAP side have an extra space before and after " removeads ". If your product ID on the Google Play Store doesn't have these spaces, could you try removing them to see if it solves your issue?

    If this doesn't work, could you provide a screenshot of the details on "removeads" in your Google Play Store and confirm that you have followed all the steps from https://docs.unity3d.com/Manual/UnityIAPGoogleConfiguration.html
     
  10. nestorortiz017

    nestorortiz017

    Joined:
    Oct 23, 2020
    Posts:
    8
    It worked! Thank you!! :D
     
  11. Arnaud_Gorain

    Arnaud_Gorain

    Unity Technologies

    Joined:
    Jun 28, 2022
    Posts:
    172
    This thread is now closed. Feel free to reach out via a new thread if you encounter further issues.
    Thanks!
     
Thread Status:
Not open for further replies.