Get help with webhooks, third-party integrations, and attribution providers.
Recently active
Hello, I’m trying to connect RevenueCat → FireBase integration and I have several errors and no understanding When I use LogIn(Firebase Analytics ID), I have an error: Invalid API Key., readable_error_code: INVALID_CREDENTIALS, message: There was a credentials issue I just skipped this step and just connect Firebase ID: FirebaseAnalytics analytics = FirebaseAnalytics.instance; purchases.Purchases.setFirebaseAppInstanceId(instanceID); But then I receive events from RC only from Android, no ios So possible it’s a some bug with a Flutter for Firebase integration. I haven’t found a solution The next problem is that RC events to Firebase is “purchase” for Cancelation, Purchase, Error etc. But how to understand if the user bought a Lifetime subscription? Yes, I can get rc_trial_start event for Trials, but how to get it for just purchases? I can’t use it for Google Ads for example Would love to receive a help!
Hi, I recently moved away from Stripe on the web, the main reason being that Stripe is not a merchant of record. I think Lemon Squeezy is the most popular alternative that is a merchant of record.Are there any plans of adding support for Lemon Squeezy as a payment alternative for the web?
Here is the situation I’d like help with:User is on iOS 14.5+ User does NOT accept ATT prompt - i.e. IDFA is not provided. The goal: Run facebook ads to maximize the number of purchasing users or to maximize the value of users subscribing to the app.If the user does not accept the ATT prompt, in that case facebook uses Apple’s SKAdnetwork for attribution.Does the Facebook Ads Integration in Revenuecat work for users who do not accept the ATT prompt - i.e. will Facebook be able to attribute purchase events to the correct campaign? I don’t think this would work, since I believe SKAdnetwork only works with local events in the app, not server to server events such as this Facebook Ads Integration. I believe that in order to be able to optimize Facebook ads for this use case, we need to track the events we want to optimize for (i.e. start trial / purchase events) locally in the app, then correctly configure the conversion values for SKAdnetwork and not send server to server events such as v
Revenuecat and Facebook ads integration seems to be working properly, events manager is collecting data for trial and subscribe events. However when targeting Subscribe event in a campaign (IOS 14.5+) the results are showing low to 0 subscriptions, while having a big number of trials in that campaign (campaign has been running for over a week now with no subscriptions which is very odd considering the optimization goal is the subscribe event). Wondering if anyone else faced a similar issue with event targeting?
In the Sandbox environment, I noticed that whenever I would try to change a subscription to another one, not only the PRODUCT_CHANGE event will be triggered on the webhook but also simultaneously an INITIAL_PURCHASE event is also triggered.I’m testing on a physical android device.According to this article, it shouldn’t be. In my opinion the more natural way is a PRODUCT_CHANGE followed by a RENEWAL when the new price comes into effect. Edit: This is a screenshot from the Customer history where the in ‘my opinion’ issue is shown
Hi RevenueCat Community,I am working on a project that requires setting up multiple webhook URLs within RevenueCat to handle different aspects of our subscription events. Specifically, I want to understand:Is it currently possible to configure multiple webhook URLs for a single project in RevenueCat? If not, are there any recommended workarounds for routing webhook events to multiple endpoints? Has there been any recent update or feature addition in RevenueCat that addresses this requirement?Our goal is to streamline event processing and ensure that different services in our system receive the appropriate subscription-related notifications.Looking forward to your insights and advice.Thank you!
Hi, Please let me know how I can create two webhooks in the same project. One for Development server.Second for Production Server. Waiting for reply asap. Thanks
Hi All,I tried everything. I signed all Business Agreements with Apple. I deleted and added subscriptions and products umpteen number of time but always I get null value back in revenue cat from Apple and thus a grey screen in my mobile app. I double and treble checked the keys and secrets, and checked the In-App purchase connection status, everything is correct.Can someone guide me, or help me what I can do? My app is not going ahead because of that?Regards,Aman
Hi, Not sure if I am missing something, but I have a problem with Grants.I was of the idea that when we assign a grant to a user on a subscription it automatically gives them that period for free. I wanted to use grants in scenarios where my customer had an issue or are unhappy with something I can give them a week, month or quarter free to show good faith.What we have noticed is that when I do so it creates two parallel plans, One for the users subscription and one for the grant but the user is actually charged by appstore. Thank god this was a test scenario and wasnt a paid user, it would have been embarrasing promising them a grant and then getting charged. Is this a code issue or can this not be done the way I though it would be? My Devs are saying that you can only ‘Grant’ users whose plan has expired or who dont have a plan … not sure if that actually serves the purpose. ThanksSunny
my app is almost done, the big problem that i am facing is Revenuecat is not working and showing gray screen when i have adding the pricing string and when i am not adding the pricing string the page is loading but is still not executes the purchase, i am unable to find the problem , please HELPi have tried the flutterflow document on revenuecat, i have tried youtube videos on it and revenuecat documents on checklist for errors and i have checked playstore for any missing or wrong entries.
We use a Firebase extension to automatically add revenuecat events to a Firestore collection and it’s been working great for a long time already.Now we’re adding a Firebase “dev” environment to run some tests, in the form of a second google cloud project that mirrors the production one.Is there any potential issue or things to watch for, in linking the same revenuecat project to both the prod and dev Firebase environments?
At this stage in the google set up doc it says to download the public json key to your computer. In the gif there is no guide to doing this. The json key that is downloaded to your computer automatically seems to be the private key. I can’t see anything specific about downloading the public key or how to do that. What am I missing here? Thanks!
Hi,I am adding a subscription for an app in the play store. Android and ios ids must be the same on our side. But when adding android subscription, we add it period and the product id is created automatically, but the android and ios ids are different, how can we solve this problem?Subscription is on auto-renewal. We have added a subscription before, but we did not encounter such a problem. Has RevenueCat been updated?Can you help me ?example-------ios: com.app.subscriptionandroid:com.app.subscripton:p1mThanks in advance :)
I’m using Laravel backend with revenue-cat for subscriptions, I could not revoke entitlement using an api call to https://api.revenuecat.com/v1/subscribers/{app_user_id}/entitlements/{entitlement_identifier}/revoke_promotionals as this returns { "code": 7242, "message": "No promotional entitlements to revoke for this subscriber."}How should I test unsubscribe function using revenueCat Api for revoking non-promotional entitlements
We tried to get the font family working for a paywall, however we are using expo react native and it was not working no matter what i did. I tried to follow expo tutorial on how to use custom fonts and did it the react native way and nothing worked for iOS.Is there a way we can do it using expo: https://docs.expo.dev/develop/user-interface/fonts/
Hey folks! I have a Firebase setup where I have multiple Firestores in one project. I have enabled RevenueCat’s Firebase extension, but I’m not seeing the events being written to the DB. I presume this is due to the fact that I have multiple of these DBs. Handler function is being called but erroring with this below: FAILED_PRECONDITION: The Cloud Firestore API is not available for Firestore in Datastore Mode database projects/{my_project}/databases/(default). I’m not using the (default) DB to begin with. Is there any way to pass in my DB name here somehow?
Hi there!We encountered a peculiar situation with the SUBSCRIPTION_EXTENDED event (PlayStore). Here's the user flow:2024/03/15: The user subscribes (INITIAL_PURCHASE) with an expiration date of 2024/03/22. 2024/03/22: The subscription is extended (SUBSCRIPTION_EXTENDED) to a new expiration date of 2024/03/23. 2024/03/23: A grace period begins due to a BILLING_ISSUE/CANCELLATION, with a new expiration date set for 2024/04/06. 2024/03/25: The subscription expires (EXPIRATION), with an expiration date of 2024/03/22.However, the /subscribers/${userId} REST API method began returning an expiration date of 2024/04/06 after the third step and didn't update beyond that. Given these events, when did the user lose their entitlement?Was it on 2024/03/25, after the EXPIRATION event? Or on 2024/04/06, after the grace period ended?If the entitlement was lost after the EXPIRATION event, why does the REST API continue to report 2024/04/06 as the expiration date?
Hi! I work at an app that uses subscriptions. I implemented with revenue cat and I test using sandbox environment on iOS simulator. For communication with our backend I use web hooks. For The first subscription it triggers the INITIAL_PURCHASE event and at every five minutes it triggers the RENEWAL event. When I cancel the subscription it send the CANCELLATION event but, it not send the EXPIRATION event at the following RENEWAL. Please explain me how it works the expiration event and how to send an expiration event web hook to test our integration. thanks
HiAre there any plans to add Samsung Galaxy store and Samsung Tizen (TV)?D
Hi all, looking to use the Revenue Cat API to dynamically set the price of a subscription within my app - looking at the API docs I’m struggling to find a way to make a GET request with either a UserId or SubscriptionId to get the price of a subscription. Is there a way to do this currently, and if so - how?
I’m moving RevenueCat 4.x to 5.x and I’ve created my account and integrated my existing app to it.Even though on the dashboard, the `In-App Purchase Configuration` section prompts that I have valid permission, I still can’t purchase when testing it on sandbox environment and receive this error “Apple In-App Purchase Key is invalid or not present”Could someone tell me what’s wrong here?
Hi everyone,I'm currently using RevenueCat with React Native Expo and I have a question about how the email attribute is handled.In my app, I'm initializing RevenueCat as follows:await Purchases.configure({ apiKey: APIKeys.apple,});Purchases.setEmail(userData.email);Purchases.setDisplayName(userData.name);I want to know if the email attribute will be sent to my webhook when a purchase event or subscription change occurs. I’m specifically setting the email after configuring RevenueCat, but I'm unsure if this will be passed to the webhook.I didn’t see an email attribute in the body of a POST request for webhook events when I read the documentation here.Has anyone else implemented something similar or can confirm how this works?Thanks in advance!
Hi,I have subscription started at 2024-10-08 06:52:27+00 and will renewable at 2024-11-08 06:26:27+00and currend date is 2024-10-23.I defer the subcription via POST https://api.revenuecat.com/v1/subscribers/$app_user_id/subscriptions/$product_identifier/defer to one day so the body['expiry_time_ms' => 1731133587000,]if we convert this ms we will get “2024-11-09 06:26:27.0 UTC (+00:00)”the api response is HTTP request returned status code 400:{"code":7258,"message":"The desired expiry time for the subscription is not valid."}what is the wrong ?
HelloI'm looking to introduce "prepaid" or "non-renewing subscriptions" for my app. I plan to start by adding this option to our website. To implement this, I’m creating one-time payment products for the following durations: 1 month, 3 months, and 12 months.So far, everything is set up on the website side. However, I’m facing a challenge when it comes to informing RevenueCat that these one-time payment products should have a fixed duration. For instance, I need to configure the 3-month product to grant access for exactly 3 months and the 12-month product for 12 months.Does anyone know if this is possible in RevenueCat? If so, what would be the best approach to set this up?Any insights or guidance would be greatly appreciated!Thanks in advance!
I'm implementing a subscription system using RevenueCat with React Native Expo and Firebase, utilizing the RevenueCat Firebase extension. My current flow is:User signs in anonymously with Firebase (and implicitly with RevenueCat).User encounters a paywall and makes a purchase.User is redirected to a signup menu with the following sign up options email, Google, Apple.When the users signs up we do a account firebase upgrade from anonymous using linkWithCredential.Issues I'm facing:1. If, after upgrading their account, the user chooses to create a new account with an email and password (now it would not get linked instead this is a entirely new account), the revenueCat subscription appears on both the old and new accounts ( i believe this happens after one of these methods are ran await Purchases.restorePurchases(); await Purchases.syncPurchases();I am not sure why though, do these methods call the firebase cloud function? and should I not call them? and if I should not call them then th
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.