276 questions
0
votes
0
answers
31
views
What is the structure of the Android ProductDetails object (JSON format) if I add a 7-day free trial offer?
I was not able to understand the structure of the Android ProductDetails retrieved from Billing Library.
Below an example of the my current data structure in JSON format:
{
"productId":&...
1
vote
0
answers
89
views
queryPurchasesAsync returns cancelled and expired test subscriptions
fun checkPremiumStatus() {
billingClient.queryPurchasesAsync(
QueryPurchasesParams.newBuilder().setProductType(BillingClient.ProductType.SUBS).build()
) { billingResult, ...
1
vote
0
answers
95
views
Local Debugging Digital Goods API with Google Play Billing gives OperationError: unsupported context
I'm trying to add google play billing to my PWA website, which I'm wrapping into an android app with PWABuilder.
I'm tring to figure out how to test/debug locally.
This page on the docs says it can ...
0
votes
1
answer
142
views
How to get Google Play payout reportt?
I've implemented an app subscription model on my app. On January, I got subscriptions for 12'58€. I expect this amount to be transferred to my bank account on February 15th as I've found on internet. ...
1
vote
1
answer
307
views
How to identify the subscription duration (monthly or yearly) from a purchase in Google Play Billing Library?
I am using the Google Play Billing Library in my Kotlin app to allow users to purchase subscriptions. I have a single product with two subscription offers: one for a monthly duration and the other for ...
0
votes
1
answer
120
views
Display Product data from BillingClient
I have made the following BillingManager class to handle the Google Play Billing Library for my Android app:
public class BillingManager {
private List<ProductDetails> productDetailsList;
...
0
votes
1
answer
198
views
How to prevent abuse of Google Play subscriptions tied to different Firebase accounts in my Android app?
I'm using the Google Play Billing Library in my Android app, and everything works fine during testing. However, I encountered a potential issue with the subscription model when integrating it with ...
0
votes
1
answer
73
views
How to handle Google Play subscription status when a user is signed in using Firebase email/password
I've followed the documentation on Google Play Billing library for Android and everything seems to work fine. I'm using billing lab to test it. Then I thought to myself, what would happen if I ...
2
votes
0
answers
166
views
Google Billing 7.1.0 documentation is not available on Android Studio
I cant get the documentation for Billing-ktx on Android Studio, I've checked the documentation file and its the same that is available on the official link https://maven.google.com/web/index.html?q=...
12
votes
0
answers
1k
views
Release notes for Android Google Play Billing Library 7.1.0 (com.android.billingclient:billing) [closed]
Currently the public page for release notes for the Google Play Billing Library only lists version 7.0.0 as latest version. But for almost a week version 7.1.0 is available. So I'm wondering if ...
2
votes
0
answers
372
views
BillingClient - queryProductDetailsAsync returns error statuses (2, 6, 12) many times
I'm using billing client in my game in order to let people purchase in app item.
According to my logs, many users aren't able to purchase the item, as purchase flow doesn't start.
Logs show that most ...
1
vote
1
answer
403
views
Migrate to supported version of Google Play Billing Library 6+ Error
I'm a unity Mobile game developer. Because of the Google Play Billing Library Migration I updated my In-app purchase package manager to 4.12.2 and the latest external dependency manager also. In the ...
3
votes
0
answers
173
views
Missing Google Play Billing v7 javadoc documentation in Android Studio
I'm upgrading the Google Play Billing library from v5 to v7.
After changing the version of com.android.billingclient:billing to 7.0.0 and syncing all dependencies, I noticed that all billing-related ...
19
votes
2
answers
6k
views
enablePendingPurchases was deprecated in version 7 of the google billing library
When updating the Google Billing Library to version 7 it marks the enablePendingPurchases() method as obsolete.
Reading the documentation it seems we now need to pass a PendingPurchasesParams object ...
1
vote
1
answer
350
views
Google Play Billing, ITEM_UNAVAILABLE for Unpublished / Transferred app?
I've gotten an Android app transferred to my developer account. This app was a payed app. It will transition to a subscription based model, so i first Unpublished the app, and changed it's price to ...