Saving Coins online after In app purchase

Hi All, I want to know how to store/update number of coins purchased by a player online.

I tried Google Play games cloud method mentioned at link below & realized its for progressive games as it opens all previous saves & reload options.

I want something similar to leaderboards( ie no popups when reported scores) but I think leader-boards are not correct place to store user’s purchased items :stuck_out_tongue:

Please help I am completely new to google play services.

Thanks a lot!

You need to store them online to prevent fraud. That means you need to write a server infrastructure that can handle the data interop and manage the data safely, as well as a secure server environment to run it on.