Android Tutorial Android In-App Billing v3 Tutorial

Computersmith64

Well-Known Member
Licensed User
Longtime User
What I do is store subscription information in a setting & then check it using the API when there is a connection. Actually, the reason I started doing this is because sometimes there is a delay getting up-to-date subscription info through the API - so this allows subscribers to use the app without being affected by that.

- Colin.
 

luke2012

Well-Known Member
Licensed User
Longtime User
Hi to All,
is there a way to track the In-App Subscriptions activated by app's users ?

Thanks in advance for your reply
 

Computersmith64

Well-Known Member
Licensed User
Longtime User
any easy way to get all products I created in Google Console?
There is a function in the API that will return details (price, etc...) about your products, but you still have to pass it the product ID's (ie: it won't give you a "dynamic" list of products) - however that function isn't implemented in the BillingManager library.
 

Computersmith64

Well-Known Member
Licensed User
Longtime User
I'm not sure that would work because when you add a new product in the developer console, you have to release a new version of the app to go with it - ie: each version of the app is tied to the products that it was released with. You'd probably want to read Google's documentation on in-app billing before you go down that path.

- Colin.
 

aaronk

Well-Known Member
Licensed User
Longtime User
Few things I have found while setting up my in-app purchases, and thought I would let others know in case they come across the same issues..

- Looks like you need to publish the app on Google Play before the app will allow in-app purchases. (can't have the app saved as a draft)

As per Google Play Developer docs: Previously, you could publish a "draft" version of your app for testing. This functionality is no longer supported.
https://developer.android.com/google/play/billing/billing_testing.html

- Need to make sure you have the billing permission added before you upload the app to Google Play. (or I guess add the BillingManager3 lib)
- Recommend to upload the app as a Beta or Alpha app and not production app while testing it. It will still work if you have it as production app but then the public would see this app while you play around with the in-app billing (especially if the app is a new app you are working on and not yet on Google Play)
 

shashkiranr

Active Member
Licensed User
Longtime User
Hi All,

I have monthly subscriptions set up for my app. But every time it is auto renewed, the recurring subscription order id (GPA.XXXX-XXXX-XXX-XXXXX..0) will not come neither the purchase time change to reflect the recurring subscription payment date. I only get the original order id (without the ..0) and the original purchase date (when the initial subscription was purchased.) Is there a way to get the new details.

Best,
SK
 

DaOel

Member
Licensed User
Longtime User
Is the list of OwnedProducts based on the client's device or the client's google account?

This is for example interesting for the following cases: (3 questions)
1. The user buys a product and loses his smartphone. He buys a new smartphone and configures it with his google account. Will the old purchase be listed in the OwnedProducts of his new smartphone?

2. How is it with several devices at the same time, all linked to the same google account. Is every device listing the purchase under Owned products?

3. Is the purchase-Value on several devices exactly the same, or is there a field that might be different?

Ofc, if the answer to question 1 is 'no' then question 2 and 3 don't need to be answered.
 
Last edited:

achtrade

Active Member
Licensed User
Longtime User
question, if I have an app like ebay with hundreds of suppliers, do they have to upload their products to In-App billing through my app ?
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…