Kalina
Kalina

Reputation: 5594

Am I getting these steps right for checking a user's in-app billing subscription?

I am making an Android app that sells an in-app monthly subscription. Before I dive into it too much, does this outline of how this should be done seem about right? I am using the Google Play Android Developer API.

The first time the app is installed, send the following in sendBillingRequest():

When the user makes a purchase:

Each time the app is started up, check if you have a saved purchase token.

If the purchase token doesn't exist:

If the purchase token exists, check the expiration date and initiation time:

Upvotes: 9

Views: 1429

Answers (1)

Kalina
Kalina

Reputation: 5594

Yes I am.

I have successfully implemented in-app billing this way.

Upvotes: 2

Related Questions