2,600 questions
0
votes
0
answers
45
views
Retrieve the base plan bought from queryPurchasesAsync Billing Library V8
I am using Kotlin Google Play Billing Library 8 to query the subscriptions already bought
by the user. I can get purchaseToken and subscription ProductId BUT unfortunately there is no information ...
0
votes
2
answers
79
views
Kotlin: BillingViewModel.kt App Won't Compile With productDetailsList.firstOrNull(): Unresolved reference 'firstOrNull'
Building my first Kotlin app that has a premium feature.
My app will not compile with productDetailsList.firstOrNull():** Unresolved reference 'firstOrNull'.** I can set it up as a private function ...
0
votes
0
answers
40
views
Flutter Android In App Purchase Erroring when attempting subscription
I am using the in_app_purchase official Flutter package for managing subscriptions within my app. iOS works fine when tested, but I am having issues with Android. My monetisation setup is as follows:
...
1
vote
0
answers
78
views
queryPurchasesAsync returns cancelled and expired test subscriptions
fun checkPremiumStatus() {
billingClient.queryPurchasesAsync(
QueryPurchasesParams.newBuilder().setProductType(BillingClient.ProductType.SUBS).build()
) { billingResult, ...
0
votes
0
answers
21
views
Google Billing API 7.0 User One user Subscribes but other user can run the app with subscription
I am new to Google Billing API. Using version 7.0 of the API. I am integrating it into an android client. App does not have a backend yet. I have two internal testing accounts that are testing the app....
0
votes
1
answer
60
views
Differentiate different types of dollar currencies for Google Play in-app billing
Google Play's in-app billing library has a good function to get a product's local price and currency as a string:
ProductDetails.OneTimePurchaseOfferDetails oneTimePurchaseOfferDetails = ...
0
votes
0
answers
55
views
Can I use the BillingClient SDK to fetch the Play Store region without in-app purchases?
I am planning to use the BillingClient SDK in my Android app to fetch the user's Play Store region. However, my app does not include any in-app purchasing features.
Is it still acceptable to use the ...
0
votes
0
answers
54
views
How to ensure no monetization code or libraries in Android app
With Google's new 'DOXing' policy for Google Play Developers (publishing the full home address of individual/hobby developers if they choose to monetize their apps following their new ID verification ...
0
votes
1
answer
159
views
Sharing a Single Subscription Across Multiple Apps on Google Play
I have two applications designed for the same users and providing similar content, but they are data incompatible. Existing users of the old app have active subscriptions, and I would like to enable ...
0
votes
0
answers
32
views
Play billing v7 subscriptions: how to allow a salesman offer discount
I'm currently working in an app for instructors which have most of the features free for everyone, but only a few are available if you pay a subscription. We have some plans (three to be exact), and ...
0
votes
1
answer
108
views
How to check the status of In-app-billing in android (Jetpack compose) app
I developed a simple app without any backend cloud server, It has an IN-APP-Billing system for premium users. (It is a one-time purchase). To perform that system, I'm using Google's in-app billing ...
1
vote
1
answer
186
views
flutter in_app_purchase (Subscription)
I am building an app with a monthly subscription plan using the in_app_purchase package in Flutter.
Subscription Validation: I currently check if the user is subscribed (isSubscribed = true) by ...
0
votes
1
answer
149
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
0
answers
42
views
I want to get billing cycles in In App Billing Android
Heading ##I want to check on my App launch that is user is subscribed then how many time it's billing cycle is completed. And I also want to know the expiry date or next billing
date of subscription. ...
0
votes
0
answers
43
views
InAppPurchase - android pending transaction
I'm struggling at implementing InAppPurchase for subscriptions on my Flutter app.
I have a subscription plan that a user can purchase, but when I test it from my licensed testing account, my purchase ...
1
vote
0
answers
138
views
Google Play InAppBilling Error: "This version of the application is not configured for billing through Google Play"
I'm working on a .NET MAUI application where users can purchase subscriptions through Google Play and the App Store. I'm using the InAppBilling plugin for handling in-app purchases. It works smoothly ...
0
votes
1
answer
139
views
Will missing the Google Billing API v6 update deadline block all future app updates on Google Play?
Google Play requires me to update my app's Google Billing API from v5 to v6 before Nov 1. The message from the Play Console states that if I don't upgrade by this deadline, I won't be able to publish ...
0
votes
1
answer
160
views
Can not install Plugin.InAppBilling in .Net Maui project
I have a .Net Maui project that is compiling fine, when I install the nuget plugin: Plugin.InAppBilling I can no longer compile the project and I receive this error:
A referenced assembly was ...
0
votes
0
answers
45
views
Handle non-renewable in-app purchase in Multiple devices and multiple Accounts in same Device
We're using non-renewable subscriptions (monthly and yearly) in our app. We're encountering an issue where users who sign up for a subscription, log out, create a new account, and try to subscribe ...
-1
votes
1
answer
60
views
Android in App Subscription cases to be handle
I have 2 subscription in android
Basic One with 3 base plan (less feature)
1 month prepaid
6 month prepaid
12 month prepaid
Premium one with 3 base plan (more feature)
1 month auto renewal
6 month ...
4
votes
0
answers
581
views
Fatal Exception in Google Play Billing Library: NullPointerException in ProxyBillingActivity
I am encountering a crash in my Android application related to the Google Play Billing Library. The crash occurs when trying to start the ProxyBillingActivity, and the stack trace indicates a ...
0
votes
1
answer
154
views
Understanding one time non consumed purchases in Android In App Billing 7 implementation
am trying to upgrade my in app billing with version 7.0.0.
In the following link: in app billing Android integration
I see the following which is confusing:
The following example shows how to fetch ...
1
vote
1
answer
105
views
Subscription upgrade vs expire - distinguish SUBSCRIPTION_EXPIRED notifications
There are two conflicting cases when Google sends SUBSCRIPTION_EXPIRED notification
subscription is expired, entitlements should be removed
subscription is superseded by another, entitlements should ...
0
votes
0
answers
75
views
Wait for finish of queryProductDetailsAsync to display price of InApp product
I want to display on android button price of my InnApp product.
I use queryProductDetailsAsync to get price.
Issue is that when I assign price in button "binding.ButtonBuy.text = price" ...
1
vote
0
answers
361
views
Response from Google Play Developer API: Your client does not have permission to get URL
When I call the following from a terminal on my server based using the Google Play Developer API:
curl "https://androidpublisher.googleapis.com/androidpublisher/v3/applications/com.example.myapp/...
0
votes
0
answers
133
views
In-App Purchase Subscription Offer Code Not Working Android
I am having issue with the subscription offer, other things works fine.
Code for loading products / query products.
ImmutableList<QueryProductDetailsParams.Product> productList = ImmutableList....
0
votes
1
answer
319
views
Android server notification implementation in app purchase
Couldn't find any article or guid to implement in app pub/sub on android and docs are not very clear.
Tried reading docs but docs are cumbersome. Any guide or steps on how to implement this would be ...
0
votes
1
answer
106
views
queryPurchasesAsync return empty when subscriptions expired
I test to buy subscription in sandbox ,but the subscription canceled and expired when the auto-renew reach 6 times.
Then nothing was returned with calling queryPurchasesAsync.
I think it would always ...
1
vote
1
answer
730
views
How to get rid of Introductory Offer with Free Trial when user already used this offer?
I have in-app purchase with productId ‘yearly’. This product contains Introductory offer - Free trial for 7 days. I have function which grabs this product from store. So when I buy this product at the ...
1
vote
1
answer
138
views
java.lang.ClassCastException: LinkedTreeMap cannot be cast to ProductDetails$OneTimePurchaseOfferDetails
I am using in-app billing (com.android.billingclient:[email protected]:2) lib for payment in Android.
Billing Library: Provides product detail information as ProductDetails in response of QueryInventory.
...
1
vote
0
answers
207
views
PurchaseUpdateListner returning Null List of purchase
Please refer to the earlier question for a more comprehensive understanding Q1, followed by Q2.
I have identified the reason why my handlePurchase() method is not being invoked. In a previous ...
1
vote
0
answers
384
views
Google Play Billing PurchasesUpdatedListener returning SERVICE_DISCONNECTED
Im trying to add Google PLay Billing in my app from last few days , in the previous question i mentioned that the launch flow is opening the real payment method instead of test cards
view the ...
1
vote
0
answers
48
views
Billing flow not launching on button click
I followed a tutorial online and I'm struggling to launch the billing flow on button click. When the button is clicked absolutely nothing happens. Everything in terms of subscription details is ...
1
vote
0
answers
25
views
Problem using query response from inApp Billing
I'm triying to retrieve some data using query ProductDetails of inAppBilling.
The response obtained is like this:
["ProductDetails{jsonString='{"productId":"1","type"...
1
vote
0
answers
118
views
Android Billing. How to purchase multiple quantity of multiple items?
Do we have the possibility to purchase multiple different items with different quantity within a single purchase?
Sample:
item_sku_0
item_sku_1
item_sku_2
The user selects
item_sku_0 : qty: 3
...
16
votes
2
answers
8k
views
The item that you were attempting to purchase could not be found
I have setup in app purchasing on Android and the Google Play Store. When I try to purchase the product from the Android app it returns this error: The item that you were attempting to purchase could ...
0
votes
1
answer
2k
views
Android Studio - In App Purchase: billingclient problem
A few years ago I made a app for Android, but the project was deleted by a mistake. After now a few more years I decided to write it again. So I have came to the part where I want to add in app ...
1
vote
1
answer
168
views
Android Google In-app-purchases v6 restore purchases without custom server
I have implemented Google In-app-purchases v6+ library. The user is able to purchase non-consumable virtual item.
When the user re-installs the app or installs the app on the another device with the ...
3
votes
0
answers
285
views
Android In-App Subscriptions: queryPurchasesAsync not Returning Subscription Details after Successful Payment
I'm encountering an issue with in-app subscriptions in my Android app. Some users are reporting that they are not receiving subscription benefits even after a successful payment. Upon investigating, I ...
0
votes
1
answer
212
views
Why does passing the purchaseId from in_app_purchase(flutter) to the androidPublisher API always throw 400 error?
The androidPublisher subscription APIs (for example the cancel subscription api) always throw a 400 error when I pass the purchaseId after a successful purchase in place of the token parameter. The ...
1
vote
1
answer
194
views
A member variable set before billingClient.launchBillingFlow is lost when PurchasesUpdatedListener callback is triggered
I'm initializing a member variable to null.
Later in the process, this member variable is assigned a value, before starting the payment flow, ie before invoking billingClient.launchBillingFlow(context,...
0
votes
1
answer
923
views
Google Play Billing V6 show error DF-DFERH-01
Hi I am integrating Google Play Billing Library on my project on a fragment in android studio to sell a subscription, I alrready make the set up in the Google Play Console uploading my app in internal ...
0
votes
1
answer
65
views
Price loading only when reopen the activity or when click on buy button
Prices are not shown to the user at first, need to reopen the activity several times to show the price or click on buy button.
billingClient = BillingClient.newBuilder(this)
.setListener(...
0
votes
2
answers
443
views
BillingClient and BillingClientWrapper - circular dependency injection
I have a situation where my BillingDataSource aka BillingClientWrapper needs a singleton BillingClient object, but creating the BillingClient object can't be completed without a listener that's in the ...
0
votes
1
answer
203
views
Android billing 6 enter in initiatePurchase function and do nothing after it
I'm new using Android billing. I'm implementing an activity with 4 consumable shopping options. So I have 4 buttons. When user clicks on any of them, the toast initiatedPurchase(productId: String) ...
0
votes
1
answer
577
views
queryProductDetailsAsync returns empty list in production version (Google Play Billing)
I'm facing an issue, queryProductDetailsAsync returns empty list in production version, But it's working well for internal testers.
I published the app and it was approved yesterday. Also the app is ...
0
votes
0
answers
162
views
Android billing client purchase SKU not getting
public class CreditBuyActivity extends AppCompatActivity implements PurchasesUpdatedListener {
ImageView creditArrowBack;
private BillingClient billingClient;
RelativeLayout relative1, relative2,...
3
votes
2
answers
3k
views
How can I test how my in-app pricing looks like in other currencies?
I use Google Play Billing library for an in-app product.
When using my app, I always see my original pricing, in my country's currency. The price appears on the Google Play purchase popup, and where I ...
0
votes
1
answer
812
views
BillingClient is not connecting to Play Services using v6.0.1
I am implementing in app services using in app billing library v6.0.1. Strangely the Billing Client is not connecting to Play Services.
I have tested the following code in both release and debug ...
0
votes
1
answer
1k
views
Replacement for SkuDetailsParams in Billing 6.0.1
I recently updated my Android app to use Billing Library version 6.0.1, and I noticed that SkuDetailsParams class is deprecated. I'm trying to find the new replacement or alternative for ...