Questions tagged [in-app-subscription]

Google Play In-app billing subscriptions let you sell content, services, or features in your app with automated, recurring billing.

499 questions
4
votes
2 answers

How to check if the user has bought a subscription

in my android app i implemented the in App-Billing, where the user can buy a subscription in the app. when the user launch the app, i want to check if he has any subscription at all, to decide which content should i show him. i'm using the latest…
korchix
  • 1,445
  • 1
  • 19
  • 22
4
votes
0 answers

Can't get original_transaction_id from status update notification keys of apple

I'm implementing on Status Update Notifications from Apple's In app purchase programming guide. https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/StoreKitGuide/Chapters/Subscriptions.html I have done to setup a…
Loint
  • 3,560
  • 7
  • 26
  • 46
4
votes
0 answers

Google In-App Purchase how to set Account for Billing [Not Possible as of 2017-05-26]

Backstory I'm trying to implement Android's inapp billing for subscriptions. Surprisingly, It's going relatively smoothly, but I've hit a wall. What I'm trying to do is have multiple possible logins (using Google's standard stuff, which all works…
DMT
  • 73
  • 7
3
votes
1 answer

Auto-renewing google play subscription price increase - effect on existing users?

I have a few auto-renewing subscriptions I wish to increase the price of without affecting existing subscribers. As in, I wanted existing subscribers to continue renewing at their current price, and new subscribers to be shown the new…
3
votes
1 answer

iOS: How to create In-App Purchases programmatically

I am creating a multi platform e-learning app, where teachers create courses by uploading videos to my website. Students can purchase these courses via the website, iOS, and Android. However, since digital content for mobile can only be purchased…
3
votes
1 answer

Flutter in_app_purchase handle subscription lifecycle

I am using in_app_purchase: ^2.0.1 and thinking how to handle the whole lifecycle of subscription product. This is what I've found out: purchaseStream is triggered when user buy non-consumable product purchaseStream is not triggered after app…
Petr Klein
  • 797
  • 2
  • 9
  • 23
3
votes
0 answers

We are unable to change your subscription plan. Manage subscriptions in android application

Im using in-app subscription in my application. there are 3 subscription available in application i.e, monthly, 6 month and yearly. If user subscribed with monthly I'm showing upgrade subscription on some point. If user try to upgrade its upgrading…
3
votes
0 answers

Getting "ERROR" when using specific proration modes for upgrading/downgrading a subscription

I am using the Google Play Billing library version 4.0.0 I have followed the integration docs: https://developer.android.com/google/play/billing/integrate & created subscription plans in the Google Play console. There are two monthly subscription…
Rohan
  • 31
  • 3
3
votes
0 answers

How to check if user has signed in Google Play account on the device before calling Google Billing functions

I am trying to fetch the price for our from Google Play Store for the in-app purchase by calling https://developer.android.com/reference/com/android/billingclient/api/BillingClient#queryskudetailsasync However, if the user has no Google account…
3
votes
0 answers

How to check android in-app purchase subscription valid or expired in backend PHP API

I need to check subscription in the cross-platform, So I have to check in-app purchase in PHP I can check IOS in-app purchase subscription using iTunes APIs But I don't know how to check android in-app purchase subscription can anybody tell me what…
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…
3
votes
1 answer

Android In-app subscription receipt validation response showing an error 503 - An internal error occurred

We were trying to validate the receipt generated from the mobile app from the server-side. It was working initially, but we were providing the receipt details directly to the code. Now we are trying it from the mobile app API functions, we are…
3
votes
2 answers

Android Billing; how to resolve "The item you were attempting to purchase could not be found"

With all the recent changes to the Google Billing library and the Developer Console it's hard to apply answers from 2014, so I am posting on this topic again with the hope of finding a modern answer. I am using Google Billing library 2.2.0 The…
Someone Somewhere
  • 23,475
  • 11
  • 118
  • 166
3
votes
3 answers

billingClient.queryPurchases(BillingClient.SkuType.SUBS).getPurchasesList() returning null

I'm making an app for android with billing services. I've already added the "shop" method, so the user can subscript. My app has only one subscriptionfor sale. The problem is that when the user open the app I can't get if he has subscript or not.…
3
votes
0 answers

How do I track the subscription revenue for my Apple Search Ads correctly?

I've been trying to answer this question for months with the help of colleagues and even the Firebase support, but whenever I think I finally found the answer, it doesn't make sense anymore. I'm trying to track the revenue we are making with our…