Hello everyone and thank you for reading! I’m trying to code some inn-app purchases in my game, which I mean to release in the Play Store. When I press the button which calls the inn-app purchase, I get the typical Fake Store pop-up, however even after I press Buy it doesn’t go away. If I press Cancel, the Fake Store disappears, but pressing Buy doesn’t do it. What might be the issue here? After some troubleshooting I’m still stumped.
This is my code for the event triggered by the IAP button:
public void purchase(Product product)
{
coloredSquare.GetComponent<Image>().color = colors[colorIndex];
}
Because I’m just testing at the moment, I just want it to colorize a square I have in my scene. That doesn’t work either. Thank you for your help