Google Play In-app billing subscriptions let you sell content, services, or features in your app with automated, recurring billing.
Questions tagged [in-app-subscription]
499 questions
5
votes
0 answers
find subscriptions already purchased using restorePurchases in flutter
I am using in_app_purchase: ^1.0.1 in my Flutter app to implement In-App purchases of subscriptions. I have successfully managed to buy a subscription once but when I try to use restorePurchases() to get the subscriptions already purchased by the…

Samarth Agarwal
- 2,044
- 8
- 39
- 79
5
votes
0 answers
Google API - invalid_request - Could not determine client ID from request
I'm integrating google play in-app subscription in my app. To access google API, first I need to get an access_token and then use it in header for accessing subscription APIs.
Following the procedure (Android : inApp purchase receipt validation…

marslanayyoob
- 81
- 1
- 5
5
votes
0 answers
How to implement Google In App Billing for providing access to premium content in Firebase to only paid users
I'm developing an app which uses Google In-App Billing (IAB) for users to subscribe to the app. Available subscription options are 1 month, 6 months and 1 year.
It also uses Firebase Authentication with Google and Email/Password sign in options.
I…

Shahood ul Hassan
- 745
- 2
- 9
- 19
5
votes
1 answer
How to get SKU details of all my inapp items in Google Play Billing
In old version of in app biling i ised to get the IAP item price using the below code.
I am unable to find a way for this in new version. Kindly assist me in the way to get SKU details of all my inapp items in "Google Play Billing"
…

iappmaker
- 2,945
- 9
- 35
- 76
5
votes
1 answer
React Native IAP Auto Renewal Subscription check Expiration
I am trying to restore and detect the end of auto renewal subscriptions on iOS using https://www.npmjs.com/package/react-native-iap/v/4.0.8
By calling getAvailablePurchases() I get a different number of purchases everytime I invoke this function…

Alex Yo
- 105
- 1
- 7
5
votes
0 answers
App rejected due to Guideline 3.1.2 - Business - Payments - Subscriptions
My macOS app is continuously rejected due to the auto-renewing subscription.
This is what Apple reviewer said to me:
Guideline 3.1.2 - Business - Payments - Subscriptions
Your app uses auto-renewing subscriptions, but it is not an appropriate use…

Tomeu Mascó
- 319
- 2
- 11
5
votes
5 answers
Generating a Signature for Subscription Offers - Xcode - Swift
I wanted to ask if someone has already implemented the new Offers for the inapp-subscription (auto renewal), the difficulty in creating server-side the system to create this signature using the p8 key with php if possible. I found this on the Apple…

mfiore
- 321
- 3
- 16
5
votes
0 answers
Play Billing Library v1.0: renewed subscription missing from queryPurchases result
I have an Android app offering auto-renewing subscriptions via In-App Billing, using https://developer.android.com/google/play/billing/billing_library.html.
I'm using a lightly modified BillingManager.java from…

stephent
- 1,355
- 15
- 29
5
votes
0 answers
Android subscriptions - get reliable introductory price information
I have an subscription item with an introductory price for 1 cycle. I am able to fetch this price within the app via the getIntroductoryPrice() method. Once a purchase has been done I am having trouble getting what exact price was paid for the…

XAnguera
- 1,157
- 1
- 11
- 25
5
votes
2 answers
iOS in-app purchases verify receipts for consumables
in iOS with in-app purchases, it is necessary to verify receipts with subscriptions. is it necessary to verify receipts for consumables also?

mjpablo23
- 681
- 1
- 7
- 23
5
votes
0 answers
IAB Subscription Free-trial state
What's the right way of managing free trial state of a subscription?
I can't find anything about getting the state of a purchase, something like freeTrial = true/false or freeTrialDuration = 7, inside json info. When the user purchases the…

Jumpa
- 4,319
- 11
- 52
- 100
5
votes
1 answer
How to determine number of In-app Billing subscribers?
Programmatically, I understand how to manage a single users subscription, but have not found a way to retrieve a holistic picture of In-app Subscriptions.
The closet thing I've found in the In-app Subscription documentation deals with tracking…

ahsteele
- 26,243
- 28
- 134
- 248
4
votes
3 answers
How to manage Google Billing subscription with free trial period?
This is the current test setup in Google Play console:
Test product 1
Subscription base plan 1: duration 1 month
Subscription base plan 2: duration 6 months
Offer 1: 1 week free trial period
The result of queryProductDetailsAsync are 3…

Manuel
- 14,274
- 6
- 57
- 130
4
votes
1 answer
Verify Google Subscription on backend - get base plan
Recently Google introduces base plans to subscriptions. Base plans are used to introduce different billing period (you end up with single subscription and couple of base plans for example: monthly, weekly, yearly)…

marekk
- 237
- 2
- 11
4
votes
2 answers
Friendly way to redeem Custom Code from Google Play
I have create a Custom codes which allow user subscriptions with some free trials. From the document, in order to redeem the code, we need to initiate the purchase bottom sheet dialog, press arrow, redeem the code.
For me, it look not friendly to…

Linh
- 57,942
- 23
- 262
- 279