Questions tagged [android-billing]

Android In-app Billing is a Google Play service that lets you sell digital content from inside your applications.

You can use the service to sell a wide range of content, including downloadable content such as media files or photos, virtual content such as game levels or potions, premium services and features, and more. You can use In-app Billing to sell products as:

Standard in-app products (one-time billing), or

Subscriptions, (recurring, automated billing)

Useful links

475 questions
0
votes
0 answers

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 active and I can see it on play store. What could…
0
votes
1 answer

How to query old (one time) purchased items with play billing libray v6.0.1

I am migrating from In-App Billing v3 to Play Billing Library v6.0.1. I am stucked at a point where I need to query and confirm old (one time) purchases with play billing library v6.0.1. With in-app billing v3 it was easy to query a purchase by…
0
votes
0 answers

BillingClient is not connecting to Play Srevices usinng 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 versions but to no avail. The connection to play…
0
votes
1 answer

Is it possible to get currency values returned by SkuDetails.getPrice()?

I'm using localizedPriceString of Unity that actually calls SkuDetails.getPrice() of Android API. For correct displaying symbols of any currency would be great to know list of values can be returned by SkuDetails.getPrice() or…
0
votes
1 answer

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 SkuDetailsParams in this version. Previously, I used…
0
votes
0 answers

Google Play Store Payments: Why Does Google Send Duplicate Notifications For SUBSCRIPTION_RENEWAL Payments?

I received these 7 notifications 5 seconds apart from each other. Each orderId contains a suffixed "..X" where X increments with the number of notifications. The acknowledgementState is also True immediately after the first notification. So I can…
0
votes
0 answers

Is there a version of 'inapproducts.list' that can be called from my app on the phone?

The Google Play Store back end has a call to retrieve all products for an app. https://developers.google.com/android-publisher/api-ref/rest/v3/inappproducts/list Is there a way to do this from my Kotlin client on the phone using BillingClient or…
Bungles
  • 1,969
  • 2
  • 25
  • 54
0
votes
1 answer

Google Billing crash my app because change screen mode to portrate

I have standard billing client with clear architecture, my billing clieant does not know about activity. I Send to billing client activity like a param on his method no more. My app has screen mode = sensore landscape. I declare that on manifest and…
0
votes
0 answers

Error when trying to implement Billing Client into my app

I'm delving into the world of Android app development, and I'm trying to implement Billing Client in my app, but I'm facing an issue. I'm following the steps from the documentation provided by Android Developers, everything seems fine until I…
0
votes
0 answers

How to call BillingClient::queryProductDetails in Kotlin without knowing any product IDs?

I would like to use the Play Store BillingClient to get a list of all products for sale for my app and I don't want to have to hard-code my product list on the client because the IDs on the client and IDs on the Play Store can easily get out of…
Bungles
  • 1,969
  • 2
  • 25
  • 54
0
votes
0 answers

Error: "Please provide a valid listener for purchases updates" Google Play Billing Library android

I'm implementing in my app the purchase of a subscription for the user through the Google Play Billing Library. The problem is that I need to access the same BillingClient instance in two different classes: 1. MainActivity: I need to access the…
0
votes
0 answers

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: 'https://play.google.com/billing', data:…
0
votes
0 answers

Android app Google Play Billing: onConsumeResponse: 0 ,how to overcome?

Problem statement: In my app using Google Play Billing V5.2.0, the billing screen showed "Purchase successful" message after clicking buy-button for consumable product. However, my codes did not receive "OK" response code to execute in-app…
0
votes
0 answers

How far is Google Play Billing Library a replacement for Application Licensing (LVL)

I just tried to add "licensing" to my app. I first found "lvl_library", which is supposed to offer license handling - so users can pay for an app. Now my app in reality isnt a "pay upfront". It is free + weekly subscription for extra features. A…
0
votes
0 answers

The purchase window is no longer prompted

I renewed was gradle plugin 4.0.1 gradle version 6.1.1 became gradle plugin 7.1.1 gradle version 7.2 and the shopping window no longer shows .If return back will work. What can be wrong? (The most interesting thing is that if you compile via USB…