Questions tagged [in-app-billing]
In-app Billing, a service provided by Android operating system.
2,516
questions
1vote
0answers
152views
In App Billing - SKU being null in billing process
I am trying to add 3 buttons for purchase of 3 different things in the app.
However, after pressing one of the three buttons, while the first product can be purchased successfully, the other two ...
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
1answer
24views
Cannot convert from Plugin.InAppBilling.ItemType to bool
I use the InAppBilling plugin from the author jamesmontemagno version 4.x. (last stable)
Follow the code return error: Cannot convert from 'Plugin.InAppBilling.ItemType' to 'bool'
Original example ...
0votes
0answers
48views
How to query state of product on in app purchase in android?
I have a question, I try to doing with very many the way but result is not as my expected.
I'd like to add in-app purchases to my app. Suppose,I have one button, I can upgrade to each level from 1 to ...
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
24views
Where to add license_key, and merchant_id for in app purchases in flutter
I have been trying to make in app work with flutter but it's not working.
I tried 'in_app_purchase' and 'flutter_inapp_purchase' separately by following the examples and adding my product_id's. ...
0votes
2answers
270views
Android Google Play Billing - querySkuDetailsAsync resurning empty list
I have an Android project where I want to use com.android.billingclient.api version 4.0.0, which would replace an old billing library that google doesn't allow any more (com.anjlab.android.iab.v3). I'...
0votes
0answers
12views
How to implement in app purchase on Android and handle some logic for increase credits on my server?
I have a server with info about credits that have user.
How to implement in app purchase on Android and handle some logic for increase credits on my server?
0votes
0answers
19views
Confirm subscriptions error in Google purchase library
I sell subscriptions and products in my mobile application with google billing. I make changes to user account with firebase when a product is sold. I've noticed that 20% of my users are disapproved ...
0votes
0answers
73views
Google Play Billing 4.0 launchBillingFlow() never returns, and purchase is never acknowledged
I'm developping a Wear OS watch face with premium features that users can pay to unlock. Do do that, I use the Google Play Billing Library 4.0. I'm using their sample repository as an example.
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 ...
0votes
0answers
46views
The product is not available for purchase google play
I'm using BillingClient to put products in my app that's already published in the play store, but when I go to test the purchase process on my test device, I always get this error:
Here
The error is ...
0votes
1answer
35views
How can we purchase multiple In App Auto renewing subscription of same product ID in iOS
We have an app that supports multiple logins. We are providing "Pro" content of the app for the users who have purchased our subscription. However, In my understanding, we cannot buy the ...
0votes
0answers
59views
Android Google in-app Billing v3 Get Subscribe ID
I want to write the product purchased by the user to the database.How can I get the Subscribe item id that the user purchased? I will take this id and write it to the database. I'm using the firebase ...
0votes
0answers
58views
Billing Library - Testing InApp subscriptions of different countries/regions
I am using Google Play Billing library system to make subscriptions inside my app. I am trying to do in-app purchase from my application on an Android Emulator device from a particular region
Now., i ...
0votes
1answer
66views
RuntimeException : when calling BillingClient function in in app purchase
private BillingClient billingClient = BillingClient.newBuilder(activity)
.setListener(purchasesUpdatedListener)
.enablePendingPurchases()
.build();
I am ...
1vote
2answers
266views
Flutter Revenuecat product prices always on USD
I'm using Revenuecat for in-app payment v 3.4.0 with flutter appplication, my probleme is that the prices of product is always on USD, Even when I change the country and the region in my iPhone X, to ...
0votes
2answers
152views
How to fix in app purchase for android app?
I have an application live in google play store and have some problems when add billing 3V to handle subscriptions.
Any new subscribers can’t access in my application after payment and the payment ...
0votes
0answers
306views
Apple Server to Server notification not receiving from the sandbox for testing subscription renewal
I am trying to update the user's subscription renewal state. I had set up the endpoint in the app information section "URL for App Store Server Notifications" in the app information. But ...
-1votes
2answers
144views
How to end the validity of an in app purchase on a particular date in an Android app using Google in app billing?
So here is what I am trying to do. The user can buy a particular course that runs from 15th April to 18th August. A user can also join in the middle (for example June) but will have to pay the same ...
0votes
2answers
343views
Testing grace period in auto renewal subscription in iOS
I implemented auto renewing subscription in my app with grace period. I did code all the logics required to provide subscription service while the grace period but I could not find any way to test the ...
0votes
0answers
46views
Google Play Billing Library Weird Behaviour
I am using the Google Play Billing Library version 3.0.3 for my in-app purchases. However whenever the user tries to pay using Google Pay, it always fails the first time. In console it shows payment ...
0votes
1answer
91views
How to add in-app billing for subscriptions in android using java
I'm new to in-app billing and payments with google on android,
can please someone explain to me how to implement the in-app billing in android ?
And how to add the server part for verification? (using ...
1vote
3answers
138views
Google InApp Billing - Binding title of skuDetailsList obtained from onSkuDetailsResponse to List View Control
I am new to the implementation of Google's Billing library and using this system to make subscriptions inside my app. I am trying to get the title of skuDetailsList which is obtained from ...
1vote
1answer
98views
Apple payment notifications - how to get latest pending_renewal_info from notification?
Good day!
I have a server that verifies receipts that come from user device or apple server and when I do that I can see an object like this:
"pending_renewal_info": [
{
"...
0votes
1answer
85views
Google InApp Billing- Testing In-app subscription purchases on an android emulator devices
I am new to the implementation of Google's Billing library and using this system to make subscriptions inside my app. I would like to know whether it is possible to do in-app billing/purchase and test ...
1vote
1answer
465views
In-App Billing Plugin for Xamarin AcknowledgePurchase is not working
I am using the In-App Billing Plugin for Xamarin and Windows to implement non-consumable in-app purchases.
I have an issue that the payments are refunded for Android devices because I didn't implement ...
2votes
1answer
185views
Why google play billing subscription instantly gets canceled?
I have integrated the google play billing library inside my application to make a subscription purchase. It works well. The user receives purchase confirmation mail from google.
confirmation mail from ...
0votes
0answers
21views
Back button not working with navigation components and billing client library on android
I have a single activity architecture in my app.
My activity has a Navigation drawer with all 5 fragments A,B,C,D,E in nav_host graph.
I can navigate from drawer only, however Fragment E can be ...
4votes
1answer
497views
Google Billing Library - Check for Subscription free trial eligibility
I'm new to the implementation of Google's Billing library and using this system to make subscriptions inside my app. My question is if a user created a subscription which has free trial, used it ...
0votes
1answer
32views
I have a question about Google Purchase Library
I am using billingclient:billing:4.0.0. When a subscription or a product is sold, I want to register it. So for example,
sub_1
sub_2
sub_3
Let's say I have a product, when my user buys sub_2, I want ...
0votes
0answers
45views
Type mismatch. Required: BillingFlowParams.SubscriptionUpdateParams Found: BillingFlowParams.SubscriptionUpdateParams.Builder
val billingFlowParams = BillingFlowParams.newBuilder()
.setSubscriptionUpdateParams(
SubscriptionUpdateParams.newBuilder()
....
1vote
0answers
24views
Subscription payment window does not launch when trying to buy a subscription
I am using the below library.
In-app products work fine in this library, but when I click on subscriptions, nothing happens. What do you think is the problem?
Lib : https://github.com/android/play-...
-2votes
1answer
44views
Subscription - "This subscription will not be automatically renew" Text shown while launching billing flow
Subscription launch billing flow bottom sheet shows text that "This subscription will not automatically renew"
0votes
1answer
196views
Flutter in-app-purchase non-renewing-subscription
I want to make a periodic pass item(ex: 1 week pass, 1 month pass) for remove ads and access premium contents to user.
I saw Android has consumable, non-consumable, subscription.
And IOS has ...
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.
0votes
1answer
165views
Issue in upgrading in-app purchase subscription android(Error while retrieving information from server. DF-DFERH-01)
I was able to upgrade the subscription using license tester email, but suddenly it stops working. I am using poration mode BillingFlowParams.ProrationMode.IMMEDIATE_AND_CHARGE_PRORATED_PRICE for ...
0votes
0answers
137views
Android Google Play Billing Library - onPurchasesUpdated always returning responseCode ERROR (6)
I've integrated Google inApp billing in my android App.
Document: https://developer.android.com/google/play/billing/integrate
Code summary:
Gradle: implementation "com.android.billingclient:...
0votes
0answers
37views
OnProductPurchased Does not called after Purchasing Subscription
Can anybody help me to solve this 102 error?
I used Anjlab V3 library in my android app. I am testing with the same developer account on which my app is live that provided with me free testing cards. ...
0votes
0answers
62views
How to test In app auto renewing subscription
Hello, All Currently I developing an App that has An app auto-recurring subscription so I implement a code for that but right now Google Play pauses auto-renewing subscriptions, free trials in India ...
0votes
1answer
37views
Flutter In-app Purchases with debit cards
Is there any issues while paying for in-app purchases in Flutter for cards, which have not activated international payment ?
-1votes
3answers
704views
Android Studio: In-App-Billing v4 - How do you correctly iterate over skuDetails?
My app is a test app....
When I call my function to get shop item info, I actually get a skuDetails return of...
[SkuDetails: {"productId":"extra_lives","type":"...
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 ...
1vote
2answers
465views
Android - Context for BillingClient inside Fragment
I have a single activity application (java) and one of the fragments contains Subscription buttons. I'm setting up the Google Play Billing Library but when I set up the following:
private ...
1vote
2answers
291views
Google in-app billing, a toast breaks everything
I don't even know what title this question should have.
So, I am working on a library to make Google-Billing as easy as possible to integrate.
Everything started after I've upgraded the library to ...
0votes
0answers
22views
What is the difference between back-end server and OAuth 2.0 to secure apps?
Can I know the difference between back-end server and OAuth 2.0 to secure apps?
I'm using Play Games API, Play Billing and Firestore inside my game
Firestore for read data and Play Billing for ...
0votes
1answer
70views
Android: How to implement a variable subscription start date Google in App subscriptions
I am implementing a subscription in my app. All my users get 30days trial by default handled by my own scripts. I am trying to implement Google IAP for my app and basically want the Subscription to ...
0votes
2answers
74views
Android - can't test subscriptions (only live mode enabled)
I have a simple Subscribe button in my Fragment which I want to test for subscriptions (I'm using anjlab/android-inapp-billing-v3). I tried testing in the simulator and nothing happens, the Billing ...
0votes
1answer
380views
onBillingSetupFinished never called
I have always worked with Java but this time I am trying to develop in Kotlin, I have an app that will have a button to pay to remove the ads (with Google Play's billing system) but I can't get it to ...