Get help with anything related to RevenueCat.
Recently active
I am trying to integrate RevenueCat into my Flutter app. Regarding Authentication I have the following setup:I have a LocalAuthId, which is created when the app is installed. I think this is comparable to the AnonymousId from RevenueCat, but I’d rather be in full control and also I’m using this ID in other parts of the app. I also have the option for users to either log in to an existing account, or create a new account. In both cases the user would then also have a ServerAuthId, which is connected with their database account in supabase.The expected behavior is the following:Upon installing the app, the user is not signed in to the supabase server, and therefor only has a LocalAuthId for now. I call PurchasesConfiguration(<key>)..appUserID = myLocalAuthId; to configure RevenueCat on the device. The user should be able to purchase a subscription, which would then be linked to this device.Then, if the user decides to create an account, I believe that the purchase should be transfe
Hi there, I currently have some products that are available at certain price points (i.e. $1.00, $2.00, $3.00, etc.) However, when presented to users of other countries, the IAP prices that show up in `offerings.current.availablePackages.map((p) => p.product.price)` show up as the local currency values. One workaround that I can think of is to use the `title` of the product (which I included the USD price on) to parse out the USD price that corresponds with the product, but was wondering if there was any other way? Also on the webhook side, if they purchased a package in their local currency for 4.99 CAD (which corresponds to my $3.49USD IAP), what would I get on the event side? I know there is a `price` field that is supposed to be the price in USD. Will that give me $3.49 or will it just do a direct currency conversion and end up with some approximate amount like $3.60 or something?In the end, I want all the tracking to be done in USD
Hi Everyone,For some reason in my app, during the registration process, and while updating user details, the paywall pops up, which prompts the user to buy before their setup is complete.That of course generates an RCAnonymous userId in RevenueCat and my firestore database. Prompting the users to navigate to the subscription page would work but relys on them remembering to do it, even after sending reminder emails.Is it possible to call Purchases.restorePurchase() during the FirebaseAuth login flow, after the user has successfully logged in and the user details have been retrieved?Can I call this... _restore() async { setState(() { isLoading = true; }); try { await Purchases.restorePurchases(); appData.appUserID = await Purchases.appUserID; } on PlatformException catch (e) { await showDialog( context: context, builder: (BuildContext context) => ShowDialogToDismiss( title: "Error", content: e.message ?? "Unk
when the user downloads the app, I want the App Store to display the subscription options there, which have to be selected to download. I don’t have any “freemium” options, either you’re subscribed and access or not. Ideally there is no paywall. can this be achieved?
Hi RevenueCat community,We are going to open part of our application to unauthorised users.And we want our users to be able to purchase a Pro subscription before they even sign up.Customuse backend handles RevenueCat webhook events and tracks user subscriptions to control access to features. But it works with real user id’s only.Our thought was that after signing up, we could restore/transfer purchases made by anonymous user to the registered user (with a custom user ID) so that webhook event would be sent to our backend and we could assign the subscription. But it seems that instead of transferring, a simple aliasing takes place, and no webhook events are being sent.We're sure this is a typical scenario, and would appreciate it if you could advise how to approach this?How can we check on the backend side whether the user has active subscriptions in RevenueCat at the time of registration?Sincerely,Dmitry, Customuse
Hi,I’ve researched the subject for some time but I can’t quite figure out how is RevenueCat able to compute the takehome_percentage value for a certain transaction. I do understand that when somebody pays for a subscription the sdk knows the value + currency and it can extract the receipt then pass the actual transaction information to the api. What makes me wonder is how accurate is the takehome_percentage that RevenueCat’s webhook passes forward. In my mind the only way this would be possible is by looking inside the unified receipt and determine if that user was subscribed for more than a year, then apply the reduced percentage to the next transaction.Thank you
Inb4 great platform and docs ✋Hi, I’m almost finished with my iOS app and i’m at the point where i want to integrate in-app purchases. So far so good with settings up my project in revenuecat. My in app purchases is a common case of consumables - coin packages non-consumable - lifetime access auto-renewal subscriptions - silver / gold - monthly / yearlyI’m using firestore and cloud functions as db and backend, and i’ve also set up the revenuecat extension for firebase. And let’s say on the user profile in firebase I have a field calledactive_subscription = silver / gold / free / lifetime Even though i’ve read lots of article about this, official documentation, examples etc, I still have some questions about certain flows especially Refunds I’m not sure how to handle them. If a refund is accepted by apple for a transaction, the cancellable event is triggered for the web hooks? if that is true, then in my backend hook i’ll update the profile active_subscription? then what’s the poi
Hi,I want to ask is there any possibility to connect Stripe payment with RevenueCat subscription? I mean do stripe can create new user with subscription linked with stripe user base on webhook subscription?I have configured Stripe and Revenue cat like here.Also I want to ask where I can see request or events from `incoming-webhooks/stripe` endpoint?Or I can create in RevenueCat subscription by send request below?curl -X POST \ https://api.revenuecat.com/v1/receipts \ -H 'X-Platform: stripe' \ -H 'Authorization: Bearer YOUR_REVENUECAT_API_KEY' \ -d '{ "app_user_id": "my_app_user_id", "fetch_token": "sub_xxxxxxxxxx" }'
Hello. For the life of me, I cannot get the completion block to fire when making a purchase. Purchases all have gone through successfully but RevenueCat is not letting me know so that I can do post-transaction clean-up. [[RCPurchases sharedPurchases] purchasePackage:package withCompletion:^(RCStoreTransaction *transaction, RCCustomerInfo *customerInfo, NSError *error, BOOL cancelled) { NSLog(@"SUBSCRIPTION PURCHASED"); }];Notes: Running iOS 17.0.1 (have tried 15 as well). Testing in sandbox, multiple devices. Have created new sandbox user(s), logged out of device, deleted app, restarted device, restarted Xcode, cleaned build folder. Several times. Using Objective C. Completion block for getOfferings and restorePurchases does work properly. I know I’m new to RevenueCat, but everything else seems to be working fine, all except this all-important feature. Any assistance or insight on this would be greatly appreciated. Thanks!
Any chance to get offering metadata as JSON String? It’s fine when it’s only JSON object but not with JSON array. It’d be nice to map JSON to models if we can get it as String instead of map.
Hello. As above really. We’ve been selling a product for a few months and have 50-60 customers who have bought it. We’ve realised we need a new entitlement for this product, which I've created, and I now need to update everyone who has bought this product to give them this new entitlement. Is this possible? Thank you, George
Hello, is there an API to get all the subscription infos of our our customers? Our goal is to connect it to a google sheet where we would display all the neccesary data to run some analytics. One issue that we currently have is that we cannot filter the people that cancelled due to a billing reason and the once that opted out. Getting all the subscriptions with their related info would be a good way to solve this. Thank you very much
My iOS/Android app was hacked by some users and now they can bypass the payment process and access all the pro content of my app.Does Revenuecat help to prevent that by double authenticate before unlocking the pro content?
One of my customers is getting this error: “Failed to connect to api.revenuecat.com/54.92.158.15:443” When I try to ping the IP address from my local machine, the request times out. Any ideas what might be causing this issue? Is the revenuecat API down? Or perhaps API IP changed but DNS issue?
Hi, I have a xamarin app and am testing on a physical device.I can make a purchase in the sandbox environment, and would like to test if the unsubscribedetected flag get’s correctly set.unfortunately after having made a succesfull purchase, and navigating to the subscriptions screen, I see no subscriptions are shown (and thus can’t be cancelled) is this scenario available for testing?Since I use xamarin I can’t test on the simulator (as far as i know)
I use RevenueCat in my app, I wanted to know how I can proceed to connect with Stripe through payment links, in the Stripe form I have a custom field where the user enters his code, the one necessary for RevenueCat to pick up the user (USER ID). Any idea how I can do that?
In my app, I am trying to use Purchases.setAttibutes() to capture user settings and store them in Firestore. I had hoped that the attributes would appear in a document generated by the Firebase RevenueCat extension, but the attributes do not appear. Is this possible? If not, where are these attributes actually stored?
During testing, when the subscription expires, the user still appears to have premium status in the iOS app, even though the RevenueCat server has already updated its status. The app seems to remain in premium status until I close and reopen it multiple times.I understand this might be an issue with my app. I've implemented a ViewModel and set it to refresh when the subscription status changes. However, it doesn't recognize when the subscription has expired.How can I address this problem? Does anyone have any suggestions?
Hello! I wanted to transfer my application to another developer account. what actions should I take in RevenueCat?
I'm currently working on an application project with FlutterFlow and would like to ask for your advice and expertise. The aim of my application is to enable users to create online training courses, while other users will be able to subscribe and pay monthly for access to these courses.However, I'm facing a major challenge. I'm looking to see if it's possible to implement a feature that allows users to dynamically create products on the RevenueCat platform. RevenueCat is mainly used to manage subscriptions and revenues in mobile applications, but it doesn't seem to offer any functionality to allow users to dynamically create products or training courses.So, I'd like to gather your knowledge and experience in this area. Have you already worked on a similar project, or do you have any ideas on how to handle this functionality? Are there alternatives to RevenueCat that could meet this need? I'm open to any suggestions, ideas or advice you may have.Thank you for your help. Your knowledge wi
When I do a build as followseas build -p android --local;the .aab file that is generated when uploaded does not have the billing permissions.I”m using the latest expo for react native. How do I get billing permissions to show up?I”ve also added this is in my packages.json"react-native-purchases": "^7.0.0",my partial app.json"android": {"versionCode": 316,"adaptiveIcon": {"foregroundImage": "./assets/adaptive-icon.png","backgroundColor": "#ffffff"},"permissions": ["android.permission.RECORD_AUDIO","com.android.vending.BILLING"]
From webhook docs: With webhooks integrated, you can:Remind subscribers of the benefits of your app when they decide to unsubscribe, or let them know when there are billing issues And… that’s it. No more bullet points. Is that really all RC webhooks are for? Feels like someone accidentally trimmed the list of use cases. I’m looking to change my users documents in my database after certain events: subscription, cancellation, etc. Am I looking in the right place? PS: Now, I’m pretty sure I’m looking in the right place, but hopefully the team can take this feedback to improve that particular section of the docs.
The Google Play Services credentials documentation from Revenue Cat walks through a step (1) in the API Access page of the Google Play Console. However, that page no longer exists: Can step 1 be ignored now? PS: Google Play docs definitely need to be updated.
Good afternoonWe would like to understand better what you consider “Unsubscribe Detected At” in the documentation here: https://www.revenuecat.com/docs/customer-info If a user turn-off auto-renew, does that property gets enable with the date when the user turned it off? Thank you
After I implement RevenueCat with Swift Package Manager, everything works fine till user verification process. I create a checkStatus function: class SettingsController: UIViewController {static var subscriptionStatus = false Purchases.shared.getCustomerInfo {(customerInfo, error) in if let error = error { print("Get Customer Status Error: \(error.localizedDescription)") } else { if customerInfo?.entitlements[RevenueCatAPI.entitlementID]?.isActive == true { DispatchQueue.main.async { SettingsController.subscriptionStatus = true print(SettingsController.subscriptionStatus) } } else { DispatchQueue.main.async { SettingsController.subscriptionStatus = false print(SettingsController.subscriptionStatus) } } } }I need to reach t
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.