Get help with webhooks, third-party integrations, and attribution providers.
Recently active
I’ve been hitting my head against this all day yesterday and this evening and I’m not sure what I’m doing wrong. In brief, my use case is purchasing a subscription via Stripe, and then posting the receipt to RevenueCat to record the entitlement against the correct user.My code to do so is pretty simple. Here is an isolated test case written in TypeScript:import { config as dotEnv } from 'dotenv';dotEnv();import fetch from 'node-fetch';export const sendReceiptToRevenueCat = async (data: { app_user_id: string; fetch_token: string;}): Promise<any> => { const url = 'https://api.revenuecat.com/v1/receipts'; const headers = { Accept: 'application/json', 'Content-Type': 'application/json', 'X-Platform': 'stripe', Authorization: 'Bearer ' + process.env.REVENUECAT_PUBLIC_API_KEY, }; const options = { method: 'POST', headers, body: JSON.stringify(data), }; return fetch(url, options) .then((res) => res.j
Hello. We are sending events to Amplitude and Braze.Corresponding to the document, I can know that when the user repurchases the auto-renewing subscription product after a lapse in their subscription, it sends “renewal”.But, I am not sure this is also applied for the the free trial cancel case.If the user stop subscription during the free trial, and then they repurchase again, in this case, it is also tracked as “renewal”?
Hello there,I’m having a problem with Facebook Ads and AppsFlyer Integration on Android with NON_RENEWING_PURCHASE type of events. When I open Event details for this type, in Integrations i can only see Webhooks.Both integrations works well for INITIAL_PURCHASE and RENEWAL type.Do you have any idea what could be the problem here?
The docs say the following:Cancellations in Stripe are automatically detected by RevenueCat the same way as subscriptions from the app stores. This means there may be up to a two-hour delay between when the subscription is cancelled in Stripe and when the cancellation is reflected in the RevenueCat backend.I cancelled a subscription with Stripe over two hours ago, and the cancellation hasn’t appeared in RevenueCat. Is this information still accurate? Is there anything I need to do to make this work aside from the connection with Stripe? Do I need to forward webhooks from Stripe to RevenueCat or something aside from the initial receipt creation? Thanks!
Hey guys, I get a problem with stripe integration. We have multiples mobile apps and so we have one account with many apps on revenueCat. We did first setup the stripe integration (https://docs.revenuecat.com/v3.0/docs/stripe) for one of our app. Now we want to setup this stripe integration for other apps the stripe integration is account wide rather than app per app and we have 1 stripe account per app.To resume, I have multiple stripe account and 1 revenueCat account. Is it possible to setup multiple stripe integration account on revenueCat (one per app)?Thanks for your time guys,
We are looking to take advantage of RevenueCat’s ability to publish a more extensive set of analytics purchase events by way of one of the analytics integrations that are available.Ideally we would like Revenue Cat to publish the full history of events upon enabling the integration but I can’t see any references that indicates this would happen in the docs.So the question is will it automatically backfill the events for prior purchases? If not, what is the recommended way to achieve this?
I have implemented webhook for revenuecat in .net core C#. But for some reason I am getting 400 badrequest with empty response. I am mostly sure that I am not getting the json response in webook through revenuecat for any of the event occurring.I have also added endpoint on revenue cat webhook with authentication. I have tried several time and as I have not way to test this on local machine. I need help from revenue cat team to provide some reference doc with sample implementation just to get proper json response. Below is the code snippet that I am using to get json response from the webhook endpoint added in revenuecat. var webHookSecret = _configuration[Constants.RevenueCatWebHookSecret]; var headerAuthorization = HttpContext.Request.Headers["Authorization"].ToString(); #region Check authorization if (webHookSecret == headerAuthorization) { json = await new StreamReader(HttpContext.Request.Body).ReadToE
Hello!I’ve configured Appsflyer Integration, but i’m having problems with Aggregated Advanced Privacy framework (Aggregated Advanced Privacy framework – Help Center (appsflyer.com)).It seems that Revenuecat miss one payload parameter (att - Server-to-server events API for mobile (S2S-mobile) – Help Center (appsflyer.com)), is it possible to add such feature (or enabling it somehow, I think Revenuecat doesn’t collect that info right now)? We would love to use AAP framework in our apps.Thank you guys, amazing SDK!
From the documentation of common fields sent in Webhook payloads, we get that the aliases key should a) always be an Array of Strings, and b) include all IDs associated with the user, including their “main” user ID.All app user ids ever used by the subscriber. However, we’re getting some events that send “aliases”: null in the payload, which is causing some errors on our end.Can we get some clarity on this? Is null an expected value? If so, can you update the documentation please? And if it’s not an expected value, can you help us understand why we’re getting null?
Hello, I don’t have any conversion on facebook ads, even though the IDFA are sent to Facebook on Revenue Cat and the traffic only comes from Facebook ads. I have read the docs but could not find a proper full example. Here is what I have done (swift).I have tested where to call FBSDKCoreKit.AppEvents.activateApp() (before or after ATT request) Option 1:@UIApplicationMainclass AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterDelegate { func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { FBSDKCoreKit.Settings.isAutoLogAppEventsEnabled = false FBSDKCoreKit.AppEvents.activateApp() Purchases.automaticAppleSearchAdsAttributionCollection = true Purchases.configure(withAPIKey: "XXXXXXXX") Purchases.shared.collectDeviceIdentifiers() Purchases.shared.setFBAnonymousID(FBSDKCoreKit.AppEvents.anonymousID) if #available(iOS 14.5, *)
My app backend needs to add balance to my user’s account for each new subscription purchase, what is the delay before a new subscription is sent to my configured webhook?
So i am using app metrica, as my attribution platform. I am wondering is there a possibility to send events to appmetrica. it would be very helpful to do that
Hi RevenueCat, I have completed the instructions to the “T” on this page:https://docs.revenuecat.com/docs/creating-play-service-credentials and have made a json key correctly. No matter what I do, I am still receiving an error such as the one in the image below: My service credentials start out like this: :”my-app-service-credentials@pc-api- “The “pc” in there is no problem, right? What should I do now to fix the problem since the credentails are not working and seem like they have never even been created? **This error is happening on revenueCat. I have not done anything with the android app.** Thank you!
Hi, We have configured our Slack webhook to post subscription related events in our Slack server.We would really like for this message to display some attributes related to the user.Is there any way we can customize the payload sent to Slack? Kind regards,Johan
Is it possible to test an iOS subscription before the subscription product gets approved by Apple? This is my first time submitting to the app store, I got denied because they said my app did not function when the “purchase” button is pressed. But I am wondering, how would the in-app purchase pop-up be able to display without the product being approved?For example, if I push it to testflight, no one would be able to click the button because it is not an approved product, and I believe that is what they are testing when approving the app.
In the list of possible integrations I see Braze but not Iterable. What is currently the best way to send Revenuecat events to Iterable?
We’ve recently started to use mParticle and like the seamless integration of events from RevenueCat to mParticle. There is however something missing. We want to know per user what there current subscription status is (unsubscribed, trial, subscribed). Right now we would need to implement a service that would ingest this data. Is there another way to get this directly into mParticle? Are there any plans to add this functionality to the integration?Thanks, Wolfgang
We have setup the mParticle Integration to forward subscription event data to mParticle. Currently this fails for most of `trial_started` events originating on Android.Other events are reported successfully.Steps to reproduce:Opening our App in the Dashboard Select Analytics > mParticle from the left Scroll down to “Recent Events”ExpectedAll requests are successful and return a status code of 2xx.Actual`trial_started` events originating on Android fail with a 400 status code.This is impacting our analytics stack heavily and a fast fix is highly appreciated. If you need further input from us let us know.
Hello,I’m currently integrating RevenueCat and making test purchases with and without StoreKit Configuration file using a sandbox account.But I noticed that these sandbox events are being sent to my integration partners. My MixPanel and AppsFlyer are reporting these events as revenue which I do not want, as I expect to do much more test buys in the future and this will mess up my OKRs. Is there a way to optionally disable these web hooks and integrations for sandbox events?
Hello, I am trying to set up a webhook integration with Zapier/Integromat that will send emails to unsubscribed users. These tools work the way you start setting up a webhook and then listen for data from RC. Once it receives call from RC it automaticaly builds a scheme to work with. However, RC test event doesn’t contain email and name attributes. Making it impossible for tools to build a scheme and work with emails and names. Hope this makes sense. Thanks,Jakub
We use Mixpanel as our Analytics tool, which has RevenueCat events fired for trial start and trial convert. However, our number of trial starts and trial converts, as well as the revenue in the latter event do not add up to match the numbers in the RevenueCat dashboard.e.g.:May: Trial starts in Mixpanel = 1,573May: Trial starts in RevCat = 1,235^ this is a 21% difference... June: Trial converts in Mixpanel = 574June: Trial converts in RevCat = 521^ this is a 9% difference… The event is from the same source, as we use the Mixpanel in-app purchases integration from RevenueCat https://docs.revenuecat.com/docs/mixpanel I’ve used the data discrepancy article from RevenueCat, which doesn’t include the answer: Any ideas why these are different? This is crucial for our OKRs and revenue tracking
I have disabled sandbox events in slack integration settings.
Hello,My goal is to buy ads on facebook and track if they eventually triggered installation and purchasing in-app subscriptions.I read a couple of other topics about how tracking works. It seems that fbAnonId is essential for precise tracking. However Facebook SDK doesn’t support macOS platform. How did you solve this problem?I guess there is an opportunity to have an embedded webview that loads their javascript SDK but it seems like an overkill and i’m not yet sure it will solve the problem.How do you track your macos advertising?
Hi,I’ve configured RevenueCat & AppsFlyer as it should be, but still can’t see any Media Source params in events that RC sends to AF. I do see the value set by the app in the ‘Customer Profile’ page on RC, but but in event JSON which is sent from RC to AF they are still missing and AF thinks that it was organic purchase.Any idea whats wrong or what I’m missing? (iOS SDK)
I’m continuing the discussion from spectrum here:@ryan your docs don’t make any distinction between iOS and Android when it comes to whether the Facebook SDK should be installed, so I assumed it had to be installed on both platforms. If not, that would be a great thing, as the SDK is huge.
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.