Questions tagged [google-play-billing]
The google-play-billing tag has no usage guidance.
61
questions
8votes
1answer
347views
Google Play Billing: Pending purchases not available for subscriptions?
Context: We have a TV app that offers as its only in-app item a monthly subscription.
I am mostly looking for confirmation of what I believe to be true:
Since version 2.0 of the Google Play Billing ...
7votes
2answers
3kviews
Android Billing 4.0.0 - No purchase result querySkuDetailsAsync()
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've ...
5votes
0answers
229views
Google Play Billing Library 3.0.3 causing memory leak
According to release notes of Play Billing library 3.0.3 the memory leak has been fixed. But i am still getting this leak from Leak Canary
Google Play Billing Library release notes
Code where I am ...
5votes
0answers
102views
What is the difference between BillingClient.queryPurchases vs IInAppBillingService.getPurchases (for account hold and restore implementation)
I'm trying to implement the account hold and restore stuff that Google Play is starting to require by Nov 1, 2020. In the documentation it states
"If your app relies solely on queryPurchases() ...
3votes
1answer
739views
Android - queryPurchase() returns an empty list but I purchased an in app product
I have implemented in app products in my app. I can make successful purchase and everything works fine. But in one device, purchase doesn't work although when I try to make a purchase again, I get the ...
3votes
0answers
131views
Android google play billing 4 "Too many receivers, total of 1000, registered for pid: 31647, callerPackage: ... "
I'm getting this crash only on some devices. This happens right when I try to build a new BillingClient.
And I can't properly debug this issue since it doesn't happen on any of my devices.
Again, this ...
3votes
0answers
136views
How can I use a Google subscription linkedPurchaseToken without the productId/sku?
Problem
Given a linkedPurchaseToken, I would like to get the associated subscription info from Google. But the Google Get Subscription API requires the product id (i.e. sku) of the subscription - ...
2votes
2answers
2kviews
What do I need to do to update my game to Google Play Billing 3?
I'm using Unity 2018.4.22 and I've installed In App Purchasing 2.2.2 from Package Manager.
When I try to upload my game to Google Play Store, it gives me this error:
We've detected that this app is ...
2votes
1answer
1kviews
Build error when updating Unity IAP from 1.23.5 to 2.2.4, Manifest merger failed
Look like Unity IAP changed from using Google Play Billing 3.0.0 to 3.0.1, and now I can't build APK anymore.
I'm getting this error when I try to build APK for android:
* What went wrong:
Execution ...
2votes
0answers
30views
How to make multi-subscriber modelling like Twitch,OnlyFans
I want to make dynamic multi-subscribing modeling like Twitch, Onlyfans. For example, my customer can subscribe user1 feed also user2 feed but user1 and user2 is not static, it's dynamic.
How can I ...
2votes
0answers
543views
Google Play Billing Library 4.0.0 - querySkuDetailsAsync does not retreive all the sku details
I implemented in-app billing using com.android.billingclient:billing:4.0.0 library
The skuList I provide contains 8 elements. I get the results only for 7.
The one that is excluded does exist; so the ...
2votes
0answers
245views
Incorrect expiry time for subscription in Google Play Billing
I have a problem with real-time notifications from Google Play Billing.
At 1609879039 (01-05-2021) user bought a 3-day trial subscription.
On backend-server I got a purchase notification from Google ...
2votes
1answer
194views
Unexpected error when querying Google Play Developer API
We have been trying to set up the sample app for Play Billing workflow with subscriptions as we are looking to introduce subscriptions in our app. We wanted to have the ClassyTaxi app running end to ...
1vote
2answers
360views
Ionic 5 android app rejected due to using Paypal instead of in-app billing
An Ionic 5 app I built for a client uses Paypal for subscription, and Google rejected it because it doesn't use Google Play's billing system. Does it mean that Paypal is no longer accepted as a ...
1vote
1answer
204views
How does one find Google play billing authentication details?
I am trying to understand how does the google play billing library authenticate.
All the tutorials start with BillingClient but how does billing client know which account to connect how do I pass ...
1vote
0answers
60views
How to properly update Android BillingFlowParams sku() to setSkuDetails()
here is the code can anyone tell how can I setSkuDetails()
as I was using vision one now I update it to 4
However, setSku and setType seem to be deprecated in the BillingFlowParams.Builder class. ...
1vote
0answers
376views
Our users keep getting Payment Declined error when making Android in app purchase
We just published our app on Google Play Store but all IAP attempts that use any payment method, except Test Cards, always gets "Error: Transaction was declined" error.
transaction-declined
...
1vote
1answer
66views
UI element updates does not work when purchase completed - Google billing client 4
I have changed over to Google billing client 4.0 library. Since then when purchase is completed, my ui elements updates does not work.
I was trying to check if they are not in UThread anymore or ...
1vote
0answers
69views
Is there a way to auto populate promo code programmatically in redeem code text box android
I have integrated Android Google play billing library 4.0.0 in my app. Created a subscription and created a Custom Promo Code for that subscription. Everything works fine but currently I have to ...
1vote
0answers
70views
My 'subscription' in-app-purchase gets cancelled everytime. How to turn my subscription auto-renewable?
I got a situation.
I have implemented for in-app subscription purchase with google-play-billing successfully.
I can buy it from my app using the dummy card provided for testing by the google-play-...
1vote
0answers
104views
Using in background thread Google Play billing library v3
I'm migrating my code from old AIDL google play billing system to the newer Google Play Billing library v3. I used old code in background threads to check if a purchase was present for example. The ...
1vote
0answers
320views
Google Play Billing: Unable to query certain products from Play Console
I'm trying to query all my in-app products using the GooglePlay Billing library but the skuDetailsList in querySkuDetailsAsync() seem to only show some products listed in the Play Console. And by some,...
1vote
2answers
528views
Google Play subscriptions: interference between 'Account Hold' and 'Grace Period'
All developers received emails from Google saying that apps using subscriptions should manage the 'Account Hold' status from November 1st, 2020. See for example here.
So, I am trying to check that my ...
1vote
0answers
33views
What's the difference between "Restorations" and "Resubscribing" in android subscription?
I'm implementing Android new subscription feature in my application.
I have checked the docs. But I don't understand the difference between Restorations and Resubscribing before the subscription has ...
0votes
1answer
54views
After cancelling the purchase made by google play billing processing the purchase query shows purchase state as 1 in the loop
I have purchased and cancelled the order. So it got refunded. After the refund the purchaseState is in 0 (UNSPECIFIED_STATE). Hereafter cancellation of the purchaseQuerySkus return the state as 0.
But ...
0votes
2answers
50views
How to set Recyclerview adapter onCallBack
On my activity's onCreate(), I initialized the recyclerview
private RecyclerView listView;
private Subscription subscription;
@Override
protected void onCreate(Bundle savedInstanceState) {
...
0votes
2answers
584views
How to remove non-consumable and buy it again (while testing an Android app)?
How do you test non-consumables in your Android apps? ("noADs" as instance)
If "noAds" already purchased All I do (reinstall the game, install it on other device) it doesn't lead ...
0votes
1answer
27views
In-App Billing: Can we create subscription on the fly inside the app?
Is it possible to create a subscription inside my app without first creating it in the google play console? this because the params of my subscriptions, like price, discount, duration, etc. will be ...
0votes
0answers
7views
Android IAP acknowledgedState =1 after subscription expire
I have been testing subscriptions with android IAP.
When i let a subscription run it's course (six 5-minute intervals) the subscription expires as expected
When i repurchase the subscription, the ...
0votes
0answers
15views
(Google Play Billing Lib) - Timeout communicating with service when subscribing
I have my app published on internal, alpha, and beta.
I'm trying to subscribe by calling billingClient!!.launchBillingFlow.
But I'm getting:
response code: -3, debug message: Timeout communicating ...
0votes
1answer
91views
Google Play Billing Plan Upgrade/Downgrade with DEFERRED proration mode
In my Android application, we have multiple subscription plans, 1/2/3 months, which offer app features, for different durations, to users. User may switch between different plans during an active plan....
0votes
0answers
29views
How do I integrate the current Google Play Billing Library with Flutter?
A warning titled "Google Play Billing Library version deprecation" is displayed in the "Products->In-App Products" menu on the Google Play Console page. How can I solve this?
...
0votes
0answers
16views
Android Google Billing Permission COPPA (parental) potential issue
If our app is targetted for children, are there any potential issue if we implement google play billing? Since it's required to add this permission
<uses-permission android:name="com.android....
0votes
1answer
176views
Removed Google Play Billing AIDL completely but google play developer console still show warning
I have a question about the google billing library.
Before, following the instructions of Google Play,
We have migrated from Google Play Billing AIDL to Google Play Billing Library version 3.
However, ...
0votes
1answer
324views
Android Billing Library v4 does not return SKU details
I have an Android app that's already published on Google Play. I am now trying to update the Billing Library from v2 to v4. Connection to Google Play works fine; however, getting SKU details with ...
0votes
0answers
28views
Clarification regading the acknowledgement/consume response in google play billing (What is the difference between the acknowledgement/consumeRes)
In the google play billing library, I have used the consumeResponse.
The purchae list shows the acknowledgement value as false. So I have added the consumeResponse.
After adding the ...
0votes
0answers
30views
Google Play Billing
I'm using Google Play billing library, I'm facing a case which is:
When a user create account in my app with Facebook authentication for example
and subscribed using google play billing with service ...
0votes
0answers
17views
Does the PendingIntent (BUY_INTENT) deprecated in google play billing v4
I need to know does all the PendingIntent in the billing gets deprecated or not?
Bundle buyIntentBundle = mInAppBillingService.getBuyIntent(3, context.getPackageName(),SKU_VALUE, "inApplication&...
0votes
0answers
173views
Google Play Developer API purchases.subscriptions doesn't return emailAddress field
I'm integrating with Google Play Developer API (https://developers.google.com/android-publisher). To be more specific I'm trying to get informations about a specific subscription (https://developers....
0votes
1answer
175views
Migration from AIDL to Billing v4 shall i need the InAppBillingService(com.android.vending.billing)
While upgrading the billing library shall I need to remove the InAppBillingServices?
How can I test the app billing? Does the static test sku ids are enough to check the subscriptions in the v4 of ...
0votes
1answer
43views
Is it possible to detect a grace period via BillingClient?
I'm trying to detect grace period using BillingClient.
The documentation says:
A subscription can go through various state changes throughout its lifecycle, and your app needs to respond to each ...
0votes
0answers
28views
Android digital content on Google play Billing
I have n number of PDF files. And user should subscribe to read it. I think after 2021 in android we can't implement any third party payment gateways for digital content
So how could i add n number of ...
0votes
0answers
40views
Get user's currency from the Play Store billing library
When requesting skuDetails using querySkuDetailsAsync one can get the currency, associated with the SKU, from response. But, to get it you need to query products first. Is there any way in Play ...
0votes
1answer
54views
Can Google Play Billing Library be used on Inventor 2?
Can Google Play Billing Library be used on Inventor 2?
i want know it
example:
dependencies {
val billing_version = "4.0.0"
implementation("com.android.billingclient:billing:$...
0votes
0answers
145views
Cannot resolve symbol 'BillingHelper' in latest Google Play Billing library
After updating billingclient to latest(4.0.0) from 1.2.2 , The BillingHelper cannot be resolved.
After checking release notes, It seems like its removed in v3.0 , Is there any alternative class for ...
0votes
0answers
42views
What will happen to older app versions not running Google Play Billing Library version 3 November 2021?
In other words, does the deadline require us to force hard-upgrade for every user?
https://android-developers.googleblog.com/2020/06/meet-google-play-billing-library.html
0votes
0answers
53views
Making Google Direct Carrier Billing (DCB) the default payment method
This may be a stupid question but, I have noticed that many of my users struggle trusting card payments on apps and very few understand you can select Mobile Billing in the Google billing section. So ...
0votes
0answers
205views
How to link user to purchase token on a google subscription renewal
While using Unity 2020.3.9f1 and Unity IAP 3.2.1 I can send the initial subscription via a regular https request to my Spring backend and receive the user information from backend auth + purchase ...
0votes
0answers
30views
Some subscriptions are being refunded
A small portion of subscription are being refunded automatically even after acknowledging the purchase. The users did not perform any refund. I'm using the library
com.android.billingclient:billing:3....
0votes
0answers
47views
Is it possible to force authentication for in-app purchases using Google Play billing system?
We're currently working on our Android app's update to match the requirements of Google Play forcing developers to use their billing system.
In our app, for payment and product delivery purposes, we ...