godotengine / godot-google-play-billing

Godot Android plugin for the Google Play Billing library
MIT License
138 stars 39 forks source link

Test if item is bought and restore purchase #63

Open Stoniye opened 1 month ago

Stoniye commented 1 month ago

I wanted to add in my game that you can buy an ad-free version. Please can someone explain to me how I can check every time I start the game whether you have bought the ad-free version or not and how it works when you uninstall and download the app again, how can I restore the purchase?

My code so far: image image image image image image image

Thanks for every respond in advance

Stoniye commented 1 month ago

Okay I figured it out myself, thanks anyway