Questions tagged [android-inapp-purchase]

195 questions
0
votes
0 answers

Verifying google pay purchase using Firebase CloudFunction

I've tried every other way to verify inapp purchase using cloud function...All are outdated(not supporting v3 api). Is there a way to call a cloud function with all required information and verify if the purchase was real and write to Firebase…
0
votes
1 answer

Retrieve owned auto-renew subscription item

Here are how my app handles auto-renew subscription Launch billing flow with BillingClient 1.1 library (BillingClient.launchBillingFlow()) Send purchased detail to backend to handle premium things Update premium status If I failed at step 2…
Wayne
  • 6,361
  • 10
  • 46
  • 69
0
votes
1 answer

Error "Your transaction cannot be completed" when testing google play purchase

I am trying to purchase using a beta tester but i am getting this error. This is an error that shows in google play window, after passing initial validations and after the user press subscribe button, so i guess it is not an code or configuration…
MiguelSlv
  • 14,067
  • 15
  • 102
  • 169
0
votes
1 answer

In-app Billing Android Issue BILLING_RESPONSE_RESULT_DEVELOPER_ERROR

I have uploaded one apk to the alpha channel with just billing permission. The uploaded apk does not have purchase flow code but I have added that code for testing apk. Both apk signed…
0
votes
0 answers

Null Pointer Exception Error on queryInventoryAsync

I'm getting an Null Pointer Exception Error when calling the following method from In App Purchase. I tested on my phone and it seemed to work fine. However, on the ANRs & Crashes, I see people are getting the null pointer exception on this line inv…
0
votes
0 answers

In app-purchased android

I am working on IAP since last two days but did not find the exact solution for that If user is login with multiple gmail account in play store, at that time, why does it automatically pick primary id? I've already purchased a product with my…
0
votes
1 answer

Check Google In App Subscription Renewal Status

I have to implement Google In App susbscription in my app. In server side, I want to validate subscription status of user. The response of subscription is as follow { "kind": "androidpublisher#subscriptionPurchase", "startTimeMillis": long, …
Muhammad Hassan
  • 14,086
  • 7
  • 32
  • 54
0
votes
1 answer

in-app billing: What is the "kind" field in a subscription?

When you fetch entries from the Google Play Developer API, you get a Subscription resource. I don't understand what the "kind" field is: This kind represents a subscriptionPurchase object in the androidpublisher service. What does that mean? Can…
Bevor
  • 8,396
  • 15
  • 77
  • 141
0
votes
1 answer

Android In-App Purchase transfer reconiliation

We have recently been tasked with adding In-App Purchases to our Android mobile application. We have completed this and have started testing small purchases internally in our production environment prior to release. We're successfully performing…
0
votes
2 answers

Google play developer API - Voided Purchases API dosen't work

I want to ask a question about IAB API - Voided Purchases API https://developers.google.com/android-publisher/api-ref/purchases/voidedpurchases/list I have a formal order, and I have refunded it. the order status is refunded. I use Voided Purchases…
Tony Wu
  • 31
  • 3
0
votes
0 answers

How to get price of an app for different countries by using in-app purchase in android

Suppose my app is on play store available for different countries. As according to the country, app price changes, So I want to fetch app price according to the country. How to do this? Bundle querySkus = new Bundle(); …
0
votes
1 answer

Android - Error using in app billing

I tried following this link to add in app billing to my app. I added this to my build.gradle dependencies { ... compile 'com.android.billingclient:billing:dp-1' } but I get this error when i build->clean project Error:A problem occurred configuring…
lijas
  • 466
  • 1
  • 6
  • 17
0
votes
1 answer

Detecting a free/paid version of an Android app offline using in-app purchases?

I am developing an Android app, and thinking of using in-app purchase to unlock full features of the app. I want the app to be fully functional even without an active internet connection as well if the user paid, so I don't want to rely on checking…
0
votes
1 answer

Cordova in app Purchase Error on Devextreme

Please include: I buy the product but I can not buy it the second time. I use devextreme; Your code / steps to reproduce inAppPurchase .buy(urunID) .then(function (data) { return inAppPurchase.consume(data.type, data.receipt,…
0
votes
2 answers

Is it possible to apply in app purchasing as well as ads on single android app?

Recently I made my first android app and now I want to upload it on play store but I have basic idea about revenue model of play store so can you please tell me is it possible to apply both ads as well as in app purchase for my app so that I will…
Omi
  • 15
  • 5
1 2 3
12
13