Questions tagged [in-app-billing]

In-app Billing, a service provided by Android operating system.

Filter by
Sorted by
Tagged with
0votes
1answer
392views

Unity's IAP - initialization failure after migration to Google Billing version 3

Yesterday I was pushing a new release of my game to Google Play Store via Developer Console. After successful bundle transfer I've received a warning message that I'm using an older version of an in ...
user avatar
  • 1,452
0votes
1answer
763views

Fix for Typescript warnings for type ‘any’ with Cloud Functions for Firebase

I’m getting a number of warnings all relating to the use of ‘any’ as a return type for functions in my Typscript code. I am trying to write a node.js backend with Cloud Functions for Firebase, to ...
user avatar
  • 39
3votes
1answer
374views

In app billing v3 - why I get DEVELOPER_ERROR when calling queryPurchases(skuID)?

I implemented inapp billing (subscriptions) and everything works properly - I am able to subscribe, I acknowledge subscription, and billing flow ends succesfully with OK status. However, at start of ...
user avatar
  • 2,236
1vote
0answers
354views

Flutter in_app_purchase queryProductDetails method breaking app

Fetching products from Google is problem. Actually building it in flutter after calling queryProductDetails. If i enter set of wrong ID flutter do not have to build any object and it not crashing app, ...
user avatar
0votes
1answer
162views

Python-for-android android billing

I want to implement in-app billing like this: https://python-for-android.readthedocs.io/en/stable/old_toolchain/android/ The program crashes at the very beginning - at the first string of the code ...
user avatar
  • 43
0votes
1answer
1kviews

Updating google play billing library to version 3 with confusing behavior

I have a functioning Android implementation in-app billing, using the billing client 1.0.2 library and everything works fine. I have a simple premium upgrade, without subscriptions. Now I tried to ...
user avatar
  • 139
0votes
1answer
341views

InApp Purcahse Issue : Why its showing Unresolved Reference: setType for BillingFlowParams?

Using billing library in android and to buy subscription instead of in-app products (consumable-non consumable), added .setType(SkuType.SUBS) to BillingFlowParams as below : val billingFlowParams = ...
user avatar
  • 1,168
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 ...
user avatar
0votes
1answer
303views

purchasesList from BillingClient is null at first

I have the BillingHandler class that you can see below which I'm using to handle in-app billing related logic using google's billing library v.3. I'm using Koin to create a singleton instance using ...
user avatar
2votes
1answer
320views

In-App Purchase Issue in Purchase Scenario - Kotlin

I am implementing In-App purchase demo in my android application to learn all the things carefully and deeply. Now, For that, I have below three product ids that I have added in my google play console ...
user avatar
  • 1,168
0votes
0answers
54views

Testing google subscription in android app not working

That is the error I am getting in log. I don't know what it means I have everytihng up to date. I am using Redmi Note 8 as testing device. I have permission in manifest set as "" I was ...
user avatar
0votes
1answer
97views

Android In-App Subscription Implementation

I am dealing with In-app purchase stuff in Android. Learned about In-App purchase for different types: Consumable, Non-Consumable and Subscription. For the Subscription type I come to know that : If ...
user avatar
  • 1,168
2votes
1answer
193views

Android Billing Library v3 - Account in License Testing, Item stuck at Purchased

After searching StackOverflow here, I seem to be having something that none of the suggested fixes work (except for one, mentioned below). I am NOT using the test SKUs (android.test.*), but made my ...
user avatar
  • 516
0votes
0answers
82views

Subscriptions in Google Developer Console are stuck as "inactive"

I just publish my app for internal testing and all my subscriptions are blocked as "inactive". I cannot change the state. The app was published yesterday after 5 days of review, should I ...
user avatar
0votes
0answers
99views

In-app purchase modified local currency price - Android

I have created an in-app product (non-consumable/one time purchase) and set its price using pricing template. For discount applying purpose, I am adjusting the local currency value in the template ...
user avatar
4votes
1answer
882views

android billing querySkuDetailsAsync always returns 0 skuDetails

I'm trying to enable in-app purchases, and can't figure out why my skuDetails query always returns 0 items. I have publicized the app to my internal testing and added my mail address to the license ...
user avatar
0votes
0answers
81views

C# Xamarin Forms InAppBilling PurchaseAsync not returning after handle of playstore

I am using jamesmontenegro InAppBilling and I have a small issue regarding payments. The code is working fine but after the payment is handled by Google Play Store, the app doesn't handle the ...
user avatar
  • 278
1vote
2answers
205views

Unable to fetch inapp products for Xamarin Android using Plugin.InAppBilling package

I'm having trouble retrieving my in-app products for my Android Xamarin app. I'm using the Plugin.InAppBilling nuget package (version 4.0.1-beta) to implement the billing functionality. To begin, I ...
user avatar
  • 1,341
4votes
0answers
617views

Android Billing Client causes memory leak

Simple MainActivity for a new project public class MainActivity extends AppCompatActivity { BillingClient billingClient; PurchasesUpdatedListener purchasesUpdatedListener = new ...
user avatar
  • 1,659
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 ...
user avatar
-1votes
1answer
71views

How to handle dynamic payment in in-app purchase [closed]

We are working on online digital course purchase functionality in our mobile app with in-app purchase. Here, we are facing issues to handle dynamic payments like some user may apply discount coupon ...
user avatar
0votes
0answers
20views

Google Play Billing : Determine a pending price change [duplicate]

I am currently looking into how to deal with price change. The documentation suggests communicating with the user when application starts. To start the price change confirmation flow, the ...
user avatar
  • 1,242
6votes
1answer
423views

Android Play Store Crashes During BillingClient.launchBillingFlow

When attempting to launch billing for an in-app item, I am getting the following error. java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.content.Intent....
user avatar
  • 3,232
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 ...
user avatar
  • 1
3votes
1answer
3kviews

How to successfully complete an in app purchase using flutter on android?

What I want I want to integrate Google Play in app purchases into my flutter app, the product I want to sell is a consumable. Right now I am using the in_app_purchase: (0.3.4+16) package. What I did ...
user avatar
12votes
1answer
808views

How do I revoke an Android in-app non-consumable purchase entitlement after refunding?

I'm currently testing my Android app (license testing in-app payments), requiring many iterations of buying and refunding an item to test it. This last time, while issuing a refund, I accidentally ...
user avatar
  • 433
3votes
1answer
349views

Android Real Time developer notification for one time purchase is half working

Android's Real Time developer notification works when I use "Slow test card, approves after a few minutes". I'm getting two notifications on my server via pub/sub. One when the purchases has ...
user avatar
1vote
0answers
161views

What is IABHelper?

Could someone leave the main difference between In-App-Billing Helper (IABHelper) and In-App-Billing (IAB)? And does IABHelper still required these days? Sorry if there is anything not clear but I'm ...
user avatar
  • 11
0votes
1answer
54views

Can we expire product after user buys from Google In-App Purchase?

I am implementing Google In-App Purchase in my app, Here the user will purchase will my app for xx Rs, and after purchasing it the user will be able to use the app for 2 years. is it possible/allowed ...
user avatar
  • 141
1vote
1answer
274views

acknowledgePurchase In-app billing coroutine

I am new to android and trying to implement in-app billing the first time. I am using the google play in-app library. https://developer.android.com/google/play/billing/billing_library_overview I want ...
user avatar
6votes
1answer
908views

Payment method required for license tester on google play

Is it necessary to add a payment method for license tester on google play? I have added my email id as a license tester in google play developer console. but still when I make some purchase it ask me ...
user avatar
0votes
1answer
119views

Is it better to add "in-app billing" in an app instead of publishing it as a paid app in Play Store for avoiding piracy?

I have read some question's answer on stackoverflow about how to prevent an app from being shared after downloading it form Google Play Store. Such as: Adding Google Play Licensing: How to secure an ...
user avatar
3votes
2answers
1kviews

Upgrade new Google Play Console has effect to app's license key is available in the Play Console

All developers will get the new Google Play Console on November 2, 2020 enter link description here. Is App's license key is available in the Play Console effect? Please help me to explain this issue....
user avatar
0votes
0answers
96views

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....
user avatar
1vote
0answers
79views

Still purchase success but Public key signature doesn't match in in-app purchase

I'm using SDK In-app billing version 3. When I change YOUR LICENSE KEY FROM GOOGLE PLAY CONSOLE and run app, I still can purchase success from Google Play Store but on SDK In-app billing version 3, ...
user avatar
1vote
1answer
2kviews

Google Play In App Purchasing Issue - Error You Already Own This Item

In app purchases on my app have worked fine for 2 years, and I think they are still working okay in Google Play with actual purchases. But recently when using promotion codes, or internal/beta testing,...
user avatar
  • 153
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 ...
user avatar
  • 852
1vote
0answers
60views

in-app billing: How to retrieve tax (vat, play store commission, etc) applied to each order?

With in-app billingn how to retrieve tax (vat, play store commission, etc) applied to each order? To retrieve an order details I call Method: purchases.subscriptions.get https://androidpublisher....
user avatar
  • 11k
0votes
1answer
37views

Good examples for simple in-app purchases? [closed]

Can anyone point me to very simple, but concrete (non-abstract) demos for implementations of in-app purchases via Google Play? I found a few ones dating back to 2012, but to stay up to date, I would ...
user avatar
  • 3,800
0votes
2answers
388views

BillingClient and PurchasesUpdateListener classes not available

I'm trying to add in-app billing as described here: https://developer.android.com/google/play/billing/integrate and think I have set up dependencies as instructed, but still, both the BillingClient ...
user avatar
  • 3,800
1vote
2answers
528views

Google Play subscriptions: interference between 'Account Hold' and 'Grace Period'

All developers received emails from Google saying that apps using subscriptions should manage the 'Account Hold' status from November 1st, 2020. See for example here. So, I am trying to check that my ...
user avatar
  • 12.4k
1vote
0answers
89views

Google Android Publisher API inappproducts.insert permission error

I'm trying to have my server automatically create android in app payment products. I'm currently using the googleapis npm package and a service account. The service account has the View financial data,...
user avatar
  • 101
1vote
1answer
257views

Android Billing v3 - Subscription - Product Not Found

I am trying to implement Subscriptions for the first time. I am using BillingClient v3.0.1. It is contract so I am not the owner of the Google Play account. The account owner has set up financials for ...
user avatar
1vote
1answer
271views

How to know users google play country from inside the android app?

We have some in-app products and subscriptions. The price varies from one country to another. The problem is that we dont know how to detect the country within the app. We are guessing based on a few ...
user avatar
  • 157
1vote
1answer
91views

On with scenario onBillingServiceDisconnected is called?

does the onBillingServiceDisconnected will be call right after the BillingClient.startConnection if something went wrong? or say differently does BillingClient.startConnection, in case of error, will ...
user avatar
  • 11k
4votes
0answers
245views

How to test pending purchase?

I've just updated my app to use the latest play-billing billing (2.0) release, which forces you to support pending transactions or the libraries initialization fails fast. In the release notes for ...
user avatar
  • 11k
2votes
1answer
2kviews

How to configure Real-time developer notifications to use my back-end (https endpoint)?

I need to implement Real-time developer notifications in my backend server to be aware of any purchase modifications made by my users (pause account, renew subscriptions, etc.). My backend Server is ...
user avatar
  • 11k
0votes
1answer
38views

Android In App Billing check if test purchase

I'm testing Android In App Purchase. I followed google's example and every purchase (either test and real purchase) was successful. But I should know if the purchase was testing or a real purchase. Is ...
user avatar
  • 435
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 ...
user avatar
  • 11k
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 ...
user avatar
  • 1,615

15 30 50 per page
1 2 3
4
5
51