Need help with IAP

My first time doing IAP coding
This is what I wrote


I attached the amount of gold purchased to an integral attribute as you can see below
(The item ID are simply the amount of gold)

I also found this on another thread
(Is there an alternative way to write this?)

I'm only going to use consumable IAP (Gold coins)
Any tips or advice would be highly appreciated, as this is the most crucial part of my game.

Sign In or Register to comment.