Questions tagged [android-inapp-purchase]

195 questions
2
votes
0 answers

google Subscription Purchase order id format

I have application in android play with Subscription Purchase, sometimes I receive order id for Subscription Purchase like 6547967659017925362.8852561051676274, with token, when I check the token with google Subscription Purchase api the result the…
2
votes
2 answers

Unable to fetching subscription detail from Google Play Android Developer API

I am trying to use Google APIs Client Library for Java to get information about user's subscriptions purchased in my android app. Then I got this error: { "code" : 401, "errors" : [ { "domain" : "androidpublisher", "message" :…
2
votes
1 answer

Can we open google play store subscription screen from other app?

I want to open google subscription screen from my android app. Is there any way to open this? I know that app listing (play store) can be open from our app, but don't know about a subscription screen. Thanks.
2
votes
0 answers

Item already owned error on buying a previously refunded purchase

I am testing the refund workflow for my in-app purchases. I am verifying the purchase receipt using the Google Play Developer API https://developers.google.com/android-publisher/api-ref/purchases/products/get. If a user has asked for a refund of the…
Varun Gupta
  • 2,870
  • 6
  • 33
  • 73
2
votes
2 answers

Charge user a variable amount

I need to implement a feature in the app where I charge users a variable cost for a certain product. Basically the user can set a budget (any number) and I need to charge the user that budget I understand that in app products prices are set in…
Snake
  • 14,228
  • 27
  • 117
  • 250
2
votes
1 answer

in-app subscription downgrade not working android

I am developing an android app which has an in-app subscription(monthly and yearly) A single subscription(both) are working as expected 1st I am purchasing monthly and upgrade to yearly it is working as expected 1st I am purchasing yearly and tried…
2
votes
1 answer

Android publisher permission Denied only check payment(other api successfully)

I'm trying to call api Purchases.products: get to verify your purchase it yields such a result { "error": { "errors": [ { "domain": "androidpublisher", "reason": "permissionDenied", "message": "The current user has insufficient…
2
votes
2 answers

Query InApp purchases within my Android app

I have an Android app where users can buy 1 inapp product to unlock some features. I've read extensively the guide at: https://developer.android.com/google/play/billing/billing_library_overview#java I understand that in order to let users buy the…
2
votes
1 answer

Did Firebase start reporting in_app_purchase for subscriptions recently?

My Android app has integrated Firebase SDK Firebase is linked to Google Play I'm using subscriptions only In the past there weren't any "in_app_purchase" events automatically reported (comparing to one-time products) I do not report…
2
votes
0 answers

I got the message "Some Error!" when pay through PayPal on Google In-app purchase

I have implemented the In-app purchase functionality in my android application when I am going to purchase the item then all the method options shows on Google in app purchase are working but when i have purchase through PayPal then found the Error…
2
votes
0 answers

In app purchase - Error while retrieving information from server [DF-AA-20]

when I want to make In app purchase in my APP, I get this ERROR: What I have tried: alpha and beta add tester + opt-in check IAP ID leaderboards are working, so other google IDs are correct reinstall google play and services I have full rollout…
2
votes
0 answers

Google Play Inapp Receipt Validation - Correct Role?

I've been following the following guide on setting up a Google API service account for receipt validation https://stackoverflow.com/a/35138885/8667855. This tutorial advises selection of "View Financial Reports" as the service account role. However…
droidn00b
  • 91
  • 3
2
votes
0 answers

In-app purchase multiple account conflict

I have an application which have in-app purchase functionality Now there are 3 users say A, B and C A has login to play service so every purchase is going to be done by A's account. Now B login in my app and does a purchase for product 1 and enjoy…
2
votes
1 answer

Android in-app-billing queryInventoryAsync returns sku and purchase item size 0

I'm calling queryInventoryAsync in my code. Response is OK but the list of skuMap and purchaseMap returned to me in the inventory list is empty. My products are active in the developer console. The result is succeded but the Inventory inv return 0…
2
votes
1 answer

Android: Consume a product after purchase (in-app billing)

I have some problems with in app billing, I wanted to create an product inside the app that can be bought several times. But google made the in app billing in a way that a product first must be consumed before you can buy it again. I tried it with…