All Questions
Tagged with in-app-billing android-billing
191
questions
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
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 ...
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 ...
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 ...
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 ...
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 ...
0votes
0answers
22views
How to check subs if it was canceled in Android?
Hi everyone I use a anjlab billing library and i faced to problem. How to check a subscribe of users for acces to full functions in my app? I try to do it but i wasn't saved in it. I want to be sure ...
0votes
0answers
37views
Query all purchases and available producs - Google Play Billing
I just wanted to ask if someone knows if there is a possiblity to load all available products from the Google Play Billing library. For all the methods you have to provide a specific SKU oder an array ...
1vote
0answers
83views
how to determine the user if he re subscribed to expired subscription from google play store subscriptions
I have an android app that has subscriptions, the problem is user can directly re subscribe to expired subscription from the play store instead of the app. so i can't have the user details in the ...
0votes
0answers
20views
While migration from AIDL to Billing version 4 what are the essential one to test the implementation works fine(How can I test)
While migration from AIDL to Billing version 4 what are the essential one to test the implementation works fine(How can I test)
I am trying to migrate the AIDL to billing v4.
Question:
How can i test ...
1vote
1answer
87views
Android Billing Subscription will not automatically renew
I am integrating the billing v3 subscription for my app, and billing client showing as This subscription will not automatically renew. I need it should be renew automatically.
2votes
2answers
439views
Introductory Price not showing In Android Google Billing SDK ( In India )
I am not able to find a way to show introductory price in android-google-billing-pop-up,
My Problem :
as you can see that introductory price are not showing even for new user also.
what I have ...
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 ...
3votes
2answers
2kviews
BillingClient: In-app billing API version 3 is not supported on this device
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 ...
0votes
2answers
163views
Using Android BillingClient, how to restore a user's IAP after re-installing, or changing their device?
My application has a single one-time non-consumable IAP to turn off advertisement. I'm trying to provide a "Restore Purchase" option for my application. In the event a user uninstalls the ...
3votes
1answer
138views
Billing Flow not launching
I've been at this for a week. I cannot get the billing flow to launch, please help!. Thanks. I'm not getting any errors. From what I can tell it is never hitting the "public void ...
2votes
0answers
280views
Is "Google Play In-app Billing API version is less than 3" an attack?
I've an android app in production phase with more than 1 million downloads
The app is free to download but some features require the user to pay
Monitoring the app throught crashlytics sometimes see ...
4votes
0answers
168views
Google Play library 3.0 check if user used introductory price
I am using Google Play Billing library 3.0.3 with Java.
I have an introductory price on my subscriptions.
When the user already have used the introductory price, the getIntroductoryPrice() function ...
3votes
1answer
262views
Android inn app BillingFlowParams builder fails with java.lang.IllegalArgumentException
In my android app i have a pop up activity which appears in front of MainActivity with list of products to buy by user. When user chooses product - it calls MainActivity.launchBilling(String skuId)
...
1vote
1answer
49views
Same In-App product shared among multiple apps (Android)
Is it possible to have the same in-app product(managed) in multiple apps? Such that if a user buys a premium upgrade in one of the apps, he gets premium upgrade in all of them.
Note that I'm not ...
0votes
1answer
87views
Inapp purchase discount using template
For Android in app purchasing module...
I am following guidelines as given on Official Page
I wish to present 4-5 non-consumable digital goods within my app.
So for each digital product I have created ...
0votes
0answers
356views
Android - In app subscription doesn't auto renew
I am using the billingclient in version 3.0.1 to manage some subscriptions (monthly, bi-annually and annually).
com.android.billingclient:billing-ktx:3.0.1
So far it's working great, user can ...
2votes
1answer
146views
In-app purchase. Unable to buy again. Item response: "7 Item Already Owned"
I'm figuring in this problem when I try to by for the second time the same consumable.
First time work perfectly but i can't buy it again.
I'm testing billing and I don't pay real but I'm using test ...
1vote
1answer
185views
Development package name different from the PROD package name
I have my PROD app installed on my android phone with the package name "com.mycompany.app". however to develop and test my app I use the package name "com.mycompany.debugapp". in ...
0votes
1answer
94views
Get same Google Billing SKU's for alterantive app package names
In our app we have 2 app naming schemas: com.my.app for release builds, and com.my.app.debug, for, well, debugging.
This is setup this way, so we can separate analytics on Firebase - so debug crashes ...
1vote
1answer
242views
params.setSkusList(list) doesn't work when list contains more than one sku productId
Following code doesn't work
List<String> test = new ArrayList<>();
test.add("product_1");
test.add("product_2");
...
-2votes
1answer
42views
Is online video in Android application in app purchase or service?
I have android app and I'm going to sell education videos inside the application.
Just now I should understand are videos in app purchases or goods? Should I use Google play billing system to sell it ...
0votes
1answer
154views
Where do I find BILLING_RESULT_OK for Google Play Billing isFeatureSupported call?
The google play developer documentation for in-app-purchase subscriptions states
Before your app enters the billing flow, you can call isFeatureSupported() to determine whether the device supports ...
1vote
2answers
392views
Should we unlock in-app item after purchase is success (onPurchasesUpdated), or after acknowledgement is sucess (onAcknowledgePurchaseResponse)?
Ever since in billing library 2 and 3, there is an extra acknowledgement step we need to perform, after purchasing is success.
When purchasing is success, the following call-back will be triggered.
...
0votes
2answers
339views
How do you test Android in app billing with non-consumable products
So I'm building an Android app that uses the "freemium" monetization model. I'm able to make purchases with a "test card, always approves" of the "premium" upgrade non ...
2votes
2answers
793views
Google Play Inapp Billing v3: what is the purpose of Backend Server?
I have an Android app with inapp subscriptions (with a 7 day free trial period) and I am trying to upgrade it to Google Play Inapp Billing v3 following these instructions:
https://github.com/android/...
4votes
1answer
2kviews
Open this app to confirm your subscription before Jun 23, 2020
Open this app to confirm your subscription before Jun 23, 2020. What is causing this?
4votes
1answer
3kviews
Android Google Pay Billing - Response 4 : ITEM_UNAVAILABLE
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" ;
...
0votes
1answer
200views
19 orders either "Cancelled" or "Payment declined" is this a coincidence or can a faulty implementation of billing library on my side cause this
On one of my new apps I received 19 individual orders yesterday, but not a single one of them went through, could I have improperly implemented the billing library, can a developer side issue cause ...
0votes
1answer
193views
Buy same item over and over without consuming - In App purchase android
I have kept a donate tab and want to let the users buy the items over and over again. I have implemented a code but it lets the user buy the specific item only once. I have used managed products in ...
0votes
0answers
537views
Consuming purchase results in a null object reference
Billing flow launches successfully, and I receive the purchase receipt email.
However the fatal error occurs when client.consumeAsync(consumeParams,consumeResponseListener); is called.
This is ...
8votes
4answers
7kviews
Implement Google Play Billing Library version 2
Google published a brand new version to handle the payments in Android but after searching quite a while I cannot find a single example or tutorial from someone who succeeded implementing it.
The ...
3votes
0answers
115views
Refunded non-consumable purchase still in the list Google Play Billing Library 2.1.0
I use queryPurchases() to query as said in android dev.
Process:
Success purchase
Grant entitlement to the user
Acknowledge it
Refund using the the google dev console
I can still query the ...
16votes
3answers
2kviews
Why Android BillingClient v2 slow credit card test never cancels?
I am implementing the new BillingClient library (v2.1.0) for a non-consumable in-app purchase.
I am testing pending transactions with a test user. It works fine with "Credit card approves after a few ...
0votes
1answer
1kviews
launchBillingFlow() couldn't display the Google Play purchase screen
I'm using Google Play Billing Library in my app. App relase in internal test relase type. But when I clicked product button, launchBillingFlow() couldn't display the Google Play purchase screen.After ...
0votes
2answers
948views
How do I distinguish between for consumeable products and for products that aren't consumed?
I used 'com.android.billingclient: billing: 2.0.3'.
How do I distinguish between for consumable products and for products that aren't consumed?
Consumables are approved for purchase with ...
9votes
3answers
3kviews
Google Play Billing (testing mode): why my purchase is automatically canceled
I followed all the best practices from Google Developer Doc: https://developer.android.com/google/play/billing/billing_library_overview
I push my App in Beta test mode. All works perfectly, except at ...
-1votes
1answer
39views
Must I use Google play billing library if i want to sell an ad space directly to advertisers?
I want to sell an ad space in my Android app that's on play store. I want to sell it directly to advertisers who will need to pick the target for their ads, Is it a must to use google play billing ...
0votes
1answer
365views
Android in app subscription status first month onward
I have an android app using google in app monthly subscription, The subscription is working fine when user is subscribe successfully it will go through public void onProductPurchased so I can update ...
0votes
0answers
227views
what is the reason of this ? java.lang.IndexOutOfBoundsException
java.lang.IndexOutOfBoundsException:
at java.util.ArrayList.get (ArrayList.java:411)
at salavat.mahammad.xxx.salavat.ayarlar$10.onSkuDetailsResponse$32ef7931 (ayarlar.java)
at com.android....
6votes
3answers
3kviews
Is it necessary to migrate from "Google Play Billing with AIDL" to "Google Play Billing Library"?
I know that "Google Play Billing with AIDL" deprecated, but the app on which I am working is so complex that I don't want to change the core parts of the application.
On the play console, I am ...
2votes
2answers
336views
Billing library 2.0 querySkuDetailsAsync reports error 5 and return an empty SkuDetails list
I upgraded to billing library 2 on my latest version and things seem ok but I have had a few users (1.6% based on my Fabric event) have contacted me because of issues making purchases. After ...