IAP Not displayed

Hey guys :slight_smile:

I have an issue. And I could bite my ass because I solved it in the morning already and then crushed my app without doing a backup when I fixed this issue.

It would be best if I explain.

As I said in a previous entry I’m working with fungus.

The Shop Canvas works quite well on my Main Menue Scene.

Now I want an automatic Shop Canvas to open in my game, if the player doesn’t have enough diamonds.

So far so good.

On my Laptop all is working good, but when I try it out on the app, it doesn’t open the canvas.
I can click the buttons, but I don’t see my shop canvas…

I had this issue in the morning too, In the morning I had the problem, that I had a method inside my blocks that stopped the canvas from working properly. I fixed it and the errors on the console and it was working.

The console showed me the issues back then.

Now my problem.

My console don’t show me any issue anymore and my blocks look exactly like in the morning when I fixed it… I don’t know what is wrong.

Fungus is working with blocks
I explain how my choice block works:

I ask if player has enough diamonds.
If he has enough diamonds he goes to the next block and goes on with the story.

If he doesn’t have enough diamonds:
-shows a message: you don’t have enough diamonds
-set shop canvas active
-player buys diamonds,
-onpurchase success goes back to block with the choice.
-on purchase nonsuccess goes to a block who said something went wrong and to the choice again.

And in my playmode all work just fine.
But on the phone I don’t see the canvas but I can click the buttons.
And my console don’t give me any errors - not any.

I really don’t know how to solve it.

Ah yes I use coddles IAP from unity…

You mentioned in your other post that you got it working, I’m assuming that applies here. Otherwise and unfortunately would not be able to assist with your fungus implementation or game logic or UI. You’ll want to ensure to be using Debug.Log to track any IAP specific issues. The Debug.Log statements will also show in the Android logcat logs, very handy Tips for new Unity users and How To - Capturing Device Logs on Android

The other issue was solved but that’s a new and I don’t wanted to confuse it because it’s another topic.

I wil try your links thank you

Sorry, I thought you said you got IAP working. We can’t help with Fungus. I would suggest that you just create a single and simple button and test IAP with no other UI or logic.