How can I get my Fake Store to disappear

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

I guess you’re not purchasing anything in the end, that’s why your fake store doesn’t register it at all…
I followed this video and it was really helpful:

Hopefully it’s also helpful for you :slight_smile:

  • Dennis

Thank you Dennis @Dennis_eA . I believe the problem I was having had to do with the code I was using to colorize the square. It didn’t have to do with IAP. Like you said, I wan’t purchasing anything, and worse yet, I had an error in my colorization code. Thank you for the video, I’ll take a look at it.
Humbly,
Tom