507 questions with no answers
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
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
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
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
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
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
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 ...
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
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/...
3
votes
0
answers
296
views
Google Play billing no action when trial ends
I'm using google play billing library 4.0.0 for subscription. With my old app everything is ok.
But with new app I have a problem - 80% of active trials do not convert to the paid version after 3 days ...
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
424
views
Billing API version is less than 3
I have recently logged some errors from in app billing to crashlytics, one of them:
Google Play In-app Billing API version is less than 3
The OS on the devices is Android 10,11,12,13 so the devices ...
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
...
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 ...
1
vote
0
answers
337
views
Handling Subscription Plan Selection in Google Play for a PWA App
I have the PWA app installed via the GooglePlay store. I use the following code in the app to create a subscription.
const paymentMethodData = [
{
supportedMethods: '...
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,...
1
vote
0
answers
636
views
Google play payment pop-up comes up completely blank and white
I am trying to get inApp billing testing in android. for this I
a-included a ready made library,
b- paid and become a member of Google play
c- uploaded my test app with the right app license_Key from ...
0
votes
0
answers
515
views
Google issues refunding for all subscriptions purchased within 3 days even though I acknowledged the purchase
I have developed one project which integrated in-app bililng method for Subscription.
It is non-consumable product and it has $3.99 subscribe item per month.
I have used the billing client method 2.1....
0
votes
0
answers
401
views
Google Play in-app purchase box doesn't launch within the context of the activity that starts the subscriptions flow, Android Billing Library V55
Integrated the Google Play Billing Library version 5 into an existing application.
when trying to start the purchase flow using launchBillingFlow() method and passing an instance of the current ...
1
vote
0
answers
367
views
How to Debug locally with Android Studio the Google Play Billing library on App that "App Signing by Google Play"?
When I trying to purchase In-app product with Google billing library from my app that currently running locally from android studio on physical device I'm getting this error:
"This version of the ...
1
vote
0
answers
57
views
Test billing products
In the past we could test the in app purchase with static skus like following:
android.test.purchased
android.test.canceled
android.test.refunded
android.test.item_unavailable
This did work without ...
2
votes
0
answers
149
views
Android in-app-billing not working on Wear OS, only on the phone
When installed directly on a phone the app works well. However, on a wearable "onPurchasesUpdated" is not called after the purchase was completed through the phone, so the purchase cannot be ...
3
votes
0
answers
343
views
Apple in-app purchase amount varying From Euro to Dollar
Apple in-app purchase currency conversion from euro to dollar not seems correct. I have declared in euro as €19.99 but in dollar it shows $16.99.
In App store connect, I created in-app purchase ...
1
vote
0
answers
683
views
product id in purchases.products.get, when multiple products are purchased
In our app, there are multiple products, one can add products to a cart and order.
For a purchase token which corresponds to a order with multiple orders, if I call following API,
https://...
3
votes
0
answers
80
views
Android Billing test purchase id deprecated?
I used test puchase ids such as "android.test.purchased" for my instrumentation tests. When I last run these tests they failed on every device, as the dialog does not show any "Purchase ...
0
votes
0
answers
64
views
Android Kotlin Billing library 4.0.0 purchase.sku not foud
I have updated billing library 4.0.0 and now purchase.sku not found so can you help me how to resolved this error in below code.
GlobalScope.launch {
subsList.forEach { ...
3
votes
0
answers
269
views
Android In-app billing, How to determine whether to call consumeAsync or acknowledgePurchase?
I have implemented the Android in-app billing library version 5.0.0, there are multiple subscription products and in-app(consumable) products shown on the same screen for the user to purchase in my ...
0
votes
0
answers
236
views
Does the Xamarin Forms InAppBillingPlugin have a bug in the connection code? Is there a workaround?
I've copied the following code almost verbatim from James Montemagno's InAppBillingPlugin:
https://jamesmontemagno.github.io/InAppBillingPlugin/CheckAndRestorePurchases.html
The version I am using is ...
1
vote
0
answers
1k
views
BillingClient isFeatureSupported returns SERVICE_DISCONNECTED
I'm working with the Google Billing Library Version 5. I've pretty
much gotten my code to do the right thing. I tested it on hardware
devices running API levels 16, 23, 28, and 32.
Then I did a ...
1
vote
0
answers
252
views
Get Period of subscription in Android Google Play Billing
How could I get the period of current user subscription? I have Pro subscription with 2 available period options: monthly and annual. Now I want to show user his current subscription's period, but I ...
5
votes
0
answers
403
views
Google Play Billing (v5): How to let the user upgrade from a subscription to an IAP
Lets say I have two products:
subscription: auto-renewing yearly
in-app purchase: non-consumable lifetime purchase
Is there any way to upgrade from the subscription to the IAP without forcing the ...
0
votes
0
answers
104
views
How to stop Google Play Billing from charging until an api request confirms the purchase can be made
I have a question about the Google Play Billing Library (version 5) but I guess older versions are fine too.
In Google Play Billing, the purchase flow is launched like below:
BillingResult ...
2
votes
0
answers
300
views
How to design optimal Google Play Billing flow?
I started to implement Google Play Billing flow (Subscriptions only) for simple use cases but surprisingly there are quite limited articles showing how to do it in an optimal way. ClassyTaxi example (...
1
vote
0
answers
293
views
Why is the subscription not updating correctly, Android?
I have two subscriptions in the application, each of them individually works correctly. But when I try to do an Update/Downgrade, problems arise:
I have two subscriptions in the application, each of ...
0
votes
0
answers
169
views
Disable ads after in-app product purchase with in-app billing 5
I have set up in-app billing 5 in my application which is mainly about disabling Admob ads after the user makes a purchases , after the user pays for the in-app product , I would like to know what are ...
7
votes
0
answers
547
views
Why has the Google Play In-App Billing Purchase object a list of skus?
I implemented the Google Play Billing API in my Android app.
But I don't understand why a Purchase object doesn't have a single sku but a list of skus? In which case can a Purchase contain more than ...
3
votes
0
answers
442
views
[Xamarin InAppBillingPlugin]: When should I call AcknowledgePurchaseAsync?
I'm upgrading to version 4 of InAppBillingPlugin, and I understand I must now call CrossInAppBilling.Current.AcknowledgePurchaseAsync. My question is precisely when. I'm getting conflicting ...
1
vote
0
answers
1k
views
Obtain user data from purchases.subscriptionsv2.get
I am building an Android App, using Firebase as Backend. Firebase will be used for authentication, storage, some data in firebase database, and also using cloud functions.
There are subsriptions in ...
1
vote
0
answers
689
views
Is there any way to create in-app product list via API on Google in-app billing?
I was reading Google In-app billing, and I've seen you need to introduce Products one by one or with a CSV file.
Is there anyway to create them programmatically via API or something like that?
...
1
vote
0
answers
560
views
Flutter in_app_purchase return wrong inapp prices
I'm using in_app_purchase 3.0.6 package but i get wrong prices for the inapp i have created in Google Play e AppStoreConnect.
On AppStoreConnect i have 3 inapp with those settings :
1 - identifier: ...
0
votes
0
answers
47
views
Xamarin InAppBilling
I have a xamarin application with in app billing feature using the nuget package from James Montenegro. When user is uses the app for the first time, after a few hours, the user access to the app ...