I am trying to put the option to buy in my Godot project. I have managed to know if I have already bought or not but I don't know how to make the buy button show up.
var InAppStore = Engine.getsingleton("InAppStore")
var result = InAppStore.purchase( { "my-id-purchase": "nameid" } )
if result == OK:
#continue game
else:
#show in app purchase button