better add group (disabled at start)
and for example when the player
- push button set the group to active
in the group you add these event
for example :
- when touch button > add product id then wait for 2 seconds > request store listing (you can add an "please wait" animation
- on store listing success > purchase product ""
- on product purchased success > destroy the "please wait animation" + disable the group event + put what youwant
this avoid that on game start to try login and force the player buy or to login (people hates that)
then the iap event are activated only when the user push the button