android-billing Questions
2
Solved
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 objec...
Churchwarden asked 10/6, 2024 at 18:38
1
I've developed a app and some logs are reporting errors when a brasilian user tries purchase an item.
I'm not brasilian and I want to test my app in that country. Is it even possible? My app is eu...
Resht asked 29/10, 2013 at 14:53
4
Solved
We are implementing Google Billing with server side validation.
One of the features that we have to support is "Free Trial". Single user is able to participate in "free trial" o...
Babysit asked 17/2, 2021 at 13:40
5
I am implementing a subscription with Google billing in my android application.
I have followed Google Play Billing official documentation.
I have created subscriptions in Play Console and added re...
Riddle asked 22/2, 2023 at 6:34
2
Solved
I am trying to integrate Google Play Billing.
Here is my onCreate :
private final static String TAG = "MainActivity" ;
private final static String ITEM_SKU_SUBSCRIBE = "sub_example" ;
private fin...
Blanc asked 11/6, 2020 at 9:10
4
Solved
I have my app in the internal testing track but when Testing, the test card did not show up and it asked for the real credit card on both real and virtual devices.
I have tried some method recommen...
Mesognathous asked 4/5, 2022 at 10:9
3
I was wondering how to detect a refund, or any type of cancelation of an in-app purchase(not a subscription and not a consumable).
I'm currently making my test and when I refund a test in google l...
Pontifical asked 24/9, 2018 at 17:36
10
Solved
I'm now using the new Play Billing Library
Basically, I followed the documentation to query available items to purchase
SkuDetailsParams.Builder params = SkuDetailsParams.newBuilder();
params.s...
Hygrothermograph asked 17/10, 2017 at 4:13
3
Solved
I have upgraded my Kotlin app to android-billing 5.0 from 4.0, and as such, SkuDetails is now deprecated so I am migrating to using ProductDetails using the migration instructions.
Previously I dis...
Rotow asked 13/5, 2022 at 22:34
4
Solved
So I have a billing client which I instantiate with
billingClient = BillingClient.newBuilder(this).setListener(this).build();
I then call
billingClient.startConnection(new BillingClientStateL...
Invasion asked 18/4, 2018 at 20:24
1
Solved
I'd like to use android billing version 5.
The problem is that I was using version 3 and some things are now deprecated.
I had this but PurchasesResult, queryPurchases and getPurchasesList doesn't ...
Borderline asked 18/5, 2022 at 12:25
2
TL;DR
Why can our users re-subscribe on Play Store, despite opting-out of this on Google Play console?
we are implementing a subscription on our Android app. we have selected the "resubscribe...
Danish asked 13/5, 2021 at 11:11
3
Solved
In v4, I used to have SkuDetails.price to get the price of the product but now it's not available anymore in the new ProductDetails in v5.
How can I get the price of a product in this new version?
...
Speos asked 19/6, 2022 at 17:31
2
Solved
I want to remove the existing subscription product from product list.
How would I be able to perform so as I didn't found any option on my developer console to delete the subscriptions ?
Also if...
Shillyshally asked 3/4, 2013 at 9:32
1
I am using the Google Play Billing Library 5 and have a subscription product with different base plans.
When processing the purchases in the PurchasesUpdatedListener or in the callback of queryPurc...
Popgun asked 23/5, 2022 at 15:38
1
Solved
Debugging Details: Following tutorial to migrate from Android Billing 4.0 to 5.0 https://developer.android.com/google/play/billing/migrate-gpblv5, specifically in the section "Showing pr...
Slowwitted asked 14/6, 2022 at 10:29
2
Solved
I want to implement subscription billing feature, but when i call launchBillingFlow method, i am getting error like this
android.content.ActivityNotFoundException: Unable to find explicit activi...
Slighting asked 18/7, 2018 at 3:21
2
I have
BillingFlowParams purchaseParams = BillingFlowParams.newBuilder().setSku(skuId).setType(billingType).setOldSkus(oldSkus).build();
but now
setSku
setType
setOldSkus
are all deprecated...
Correggio asked 18/2, 2019 at 17:46
2
I'm using using Google's Billing Library 4. The documentation for BillingClient.launchBillingFlow says:
Initiates the billing flow for an in-app purchase or subscription.
It will show the Google P...
Hulton asked 17/8, 2021 at 23:30
2
Solved
I'm developing an Android app and I am now at a point where I'm implementing in-app purchases. I have followed Android Developers' own guide to do this. However, when I launch my app, I get the fol...
Noles asked 28/5, 2021 at 12:8
2
I migrated Google Play Billing Library in Android Studio from 3.0.3 (was working fine) to 4.0.0.
I've checked my Google Play Billing and all seems OK and the SKU status is ACTIVE (no red flags).
I'...
Dermot asked 1/6, 2021 at 5:15
6
Solved
I found the following code from here to get products list from google play store
ArrayList skuList = new ArrayList();
skuList.add("premiumUpgrade");
skuList.add("gas");
Bundle querySkus = new Bund...
Fritts asked 14/5, 2013 at 16:11
1
Solved
I can't seem to find any relevant information in the Purchase object returned by Google. I know there is a "getFreeTrialPeriod()" method for SkuDetails, but that only returns the duration...
Thunderclap asked 15/7, 2021 at 15:35
0
I have an app with in-app purchases. I use last billing library:
implementation 'com.android.billingclient:billing:4.0.0'
implementation 'com.android.billingclient:billing-ktx:4.0.0'
My problem ...
Pickering asked 8/7, 2021 at 14:21
2
Whilst setting up in-app purchases in my app, I came across the fact that there are two permissions related to billing:
<uses-permission android:name="com.android.vending.BILLING" />
<us...
Binnie asked 6/8, 2015 at 10:2
1 Next >
© 2022 - 2025 — McMap. All rights reserved.