Get help with webhooks, third-party integrations, and attribution providers.
Recently active
Hi everyone,I'm integrating Facebook Ads with RevenueCat for ads analytics purposes and adding the Stripe Billing integration to RevenueCat.In my React Native Expo (Android app) subscription flow, users will complete the payment via the Stripe Customer Portal opened in an in-app browser. If I integrate Stripe with RevenueCat and the subscription events are successfully tracked in RevenueCat, will these Stripe-based subscription events be forwarded to Facebook Ads through RevenueCat's integration?I want to ensure that my ad campaigns can accurately track conversions from Stripe subscriptions.Thanks in advance for your support!
Hi team, Is there an example of a Revenuecat webhook endpoint that we can use in our backend php to fetch events data? we d'ont find a kind of information on documentation.We need a sample like this one (used on stripe) bellow : <?php// webhook.php \Stripe\Stripe::setApiKey('Your_Key'); $endpoint_secret = 'whsec_...'; $payload = @file_get_contents('php://input');$sig_header = $_SERVER['HTTP_STRIPE_SIGNATURE'];$event = null; try { $event = \Stripe\Webhook::constructEvent( $payload, $sig_header, $endpoint_secret );} catch(\UnexpectedValueException $e) { // Invalid payload echo '⚠️ Webhook error while parsing basic request.'; http_response_code(400); exit();} catch(\Stripe\Exception\SignatureVerificationException $e) { // Invalid signature echo '⚠️ Webhook error while validating signature.'; http_response_code(400); exit();} // Handle the eventswitch ($event->type) { case 'customer.subscription.created': // What to do break; case 'customer.subscriptio
Hello, the documentation for Facebook https://www.revenuecat.com/docs/integrations/attribution/facebook-ads#5-send-revenuecat-events-with-the-conversions-api says we should prefer using the Conversions API integration now. However, when searching through Integrations in our project settings, there is no Facebook Conversions API integration. There is only the old Facebook Ads api integration.
Hi, We are trying to optimize our Google Ads App Campaigns using in_app_purchase event for iOS and Android. However, we do not see a value for this event in google ads. We are optimizing for trial starts, but the rc_trial_started_event does not contain metadata about the purchase amount, so therefore when this is passed to Google Ads App Campaigns (via Branch) it is coming across as an empty value. We need the in_app_purchase value to be populated in google ads so we can run these campaigns properly. Would it be possible to add these values to the webhook call? Or is there something else we can do to assign a value. Best, Jake
According to the Firebase Integration, it uses an event name called “purchase” as the default. This is different than the GA / Firebase event name that is used as default “in_app_purchase”. Is this correct?Are they in fact distinct events?
setAppsflyerID(AppsFlyerLib.getInstance().getAppsFlyerUID(context))The source code above is used to set the AppsFlyer ID.But it only works the first time. Consider the use case below:The user install the app and open it. The setAppsflyerID is executed, setting the ID to "AAA-AAA" The user uninstall the app The user install the app again The setAppsflyerID is executed, setting the ID to "BBB-BBB"From now on, on AppsFlyer the user is "BBB-BBB", but since the set does not work on RC, it stays as "AAA-AAA", making any type of integration between platform impossible, because they are referring to different users. Does anyone else have the same issue? For some reason is this the expected behavior? If so, what will happen for the use case I mentioned? *The same behavior happens on Android and on iOS.
I am integrating Stripe with the Pricing Table component for subscription management, but I’m facing an issue: this component doesn't allow passing metadata during the checkout process. Currently, we store the app_user_id value in the metadata of the Stripe Customer.Is there a way to pass this app_user_id or other identification values to RevenueCat after the subscription is created via the Pricing Table? We want to ensure that RevenueCat associates the purchase with the correct user using this data.
Hi,Clearly I don't understand what RevenueCat is suppose to do. I must be missing something. I have an App on the App Store and Play Store that already has a number of subscriptions, been live for a year. I’d like to start aggregating data, Rev Cat to the rescue! So I set up the project, the access keys and everything all. I get “Valid credentials”. All seems to be happy days so far! So a tap on Charts and … nada.Cleary I must be too dumb for RevenueCat...
When an account expires on my app/website, the user will still have access to read their data if they choose not to pay. Therefore, I need a close button on the web billing page. Right now it appears to only support hard paywalls.
Hello everyone.Please help me figure out where to look. My app is built on Flutter Flow. I’ve finally reached the stage of releasing the paid version, which includes subscriptions for 1 month, 3 months, and 1 year.After completing all the necessary integrations and settings, I published the app on iOS in TestFlight mode. However, when I open the app on my phone via TestFlight, the subscription page is completely empty. When I check RevenueCat, it says that the product status is not found. I’ve checked everything I could, and now I have no idea where to look for the error. Please advise me on what to do.App on iPhonescreen via flutterflowNot found status
I am encountering a packaging error in Xcode when trying to build my Unity project targeting VisionOS. This seems to be related to this question: However, the post was closed and I couldn’t find a definitive answer on whether this issue was resolved by now. I am on the latest RevenueCat SDK for Unity version 7.5.3.Thanks!
Hello! We have an integration from RevenueCat to Braze to capture Subscription Events. These events are flowing into Braze as Custom Events, however they should be considered Braze Purchase Events. Does anyone have any guidance on how to make this happen? We are using the default event names in the the Braze integration setup as shown here in RevenueCat.According to both the RevenueCat and Braze Documentation, if the event has currency/revenue it should be recorded as a purchase event, specifically initial_purchase_event and renewal_event. https://docs.revenuecat.com/docs/braze https://www.braze.com/docs/partners/data_and_infrastructure_agility/payments/revenuecat/#step-1-configure-braze-settings-in-revenuecatThe logging of Purchase Events (vs just Custom Events) is important because it allows us to leverage certain Braze features, only available for purchase events as shown here.Here is an example of initial_purchase_event being logged in Braze as Custom Events vs Purchase Events e
Hello all,I have implemented the Stripe payments on our website using WP Simple Pay https://wpsimplepay.com/ and I also have set up webhooks from Stripe to RevenueCat.Once I pay (in test mode) via our website, the subscription is registered in RevenueCat but obviously it’s not assigned to the user with the email in the payment form on our website. From the docs I understand that I need to send the token but it’s completely unclear how to implement this on out website. Any help will be appreciated!Thanks in advance!
Hi, I rely on RevenueCat to send start trial, trial converted, and other Track events to Customer.io (my CRM tool). Currently, I use RevenueCat’s Segment integration: RevenueCat sends the events to Segment, which forwards them to Customerio. I’m trying to cut out all Segment use cases in my tech stack because it doesn’t seem worth it (there are direct integrations in most cases). I made a post about this on SubClub. How do I replace this connection? Does RevenueCat have a direct integration with Customerio? I don’t see it in RevenueCat’s list of integrations. If RevenueCat doesn’t integrate directly with Customerio, can I use RevenueCat’s Webhooks to do this? So I could send the events via RevenueCat’s webhooks to my own webhook, then my webhook would integrate with Customerio? Does RevenueCat plan to release a direct integration with Customerio soon? If so, maybe I’ll leave the Segment connection in place for now, and replace it with the direct connection ASAP. Thanks! Toby
I installed Firebase extension and it worked in the past. Today, I found that firebase auth custom claims is not updated, which is likely due to fail in ext-firestore-revenuecat-purchases-handler function. So, I tried uninstall and re-install the extension, but unfortunately all the three methods below failed.Firebase console, Firebase CLI, Method described here, with project id updated in .firebaserc file. Also tried npm install, and removing node_modules and package-lock.json, npm install again.The main issue is: ext-firestore-revenuecat-purchases-handler function was not installed correctly. Below is the error message I got from Firebase console.Please advise.
The webhook notification will provide the transaction id. I could somehow fetch its details from a RevenueCat’s receipt end-point and match it against the webhook’s claims (since the request can be from anyone).Or it is an over-kill, and the shared Auth header should be sufficient?
Hi,I have some questions around the behavior of revenue cat with the stripe integration. With “track new purchases” will it always process new subscriptions even when the product id isn’t already defined in revenue cat? Additionally what are the behaviors for the other events when the product id or transaction id doesn’t exist on revenue cat?
Will there be / is there out-of-the-box support for teams using Apple’s Advanced Commerce API?Team’s with potential hundreds of different SKUs that sell as one-time purchases through the new API, what will that mean in terms of RevenueCat? Currently there are products, synced/imported from the stores, that unlock entitlements. Is the flow still going to be the same? Any resources on this available?
I’ve been trying all day to install the RevenueCat extension, but no luck. This is the error I’m getting:; RESOURCE_ERROR at /deployments/firebase-ext-firestore-revenuecat-purchases/resources/handler: {"ResourceType":"gcp-types/cloudfunctions-v1:projects.locations.functions","ResourceErrorCode":"400","ResourceErrorMessage":"Gen1 operation for function projects/f1-live-pulse-27147/locations/us-central1/functions/ext-firestore-revenuecat-purchases-handler failed: Build failed: npm error code EUSAGE\nnpm error\nnpm error `npm ci` can only install packages when your package.json and package-lock.json or npm-shrinkwrap.json are in sync. Please update your lock file with `npm install` before continuing.\nnpm error\nnpm error Invalid: lock file's long@5.2.3 does not satisfy long@5.2.4\nnpm error Invalid: lock file's long@5.2.3 does not satisfy long@5.2.4\nnpm error Invalid: lock file's long@5.2.3 does not satisfy long@5.2.4\nnpm error\nnpm error Clean install a project\nnpm error\nnpm error U
Hi Community, I wanted to know if I can use an African payment platforms like PayStack or Flutterwave with RevenueCat. I've only found tutorials that use Stripe which doesn't work here.Thank you.
Is IDFA really required for Revenuecat to communicate with Facebook, if so is there a way to not collect IDFA but still send the events to Facebook?I’ve seen several ¡posts on the forum about the Facebook Ads integration related to IDFA. Some say it’s required to send the event, and some say the event will be sent but without IDFA.Here are some of the posts: IDFA required: https://community.revenuecat.com/sdks-51/facebook-ads-integration-is-only-sending-events-from-android-app-not-ios-4501?postid=14416#post14416 9 months ago Might not be required: https://community.revenuecat.com/third-party-integrations-53/meta-ads-integration-send-events-without-idfa-4852?postid=15499#post15499 6 months ago IDFA not required: https://community.revenuecat.com/third-party-integrations-53/facebook-ads-integration-for-ios-14-5-for-users-who-do-not-accept-att-prompt-631?postid=1956#post1956 3 years agoMy question is, is that required now? It says it’s required in the docs, but on the forums, it’s not very
Hey, I am setting up Revenue Cat together with Superwall. I now created a custom purchase controller for superwall, according to their docs, that basically uses the RC SDK to handle purchases. I now want to identify users using our internal user UUID. The goal is that a subscription is tied to a user account and is active as soon as a user logs in on a new device. Do I have to login on Superwall AND RC? Or is Superwall enough and the information is passed on to RC?In Flutter code: // This?Superwall.shared.identify(user.id);await Purchases.logIn(user.id);Or just this?Superwall.shared.identify(user.id);Thanks!
The email:Hello,It looks like you’re still using version 4 of the Apple Search Ads Campaign Management API. After February 11, 2025, version 4 will no longer be operable.Move to version 5 of the Campaign Management API before the deadline to avoid any disruption to your campaigns and reporting.!--> I think this could be related to the Revenue Cat + Apple Search Ads integration. Do I need to do something on my end to use the v5 or this is already handled by RC?I'm using react-native-purchases v7.28.1Thanks!
Hi all, First post here, so apologies if it is a dumb question! I am using RevCat for my Thunkable (No Code) app. I have connected my Stripe account with RevCat and created an app. (Img below)When following documentation provided by RevCat/Thunkable (In-App Purchase Blocks (with RevenueCat) | Thunkable Docs), it says I should have an IOS and Android API key. However, I seem to only have one API key for the app, seen in the image. Why is this? Do i need an IOS/Android API key? How can I get one? Many thanks, :)
I have a flutter app which uses Revenuecat, and I wanted to also use Superwall for its paywalls. I have done the integration with the custom controller in the flutter app, and set up the integration in Revenuecats dashboard. The events are sent with no problem, but they are only being sent for one of the Superwall apps. So, in this case, I have used the Apple app server token, and the RC events are only received by the Superwall Apple app. When I have conversion of Android users, the RC billing events are not attributed correctly.It looks like the Superwall revenue tracking feature is done separately on each platform, with different API keys. But in revenuecat, the integration only allows for a single API token. Is there a way of overcoming this? Or is it a design flaw?
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.