Questions tagged [in-app-billing]
In-app Billing, a service provided by Android operating system.
2,516
questions
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
0answers
10views
Upgrading billing 2 to billing 3 returning error in production "This version of the application is not configured for billing through Google Play"
I have an old app, recently we upgraded from Billing 2 to Billing 3
everything works fine in test mode, but in production the moment you start the billing flow we get this message "This version ...
0votes
0answers
16views
Android - In App Billing - SKU occasionally returns empty
I have been facing this problem for a long time.
I have application subscription system and I want to read subscription information (product name, price, description). But occasionally these values ...
0votes
1answer
37views
Testing Google Play Billing With "The Item You Requested is Not Available for Purchase" error
We have an internal testing app for the platform we use to develop our apps and we are working on adding in-app-billing to our platform to support subscriptions that some of our clients may offer.
...
0votes
0answers
19views
Check if a subscription has been purchased android
How can I check if a user purchased a subscription on Google Play Billing ? I tried to test on a test subscription "android.test.purchased" with this code :
val purchasesResult = ...
0votes
1answer
48views
+50
Google play billing service timeout
I set up Google Play billing for in app purchases in my app yesterday, everything was working as expected and I could query the products, select them and purchase.
Today this has changed, it suddenly ...
1vote
0answers
25views
iOS: How to create In-App Purchases programmatically
I am creating a multi platform e-learning app, where teachers create courses by uploading videos to my website. Students can purchase these courses via the website, iOS, and Android.
However, since ...
0votes
0answers
20views
Purchasing multiple items/multi quantity of item in one transaction with android billing library
According to the documentation of Android billing library v4.0+, google has added the ability to purchase multi-quantity of an item.
I enabled the option in Play Console:
https://i.stack.imgur.com/...
0votes
0answers
13views
Does apps on Google Play allows a log in mechanism to unlock features that same as in-app purchase?
Our app is not currently on Google Play, but it has been released to other channels for a period of time. The app can be downloaded and used for free, but some functions need to be unlocked with ...
0votes
0answers
18views
Xamarin Forms Android Subscription purchase
We have an XF Forms app that we are adding subscription support for. We implemented Plugin.InAppBilling. Works as expected on iOS. We followed JM's docs for configuring on Android - but getting "...
0votes
0answers
9views
Play Billing v4 - Checking if SKU is purchased on onCreate
I am trying to make a donation iap that unlocks different themes for the app. Because of that, I am trying to query if the donation SKU is purchased before setting the content view. Is that possible? ...
0votes
1answer
36views
onPurchasesUpdated called multiple times
I have set up in-app billing on an Android app (java). When I call launchBillingFlow on the BillingClient:
BillingFlowParams billingFlowParams = BillingFlowParams.newBuilder()
....
0votes
0answers
31views
In-App Purchase: purchases.subscriptions.get returns developerPayload key data null sometimes
When verify user's subscription using purchases.subscriptions.get Api , it sometimes returns 'developerPayload' key data null or empty String , Why I am getting null or empty string?can you please ...
0votes
0answers
49views
This version of the application is not configured for billing though Google Play
I know this is a repeat question but i have minor different errors.
I have implemented in-app billing into my app in flutter. That perfectly work on android version - 7.0, 9.0 but when i try to test ...
1vote
0answers
16views
Know how much a user has paid for a product on GooglePlay
According to Google's documentation about Android Publisher, the object they send with the details about a product someone bought doesn't include the price they paid.
Is there any way to have that ...
1vote
0answers
20views
Google Play Realtime Developer Notification for one time products not working
I utilize realtime developer notification to process the purchases within my app. For subscriptions this works flawless, but for one time products I never received a message.
Working:
Subscription ...
0votes
1answer
38views
Android Google Billing Library is not returning products
My app uses Google Billing Library and it worked fine with my debug builds.
I was able to retrieve products and buy products with my licensed testers without having any issues.
Then I released the ...
1vote
0answers
37views
Android billing 4 returns wrong SkuDetails fields
I updated android billing library from v.3 to v.4.0 in December 2021. After some time in January 2022 my apps starts to receive SkuDetails without "description" field and with undocumented &...
0votes
0answers
58views
That item is unavailable when attempting a purchase on Android
I am currently implementing in-app subscriptions in my android app through react-native-iap, I am able to get the subscriptions products from Google but when I trigger a purchase I get That item is ...
0votes
0answers
18views
InAppBilling Android don't working for last weeks
I have an app with in app billing and in app subscriptions working perfectly fine for last two years. I am using version 3 of in app billing.
But in the last weeks (I think maybe was on 1 gener) I am ...
0votes
0answers
30views
I want to check if the item is purchased before, v4 In-App billing
I have a non-consumable one time item. I want to check if item is already purchased or not before launching the purchase flow. I tried lots of things but nothing worked. I searched about it but I ...
1vote
1answer
32views
Unable to test in-app billing on some android devices
I am trying to test in-app billing. I have uploaded the app on internal test track and added the testers accounts in licensed testers. From all the accounts I have added in licensed testers list, only ...
0votes
0answers
36views
Inapp purchases failing to acknowledge
I'm having some trouble dealing with the new inapp billing library (version 4)
Ever since I updated the billing library in my app some user purchases are failing to be acknowledged, therefore they get ...
0votes
1answer
73views
Unable to connect to Google Play billing
I am trying to simple connect to Google play billing & access details such as the title & the pricing but I've been unable to do so.
What I've done so far (step-by-step):
(Added the IAP ...
0votes
0answers
22views
Enable display apps overlay blocks GooglPlay billing
I am facing this issue when I enable Display app overlay and show a view as service, I mean showing a view all time like night shift layer or fancy animation, then if I went to any app to purchase ...
0votes
0answers
9views
Can I active user subscription package by paying on another app?
I have two apps: APP 1 and APP 2.
APP 1 has in app purchase to activate premium features.
I want to know that can I do like, PAY via inAPP purchase/In App wallet from the APP 2 and upon successful ...
2votes
1answer
113views
Android - BillingClient returns empty purchases list
Some of my users tell me that my app forgets the purchased subscriptions every now and then. It works for 3-4 days and then it forgets them. This is a very important issue as users might suspect fraud....
0votes
0answers
20views
Android billing integration procedure
I'm working on billing and in-app purchase procedure. My case is a one-time purchase to remove in-app ads permanently. I got working flow and I'm thinking on procedure like this:
Scenario 1 - buying ...
0votes
1answer
25views
Flutter Android Nav Bar blinks in white color using Google APIs
I have a dark themed Flutter app with a dark system nav bar. Phone is in dark mode too.
When Google's Apis are used and overlay a dialog, they can alter the color of the navigation bar. Is there ...
2votes
0answers
30views
Kotlin problem with billing library when no inapp purchase
when i wanted to release my app on google play store console, i got and error : "We've detected that this app uses an unsupported version of Play Billing. Please upgrade to Billing Library ...
0votes
1answer
54views
No callback from Play Billing Library 3 to confirm the purchase
We are implementing in-app purchase for Android using Java. I have added the required implementations and followed this guide: https://developer.android.com/google/play/billing/integrate.
I am however ...
0votes
1answer
199views
Unsupported Version of Play billing
i am using react-native-billing library with version 3.0.0. I am facing an issue i.e, when we roll out the APK for production, after upload we are getting this error message :
"We've detected ...
0votes
0answers
24views
Is it a security concern to not use Google IAP's setObfuscatedAccountId and directly pass a user id to my server after a purchase is verified?
The android billing library I'm using right now (com.anjlab.android.iab.v3:library:2.0.3) does not support setObfuscatedAccountId nor setObfuscatedProfileId, so the flow that's occuring right now is
...
2votes
0answers
64views
We are unable to change your subscription plan. Manage subscriptions in android application
Im using in-app subscription in my application. there are 3 subscription available in application i.e, monthly, 6 month and yearly. If user subscribed with monthly I'm showing upgrade subscription on ...
2votes
2answers
110views
How to create non renewable subscription in Google play console
Currently, I have auto renewable subscription setup. But i want to create non renewable subscription in order to subscribe again at the end each billing period.
In google play console there is no ...
3votes
1answer
399views
Error receiving broadcast Intent act=com.android.vending.billing.PURCHASES_UPDATED
I'm getting an error in crashlytics logs
java.lang.RuntimeException: Error receiving broadcast Intent { act=com.android.vending.billing.PURCHASES_UPDATED flg=0x10 pkg=*** (has extras) } in com....
1vote
0answers
35views
Redeem code option method not showing in android
I have developed an app in unreal engine with one in-app purchase item, I created some promo codes, they are working fine in my region, but a customer in Ecuador told me that the option to redeem the ...
0votes
0answers
59views
Upgrading AIDL to billing 4.0 results in: This version of the application is not configured for billing through Google Play
My app uses Google Play's billing system with AIDL. I had to upgrade AIDL to billing 4.0 version. When I pay for a product with a sandbox account, I can buy it. When I pay for a product with a real ...
1vote
2answers
241views
How payment api's can bill automatically?
Is there Mobile API for Android that have an option to charge clients automatically or in the end of the month? And also can handle wallet information? (I don't want to keep card information on my own ...
1vote
0answers
94views
Google Billing Library v4 Check if the item was purchased
I want every time I start the application check if a premium user has bought.
I do not have a server and I want to perform all actions in the client.
I write the value whether there is a premium in a ...
1vote
0answers
454views
Google Play Billing Library v4 verification of in-app purchases
I use Google Play Billing Library v4 for android app billing
(implementation "com.android.billingclient:billing:4.0.0")
I have not found any methods that can verify the purchase of a product ...
-1votes
1answer
32views
loadOwnedPurchasesFromGoogle() not loading Products or history
I am trying to use the method BillingProcessor method
bps = BillingProcessor.newBillingProcessor(this,getResources().getString(R.string.play_console_license), this);
bps.loadOwnedPurchasesFromGoogle();...
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
1answer
20views
Handling free period within active Apple / Google Play subscription?
Our product owner wants to grant users a month's free subscription in exchange for inviting another user. We handle subscriptions using App Store / Google Play. Is there any way to give a user a ...
0votes
1answer
142views
How to obfuscate Purchase and SkuDetails in Google Play Billing Library version 4?
Like everyone else who has published an Android app with in-app billing, I have followed the instructions from AIDL to Google Play Library migration guide and the rest of the integration documentation ...
0votes
1answer
104views
How to run automated tests of In-App purchases in Sauce Labs with Appium
I am trying to run tests for In-App payments for both iOS and Android with Appium.
So far I have managed to run a local instance of Appium and connect my test devices to it. All the tests work fine. ...
0votes
1answer
34views
How can I show the products that the user has purchased in the billingclient library in Android?
I am using the com.android.billingclient:billing:3.0.1 library. How can I check if the user has purchased any product when the app is opened. So I want to check before the payment page opens.
The ...
0votes
0answers
21views
Android Play Billing Library: the size of skuDetailsList is 0
I have implemented the google inapp product created from the api on the fly when I have to make purchase. Here is the python code.
body = {
"sku":order.sku,
"...
0votes
1answer
33views
All codes are not executing inside SkuDetailsResponseListener
I am trying to use IN-APP purchasing but I can't deal with querySkuDetailsAsync method. All code works well but inside SkuDetailsResponseListener only the first 2 line of codes are executing, namely ...
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 ...