google play in-app purchases and subscriptions

Scenes:

The business needs to connect to Google Play’s in-app purchase (one-time product purchase) or subscription (monthly or annual renewal, and you can choose whether to automatically renew after expiration)

According to the business scenario, first confirm whether the app has its own server. If there is a service, see here. If there is no service, please go directly to point 2.

1. If there is a server, please refer to the following example to connect:

1.1, googleplay in-app purchase + subscription + java syntax + server management order (requires server support), demo code please refer to here:

https://download.csdn.net/download/szdenny/88045291

1.2, googleplay in-app purchase + subscription + kotlin syntax + server management order (requires server support), demo code please refer to here

https://download.csdn.net/download/szdenny/88045338

1.3. Subscriptions and in-app purchases on the googleplay management server ( server-side code ), please refer to here for the demo code:

https://download.csdn.net/download/szdenny/88045247

2. If your app is a stand-alone application and does not have its own server, please refer to the following

2.1, googleplay in-app purchase + subscription + java syntax + stand-alone version (no server), please refer to here for demo code:

https://download.csdn.net/download/szdenny/88045341

2.2, googleplay in-app purchase + subscription + kotlin syntax + stand-alone version (no server)

https://download.csdn.net/download/szdenny/88045342

Guess you like

Origin blog.csdn.net/szdenny/article/details/131697493