Search Unity

Error trying to put the key on the editor where it asks for it...

Discussion in 'Unity IAP' started by RafaelF82, Oct 15, 2018.

  1. RafaelF82

    RafaelF82

    Joined:
    Oct 28, 2013
    Posts:
    108
    On the Options part of the Services when setting up the InApp purchases I copy and paste the key from my google play developer console, as requested, but it gives an error saying : "Please enter the key in a valid format".

    I can't figure out what is wrong here, I literally copy paste the entire key, it's just as in the console, no spaces...
     
  2. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    3,685
    Can you show a screenshot and the URL?
     
  3. RafaelF82

    RafaelF82

    Joined:
    Oct 28, 2013
    Posts:
    108
    (ss removed)

    That key is copied from my Services & APIs google page.
     
    Last edited: Oct 17, 2018
  4. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    3,685
    Got it! Yes, this key is saved to the Analytics Dashboard, which is currently down for maintenance. This is likely the issue, the same is happening to me. Hopefully the Dashboard will be back up within 24 hours.
     
    RafaelF82 likes this.
  5. RafaelF82

    RafaelF82

    Joined:
    Oct 28, 2013
    Posts:
    108
    It's still not working here. Using Unity 2018.2.10f1.

    It worked after updating unity to 2018.2.12f1.
     
    Last edited: Oct 17, 2018
  6. omaglana

    omaglana

    Joined:
    Oct 21, 2017
    Posts:
    3
    I am using Unity 2018.2.16f1 but its not working for me
     
  7. jerrychan2018

    jerrychan2018

    Joined:
    Sep 7, 2018
    Posts:
    2
    same issue
    was using 2018.2.16f1
    But still having same problem after updated to 2018.2.17f1
     
  8. jerrychan2018

    jerrychan2018

    Joined:
    Sep 7, 2018
    Posts:
    2
    upload_2018-11-30_13-12-19.png upload_2018-11-30_13-12-37.png
    should we contact the official technician ?
     
  9. unityjingyao

    unityjingyao

    Unity Technologies

    Joined:
    Feb 20, 2017
    Posts:
    220
    Hi,
    I'm sorry that I couldn't reproduce this issue on my side.
    But there is a workaround.
    You can also input your Google Public Key on the Analytics Settings page.
    https://analytics.cloud.unity3d.com/projects/{UPID}/edit/
     
  10. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    3,685
  11. abrar0304

    abrar0304

    Joined:
    Feb 10, 2016
    Posts:
    8
    i am also facing that same issue while putting key in editor it said to me please enter the valid key format while i am using the right format of key string of iap
     
  12. abrar0304

    abrar0304

    Joined:
    Feb 10, 2016
    Posts:
    8
    here is the proof Snap attache kindle check the issue i am ussing 5.6.6 @JeffDUnity3D kindly have a look at my issue i have applied all the possible solution of link unlink project services on off almost every solution which ever in my mind i applied but nothing going on
     

    Attached Files:

    • iap.PNG
      iap.PNG
      File size:
      14.9 KB
      Views:
      217
  13. unityjingyao

    unityjingyao

    Unity Technologies

    Joined:
    Feb 20, 2017
    Posts:
    220
    Hi @abrar0304 ,
    Have you tried the workaround I offered above?
    It should work.
     
  14. abrar0304

    abrar0304

    Joined:
    Feb 10, 2016
    Posts:
    8
    hi @unityjingyao i do not have access to unity account .. as i am working under a gaming studio so please cooperate with me in this context
     
  15. unityjingyao

    unityjingyao

    Unity Technologies

    Joined:
    Feb 20, 2017
    Posts:
    220
    Hi @abrar0304 ,
    I'm sorry that I don't have the permission to input the key for you.
    That error might be caused by your permission issue.
    Please find the people who has access to this project for help.
    Sorry for the inconvenience.
     
  16. abrar0304

    abrar0304

    Joined:
    Feb 10, 2016
    Posts:
    8
    hi @unityjingyao i have implemented in app purchase earlier many time before the issue encounter . and from december start i am unable to implement the in app purchase ... is there any kind of change in policy of in app purchase of unity from november or december so send me .so i could read the new policy and implement in app purchase
     
  17. abrar0304

    abrar0304

    Joined:
    Feb 10, 2016
    Posts:
    8
    when i have done a update of existing game in app purchase is working for that project and if i create a new project i am unable to verify the key issue i have a screen hot of this
     
  18. abrar0304

    abrar0304

    Joined:
    Feb 10, 2016
    Posts:
    8
    here is the screen shot of errror
     

    Attached Files:

  19. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    3,685
    It's not an error, it's simply a suggestion for you to enter your Google license key. You need to be a member of the organization to enter it. You would have had to be a member of the organization to have released the game in the first place. Even with the message, purchases will still work, the key is only for us to display purchases on your Dashboard. It does not affect the purchase flow, and is not related.
     
  20. fingersoft

    fingersoft

    Joined:
    Nov 28, 2017
    Posts:
    1
    Hello Developers, for me error got fixied
    1 Keep inapp products ready in google console
    2 In Unity click on Analytics from services enable Analytics
    3 Play the Unity project once (you will see success of integration in logs)
    4 Now Paste your App service api key in Inapps Column.... This will work
     
  21. abrar0304

    abrar0304

    Joined:
    Feb 10, 2016
    Posts:
    8
    hey @JeffDUnity3D i have tried all the possible things which ever i can do .... i have linked my project and become member of an organization but i could not able to run my in app key on unity service
     
  22. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    3,685
    You can also enter the key on the Analytics Dashboard, can you try that?
     
  23. abrar0304

    abrar0304

    Joined:
    Feb 10, 2016
    Posts:
    8
  24. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    3,685
    @abrar0304 Do you get an error when attempting the enter the key in the Dashboard also? Please show a screenshot.
     
  25. dhitz666

    dhitz666

    Joined:
    Sep 20, 2017
    Posts:
    3
    only error if you put google license key on Unity Editor.
    1. on editor click "Go to the Dashboard"
    2. click Analystics setting and put your google license keyand save
    3. back to your unity editor close your tab "Services" and open again
    4. done
     
  26. SteveKouts

    SteveKouts

    Joined:
    Aug 23, 2012
    Posts:
    29
    Having this problem too and cant get the link to work either, its showing me an old version of the dashboard website.
     
  27. SteveKouts

    SteveKouts

    Joined:
    Aug 23, 2012
    Posts:
    29
    OK I fnally got it to work I had to do some real digging through the settings menus to get around a prompt that kept telling me to go to "Services" tab inside Unity Editor.
    Thanks for the help.
     
  28. msklayaci

    msklayaci

    Joined:
    Nov 9, 2018
    Posts:
    1
    exact solution;)
     
  29. enes23

    enes23

    Joined:
    Nov 1, 2016
    Posts:
    3
  30. ikasapoglu

    ikasapoglu

    Joined:
    Jul 17, 2017
    Posts:
    14
    Thank you @dhitz666 , clicked "Go to Dashboard" and accepted license agreements of unity analytics has solved my problem.
     
  31. outsdr

    outsdr

    Joined:
    Feb 11, 2019
    Posts:
    1
  32. ina

    ina

    Joined:
    Nov 15, 2010
    Posts:
    729
    2018.3 looks like this issue is still not fixed - perhaps remove the entry in the editor if it only works in dashboard
     
    BjornNelson likes this.
  33. CrandellWS

    CrandellWS

    Joined:
    Oct 31, 2015
    Posts:
    78

    Attached Files: