All Questions
Tagged with in-app-billing google-play-services
126
questions
2votes
2answers
110views
How to create non renewable subscription in Google play console
Currently, I have auto renewable subscription setup. But i want to create non renewable subscription in order to subscribe again at the end each billing period.
In google play console there is no ...
1vote
0answers
454views
Google Play Billing Library v4 verification of in-app purchases
I use Google Play Billing Library v4 for android app billing
(implementation "com.android.billingclient:billing:4.0.0")
I have not found any methods that can verify the purchase of a product ...
0votes
1answer
57views
How to use a single Play Store account to purchase same subscription in different in-app accounts?
I have implemented a login feature in my app where a user can pay for subscription and have that subscription tied to their in-app login account by using the setObfuscatedAccoundId() method. However, ...
0votes
0answers
17views
Best practices for subscriptions in Play Billing
I have 2 subscriptions inside my app ( weekly and yearly )
I want to ask if the user bought weekly subscription should I hide weekly subscription button?
And if he desiced to move from weekly ...
0votes
1answer
77views
Not connecting with onBillingSetupFinished method
I'm trying to show Toast inside onBillingSetupFinished method but it's never connect with it.
Code
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);...
0votes
0answers
15views
Should I send update to store everytime when change codes In-App Purchases Project?
I created new project and this project is empty ( such as default when create without add Permissions or Play Billing library ) and I exported APK and uploaded it to play store ( open testing )
I did ...
0votes
0answers
30views
App behavior inconsistent when opening the Billing flow depending on the Google Account
I'm having an issue with In App Purchases. Whenever we launch the billing flow, and passing the proper SkuDetails, it sometimes throws the classic error:
The item you requested is not available for ...
0votes
1answer
113views
Is there a way to figure out if a user installed an app on Google Play during pre-registration?
For those developers who implemented Pre-registration for their app, you can implement a special sku for their reward for signing up early. However, what if you don't want to roll out in-app billing?
...
0votes
0answers
178views
Google Play Developer API cancelSurveyResult missing from SubscriptionPurchase.Get response
We are implementing server to server notifications for Android in-app purchases.
For each of the user-generated events (purchase, cancellation, etc.), we receive and parse real-time developer ...
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
...
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 ...
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....
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 ...
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 ...
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 ...
0votes
1answer
27views
In-App Billing: Can we create subscription on the fly inside the app?
Is it possible to create a subscription inside my app without first creating it in the google play console? this because the params of my subscriptions, like price, discount, duration, etc. will be ...
2votes
1answer
274views
Why Android IAP initializing but not working?
I am using this library to implement in app purchase in my app.
https://github.com/anjlab/android-inapp-billing-v3
I added this code to my gradle.
repositories {
mavenCentral()
}
dependencies {
...
16votes
3answers
3kviews
How to handle BillingClient.onBillingServiceDisconnected()?
Recently I migrated one of my apps to Google Play In-App Billing v3. Since the release I get some crash reports on Samsung devices only, which are all related to BillingClient....
1vote
0answers
191views
google-play-billing-validator: Giving back: 'Invalid response, please check \'Verifier\' configuration or the statusCode above'
It seems that when trying to acknowledging the receipt using the npm package, I am getting the error:
{ isSuccessful: false,
errorCode: 400,
errorMessage:
'Invalid response, please check \'...
0votes
0answers
210views
Google Play Store in-app billing using different google account
I am an amateur developer and having problems trying to implement in-app billing in my android app.
My app has two login functionalities, create an account in the app or login through Facebook.
I am ...
1vote
1answer
78views
Is there anyway to test subscription items of google in-app billing without making their state active in google play console?
I have a problem with testing subscription items in my app. Regarding the In-App billing documents that I read and stack-overflow posts,
as far as I understood, for testing Subscription Items in In-...
9votes
1answer
687views
In App Billing error when upgrading subscription plan - “Error while retrieving information from server [DF-DFERH-01]”
Our app has 3 possible auto-renewing subscription plans - monthly, 6 months and yearly.
They are defined in Google Play and work well when purchasing.
Recently, we've added an option to change plan ...
1vote
1answer
558views
How to realize a google play billing subscription in an open source app?
I'm researching for developing an open source app that will get a sync feature in future.
This will be realized with Firebase Firestore. This feature should only be available to users subscribing to ...
1vote
1answer
772views
Transaction ID and Original Transaction ID in google play billing library subscription
I am trying to implement subscription in application using google play billing library.
But in api "GET https://www.googleapis.com/androidpublisher/v3/applications/packageName/purchases/subscriptions/...
-1votes
1answer
39views
Must I use Google play billing library if i want to sell an ad space directly to advertisers?
I want to sell an ad space in my Android app that's on play store. I want to sell it directly to advertisers who will need to pick the target for their ads, Is it a must to use google play billing ...
2votes
1answer
2kviews
How to load single product a from skuDetails object?
As the 'setProductId' in Google Play Billing Library 2.0.x has been removed and we must use setSkuDetails for launchingBillingFlow. So how to launch BillingFlow for making a purchase of an item
• I ...
0votes
1answer
134views
When newly added in-app SKU becomes available to billingclient 2.0.1 after making it active in Play console?
I couldn't find this specific question in SO. What I find is related to first time in-app setup.
However in my case the app is in production for several years.
It has SKU A,B,C active and available ...
0votes
1answer
77views
Does queryPurchaseHistoryAsync return purchases from another package?
The documentation for queryPurchaseHistoryAsync describes:
queryPurchaseHistoryAsync(String skuType, PurchaseHistoryResponseListener listener)
Returns the most recent purchase made by the user ...
0votes
0answers
35views
Can I consume in-app items on Android anytime I want?
I am trying to understand if Google Play allows "Delayed Consumable Items". Something I made up:
Allow user to purchase a Golden-Key (for example).
This Golden-Key will be repurchasable when it loses ...
0votes
1answer
343views
Cross-platform subscriptions in Android app
I'm setting up an Android video viewing service that will also have a web counterpart. Firstly is there a way using Google Plays billing services to manage subscriptions to a cross-platform account? ...
6votes
1answer
2kviews
Google billing Consumable and Non-consumable
I need to create a new In App Purchase in the Google console. The only 2 options I see are "MANAGED PRODUCTS" and "SUBSCRIPTIONS"
Inside "Managed products" I only get 1 options of "Create managed ...
6votes
1answer
2kviews
Check if in-app billing via PlayStore is available to user
So we want to support in-app billing via Google's billing API and via AliPay for China. I've written a method that should return either a GooglePlay or an AliPay billing client (whichever is available)...
0votes
1answer
420views
Xamarin.android Where to use google play licence key in plugin.inappbilling
I am new to android and I want to implement in-app purchase within my app.
As i am working with xamarin, I have used this plugin
https://github.com/jamesmontemagno/InAppBillingPlugin
I have read ...
2votes
1answer
178views
with gluonhq charm down, how to use InAppBillingService for "discussing" with Google Play
I want to connect my Javafx product to Googe Play store. To do that, I included the gluon plugin in-app-billing. But, for using this service, I only found this example from http://docs.gluonhq.com/...
3votes
1answer
2kviews
Android In App billing fails with repsonse code 6
I'm using the Billing Manager provided in googlesamples to handle in app purchases in my android app. Everything seems to work until I click buy and am greeted with the error message:
The Transaction ...
7votes
0answers
341views
ANR on Google's billing library
Anyone have any idea why this ANR might be happening? I thought upgrading from the old IABHelper to the new billing library would solve it but it didn't. I submitted a bug on the billing library ...
2votes
1answer
496views
Google IAP subscriptions
I have just read this: Google Play Developer API: "startTimeMillis" is updated when it should not
But it is rather old. Can someone confirm it is working like that or not?
The current ...
0votes
0answers
142views
Refund User money
I Integrated In-app Billing API into my app (android) to allow user to buy coins to be able to by something else from app ...
in onPurchasesUpdated if response is "OK" i make Volley request to ...
1vote
0answers
435views
Android In-App Billing Service aidl
I'm trying to implement In-App Billing Service to sell in-app products. The first requirement is to import IInAppBillingService.aidl into the project but when I do, I get the following error. Even ...
-1votes
1answer
436views
What is returned by queryPurchaseHistoryAsync?
I am looking at the new billing library for Android, can't seem to find what json is returned in a purchase object by this method.
Can someone point me at a reference?
0votes
1answer
143views
Google play In App Billing Services for multiple products
I developed an application using the inapp billing services.
helper.launchPurchaseFlow(MainActivity.this,ITEM_SKU,10001,purchasedFinishedListener,"my_purchase_token");
this is implemented using a ...
0votes
0answers
72views
Playstore upload of an application
I have implemented inapp billing in my android application. The application is working fine for test orders but while trying to buy the application actually from playstore it shows me the error ...
0votes
1answer
1kviews
Changing subscription price on Google Play store in-app
For testing a subscription I added the price as $1. But now I need to change the price. I know we cannot change a subscription price but is there any way we can contact Google?
0votes
1answer
175views
Playstore InAppBilling runtime exception
I am starting InAppBillingService like this in a Fragment
@Override
public void onCreate(@Nullable Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
Intent serviceIntent =
...
2votes
1answer
74views
In app billing no ui
i'm looking to study in App Billing.
i have created a test app. I can see my in app product insered into Play Console, with getSkuDetails, but when i start launchPurchaseFlow, the interface to buy in ...
3votes
1answer
431views
How do we implement in-app purchasing when the documentation is so inconsistent?
The official documentation is incredibly unclear when it comes how you’re supposed to be handling in-app billing.
For starters there are two versions of TrivialDrive:
github.com/googlesamples/...
0votes
1answer
1kviews
Android App now takes 15 seconds to launch
My app use to take less than a second to launch but it now sometimes takes up to 15 seconds. I've noticed this in the past few weeks since Android "O" was released but this could be a coincidence ...
38votes
0answers
2kviews
Play Store updates/installs app using a different account than the one the user made IAP through
On this bug report on Github https://github.com/googlesamples/android-play-billing/issues/2#issuecomment-305380836 we were asked to raise the issue here.
The issue is simple. User has 2 or more ...
0votes
1answer
45views
In-app Billing promotion for users who have bought something in another app
We have two apps who has premium features that are unlocked by In-app purchase. One app is mostly used in winter and the other in summer.
For billing we are using Google Play Services In-app Billing.
...
0votes
2answers
157views
How to test IAB without being charged
I am trying to testIn App Purshase without being charged on Unity by reading this https://developer.android.com/google/play/billing/billing_testing.html
My application is published as an Alpha ...