In app purchase android set up

I’m trying to connect on widget button press the purchasing system. When I press widget BUY button the (thank you) animation is played and after the animation the score is increased. So I would imagine that purchasing system come first and animation and score increase after it. Or all of these is wrong? Also I cant select nodes for ON Success and ON Failure. Thank you.

How you resolve it ??? my purchases are always in failure, i don´t know why

Make sure you add all subsystem deals inside your Engine ini. and Build.cs in side your project. You need to add those lines of code. Also make your connect your API correctly in you Google Console and also your Google API. If those things are not talking to each other then there will be a problem for sure.