Does IAP Work?

Hi, I created a story game with fungus.

On my laptop in Unity the “Fakeshop” work quite well.

Now I loaded a test apk in play store and try the app out on my phone. I registered as tester and downloaded the apk via play store, it even shows me real ads now.

If I click on buying a package it shows me that it failed.

I have one block executing for success and one block executing for nosuccess.

No matter where I click on buying it don’t give me success… what could be the issue - is it the issue that its not online yet just in test mode or is it really not working?

I ask because if its really not working I try to figure out why.

What platform are you testing on. What is the error message you’re receiving?

On google play you need to create your purchases on the portal, make sure they’re available for sale and then upload an apk (to a test track) before they’ll start working. I always have trouble getting them to work initially. Keep trying until they do.

I can’t exactly remember what’s required on iOS but I believe it’s similar.

The documentation may help. There are a few bad links but mostly correct. I would suggest to start with the Sample IAP Project Sample IAP Project and Unity - Manual: Configuring for Google Play Store

It’s solved it wasn’t so difficult.

I just forgot to register my tester to use it that was the problem.

1 Like