For example, there is a free application in Google Play. I want to add such a function - to get a bonus / chips, you need to pay n $ (for example, $ 20) and the user will have more coins, but the question is - do you need to pass some checks / conditions for this?

Closed due to the fact that the essence of the question is not clear to the participants of katso , YuriySPb , D-side , user194374, aleksandr barakin 4 Apr '16 at 0:25 .

Try to write more detailed questions. To get an answer, explain what exactly you see the problem, how to reproduce it, what you want to get as a result, etc. Give an example that clearly demonstrates the problem. If the question can be reformulated according to the rules set out in the certificate , edit it .

1 answer 1

You need to open the in-app purchases documentation and find out what:

  1. You need to add a service (by adding an .aidl file) to communicate with GooglePlay
  2. Need to create a product in the console
  3. It is necessary in the code to request the market for possible purchases.
  4. It is necessary to initiate the order of the goods so that the user can open the purchase interface.