Questions tagged [google-play-billing]
77 questions
3
votes
0 answers
Incorrect expiry time for subscription in Google Play Billing
I have a problem with real-time notifications from Google Play Billing.
At 1609879039 (01-05-2021) user bought a 3-day trial subscription.
On backend-server I got a purchase notification from Google with end of user subscription expiry time…

Andrey Savchuk
- 33
- 1
- 4
2
votes
0 answers
Google PLay Billing queryPurchasesAsync & queryPurchaseHistoryAsync return empty items when more than 1 user logged in in Play Store
does anyone know how to get active subscription when more than 1 user accounts are logged in in Play Store? I've followed the steps in the documentation, it works normal when only 1 user logged in in the Play Store
Here is what i've done
val…

Biru Studios
- 21
- 1
2
votes
0 answers
How to check which offer a user is currently subscribed to in Play billing library v5.0 - Android
Currently, billingClient.queryPurchasesAsync returns a list of purchases which only has data like productId, purchaseToken, purchaseTime, etc.
But I have a scenario where my app has 1 monthly base plan and 2 offers underneath it- offer1 and offer2.…

Priya Sindkar
- 368
- 3
- 11
2
votes
1 answer
How to use VoidedPurchases API together with Real Time Developer Notifications?
If a server is already listening to Real Time Developer Notifications what’s the benefit to also poll the Voided Purchases API?
The docs say:
Note: Unlike other order-related data sources, the Voided Purchases API includes purchases that are…

Manuel
- 14,274
- 6
- 57
- 130
2
votes
1 answer
android Billing Library 5.0 - misunderstanding some features
Google has released Billing Library 5.0 with the new way to deal with subscriptions, but I had some misunderstanding while researching:
Is it true that I really can't purchase another base plan or offer of a currently active subscription? The…

MickSt
- 43
- 2
2
votes
0 answers
How to make multi-subscriber modelling like Twitch,OnlyFans
I want to make dynamic multi-subscribing modeling like Twitch, Onlyfans. For example, my customer can subscribe user1 feed also user2 feed but user1 and user2 is not static, it's dynamic.
How can I achieve this in RevenueCat? Is subscribing API…

guccisekspir
- 1,359
- 1
- 9
- 29
2
votes
1 answer
Removed Google Play Billing AIDL completely but google play developer console still show warning
I have a question about the google billing library.
Before, following the instructions of Google Play,
We have migrated from Google Play Billing AIDL to Google Play Billing Library version 3.
However, when I upload the aab file to the Google play…

kimrandomwork
- 61
- 3
2
votes
2 answers
Is it possible to detect a grace period via BillingClient?
I'm trying to detect grace period using BillingClient.
The documentation says:
A subscription can go through various state changes throughout its lifecycle, and your app needs to respond to each change. To check the subscriber's state, your app can…

wwwww
- 339
- 3
- 15
2
votes
2 answers
Ionic 5 android app rejected due to using Paypal instead of in-app billing
An Ionic 5 app I built for a client uses Paypal for subscription, and Google rejected it because it doesn't use Google Play's billing system. Does it mean that Paypal is no longer accepted as a payment option on Android apps? The client really wants…

Obi
- 283
- 3
- 15
2
votes
0 answers
Google Play Billing: Unable to query certain products from Play Console
I'm trying to query all my in-app products using the GooglePlay Billing library but the skuDetailsList in querySkuDetailsAsync() seem to only show some products listed in the Play Console. And by some, I mean, it's only displaying those products…

sammy
- 185
- 2
- 13
2
votes
1 answer
Build error when updating Unity IAP from 1.23.5 to 2.2.4, Manifest merger failed
Look like Unity IAP changed from using Google Play Billing 3.0.0 to 3.0.1, and now I can't build APK anymore.
I'm getting this error when I try to build APK for android:
* What went wrong:
Execution failed for task…

Trong Nguyen
- 368
- 2
- 12
2
votes
3 answers
How to remove non-consumable and buy it again (while testing an Android app)?
How do you test non-consumables in your Android apps? ("noADs" as instance)
If "noAds" already purchased All I do (reinstall the game, install it on other device) it doesn't lead to anything: I don't see the purchase again (it always restores…

Andrew P
- 21
- 2
2
votes
1 answer
Unexpected error when querying Google Play Developer API
We have been trying to set up the sample app for Play Billing workflow with subscriptions as we are looking to introduce subscriptions in our app. We wanted to have the ClassyTaxi app running end to end in order to understand the flows better.…

Abhishek Sharma
- 609
- 1
- 11
- 22
1
vote
1 answer
Consistent Google Play Billing error in TWA: clientAppUnavailable (Android 13, API 33 and above)
We recently released our TWA (our app) to customers and on day 1 are experiencing a very consistent issue with Google Play Billing. When we try to call getDetails() on a SKU as well as when we call listPurchases(), we receive a "DOMException:…

monstermac77
- 256
- 3
- 24
1
vote
1 answer
How to test Google Play Billing V5 One time Promo Codes for Subscriptions at an accelerated rate?
I am trying to test Google One-Time Promo Codes for Subscriptions. Like they suggest in https://developer.android.com/google/play/billing/test#promo and https://developer.android.com/guide/playpoints/test. I want to test how promo codes are applied…

Aaron Fleshner
- 659
- 3
- 9