So I’m trying to implement IAP for an android game. Before the implementation, I was able to run the game both in the editor and on my phone. After I implemented IAPs, the game runs fine in the editor, but it doesn’t even start the game on my android device.
The code I’m using is essentially identical to the code found on this tutorial: Unity IAP - Unity Learn
I have also set up all the consumables in google play and set them to active. As far as I’m concerned I have followed all the steps, but still the game refuses to work on android.
If I posted this question correctly, my code should be below. There are no other scripts that are used for IAPs and the functions such as PurchaseCASH_10_000 are all called from buttons within the game.
4028134–348976–IAPHandler.cs (4.94 KB)