Setting up in app purchases on Android
http_gamesalad
Member Posts: 1,340
How different is it to set up in app purchases on Android from Mac? I have published my game on Android but the in-app purchases isn't working even though I gave them the ID for the in-app purchases. I followed a YouTube video for the most part it's working properly when I test it out on my ipod touch 4 generation, but when I test it out on my samsung galaxy s5 it does not work. How can I fix this problem?
Comments
Did you set them up correctly on the Google side?
@pHghost They asked for my ID number for the in - app which I gave them. I have 3 different sets of in app , this is how its set up in my game
The set up in GS is the same for IOS and android. Did you remember to check the google in-app purchase checkbox in GS publishing?
Mental Donkey Games
Website - Facebook - Twitter
@pHghost I just saw that on the google dev they were set to inactive ... I just changed it to active . Could that be the problem ?
@NipaDidIt yup !
Yup. The iap has to be active for it to work.
Mental Donkey Games
Website - Facebook - Twitter
@NipaDidIt Well I set it to active & still no luck. I reinstalled the app from the google play store & I pressed for the in app & nothing happened
That´s odd.
If the iap works on your iPhone (like you said in the first post), then you have everything set up right in GS creator. The set up is the same for iOS and Android.
My suggestion right now is that you carefully read the Cookbook tutorial on Google in-app purchases once more, and check that you have everything right step-by-step. It only takes one tiny mistake somewhere so it won´t work.
Mental Donkey Games
Website - Facebook - Twitter
@http_gamesalad Make sure that if the in app purchase is a consumable like buy 50 coins, you need to create it as an unmanaged product.
If its a non consumable like remove ads then you would make it a managed product.
Fortuna Infortuna Forti Una
@lovejoy & @NipaDidIt I'm not given he choice to select "unmanaged product"
@http_gamesalad Hmm seems like google changed it up.
I just Noticed you are using the old in app purchase behaviors, they no longer work. You need to use the newer ones.
Fortuna Infortuna Forti Una
@lovejoy which are the newer ones ?
Not necessarily new since its been out for a while now but here it is
https://help.gamesalad.com/hc/en-us/articles/202036553-7-4-Using-the-New-In-App-Purchase-IAP-behaviors-in-GameSalad
Fortuna Infortuna Forti Una