Get help with webhooks, third-party integrations, and attribution providers.
Recently active
It would be great to have a direct Asapty integration. It’s possible via webhooks right now, but it would be so much nicer to just have a button. From my research, they seem like a fantastic ASA provider.
Hello RevenueCat team,We are heavy users of your 3rd party integration feature: we do send events to Adjust and our custom webhooks to obtain realtime data, which is great.At this point, we are willing to send a unique event for the very first purchase of a user. This would be very valuable for many use cases, such as product analysis (first purchase CVR or cost-per-first-purchase are much more common metric in higher-IAP share games) and UA campaign network [esp CPE] optimization.Would you please let us know your thoughts on this? It would be an event like “first_purchase”, for example.Thank you very much and keep up the good work
Hello! There is no method to set the protected attribute $firebaseAppInstanceId in react native, so the 3. of this tutorial for the revenueCat ↔ firebase analytics integration can’t be completed. Setting it with Purchases.setAttributes({$firebaseAppInstanceId: THE_ID }) doesn’t work. How can I do it?
Certainly, I can help you formulate your question in English. Based on your concerns, here's a way you could phrase your question for a forum or support request:Subject: Empty "items" Array in Response from RevenueCat Subscriptions EndpointHello,I've been working with the RevenueCat API to retrieve a list of subscriptions associated with a specific customer using the /projects/{project_id}/customers/{customer_id}/subscriptions endpoint. According to the documentation, this endpoint should return all subscriptions associated with the customer, currently including only those made via RevenueCat Billing on the web.However, when I make a request to https://api.revenuecat.com/v2/projects/myProjectId/customers/myCustomerId/subscriptions, the response successfully returns a 200 status code, but the "items" array in the response body is empty. This occurs despite the fact that I expect this particular customer to have active subscriptions.Here is an example of the response I'm receiving: jsonC
I am using the newly available rc_subscription_status in Amplitude to create charts on subscriptions, but I don’t seem to get to the same numbers as in the Overview or Charts sections of RevenueCat.For example, I am using the rc_subscription_status = active and comparing to the “Active Subscriptions” in RevenueCat charts, and there is a significant difference.Also checked for rc_subscription_status = trial, which is also very far from the count in “Active Trials” (a lot higher).Is there a formula that should be applied? Like: to get the Active Subscriptions, we should substract subscriptions with the cancelled (or other?) status?Some documentation on how charts are calculated in revenuecat would be very useful in order to replicate the indicators in other tools like Amplitude or Mixpanel.
Added Facebook ads integration: https://www.revenuecat.com/docs/facebook-ads When I test events in sandbox only the ones with IDFA enabled are sent, even though $fbAnonId is set.This is reproducible every time IDFA is toggled on/off. Is this a bug? Cause from doing a research on this forum I found that IDFA should fallback to fbAnonId and send events regardless. I also have my Facebook ads up and running, and not receiving events from RevenueCat.
Hi, I was looking at sending customer information to firebase as described here. https://docs.revenuecat.com/docs/firebase-integration There are example security rules here rules_version = '2';service cloud.firestore { match /databases/{database}/documents { match /${param:REVENUECAT_CUSTOMERS_COLLECTION}/{uid} { allow read: if request.auth.uid == uid; } match /${param:REVENUECAT_EVENTS_COLLECTION}/{id} { allow read: if request.auth.uid == resource.app_user_id } }} Are these security rules meant to be copy/pasted directly into firebase? They flag up some syntax errors when I try to and I’m not sure how they are supposed to be changed. I think the “${param:REVENUECAT_EVENTS_COLLECTION}” is the problematic part.
I’m trying to synchronize a users subscriptions to my backend. I have a user with a sandbox subscriptions, I’m i’m trying to get information on their subscription status via:curl --request GET \ --url https://api.revenuecat.com/v2/projects/xxxxxxxx/customers/xxxx04c3-9caa-456f-9afc-f84cea6f2bf6/subscriptions \ --header 'Authorization: Bearer sk_xxxxxxxxxxxxxxxxxx'I get a 200 OK, but the items array is empty.{ "items": [], "next_page": null, "object": "list", "url": "https://api.revenuecat.com/v2/projects/xxxxxxx/customers/xxxxxxx-9caa-456f-9afc-f84cea6f2bf6/subscriptions"}Both the RC dashboard and SDK show me that the user has an active entitlement.The endpoint has an optional query parameter “environment” which can be set to “sandbox” (doesn’t make a difference) but at least it tells me it should work for sandbox? What am I missing here? Is there a secret query parameter similar to V1 that I need to set to get the sandbox purchases included here as well?
Has anyone successfully integrated with OneSignal v11+ (user-centric) or know when RevenueCat is going to release the integration? Many thanks!
How i can test the Apple Search Ads & RevenueCat Integration is correctly correcting data or not before making app live?is there any way to test it with sandbox?
Hi there,We have a Flutter app for both iOS and Android that is integrated with RC through the SDK. We offer both subscriptions and one-time purchases(IAP). We are now integrating Stripe payments for both subscriptions and one-time purchases in our new web app. However, we are facing difficulties with the integration of one-time payment validation as it requires a Stripe Checkout Session. We have a custom payment form and UI that uses Stripe payment elements, and we are unable to use Stripe Checkout sessions. Are there any other alternatives that we could explore to create entitlement for these purchases?
I see that you guys have this overview metrics endpoint but looks like there is no way to get metrics by Offering. Could you please tell do you plan to add it to REST API or I should go with Webhooks?Thanks
After integrating RevenueCat, the in_app_purchase event stopped in Firebase. Is this normal? Meanwhile, the purchase event is still coming from RevenueCat's Firebase integration.Flutter, Android
I'm trying to connect RevenueCat with Stripe for one-time payments in my JavaScript web app, but I'm running into a problem. When I try to send information about one-time payments to RevenueCat, I get an error message saying there's an internal server error ({ code: 7110, message: 'Internal server error.' }). This issue doesn't happen with subscriptions; it's only with one-time payments. I've tried using different combination with/without Stripe product and price IDs but keep getting the same error. The instructions mentions to use the Stripe's Price objects in documentation, but there aren't clear details on how to do this in the API documentation. Here's the API request I've been using to send the payment information. I would really appreciate any help or advice on what I might be doing wrong or missing. curl --location 'https://api.revenuecat.com/v1/receipts' \--header 'X-Platform: stripe' \--header 'Authorization: Bearer strp_xxxxxx' \--header 'Content-Type: application/json' \--da
When following the ( excellent! ) documentation for the OneSignal integration, it references the old methods of getting the device ID, which don’t exist since the OneSignal migration to their new `User Centric` model. OneSignal.add(self as OSSubscriptionObserver) // No longer exists// If you've already set up OneSignal, then users should already have// a OneSignal Id. We can check if it's available and send it to RevenueCatif let onesignalId = OneSignal.getUserDevice()?.getUserId() { // No longer exists Purchases.shared.attribution.setOnesignalID(onesignalId)}I’d love to know what I should be setting as the attribution ID using the new methods ( they’re not covered in the migration guide ), as trying the various IDs I can find results in the web hooks failing due to missing aliases, or invalid IDs, and the device ID is no longer accessible as far as I can tellThanks!
I am using the firebase extension and have not received a renewal (subscription extended) event for customer cltkw0rlVdU1KUgzKp9dZ1zzTtp2. The Customer History shows this event that happened about 9-10 hours ago.FWIW, I have the connection to Google real-time developer notifications setup correctly and it has been working. But the Google Developer Notifications Topic ID has last received event back in Feb. Are there any known issues with developer notifications?
I need a way to notify our backend when a promotional entitlement is manually granted to someone in the Revenucat dashboard. I don't see an event of this type being emitted via webhooks. Does anyone know how to work around this, or what the chances are that the Revenucat team could add this functionality? ;)
Hi Team, This question regards the pagination of REST API endpoints. It is mentioned in the document in the pagination section that the default value for the limit is 20, but it doesn’t mention the maximum value.I have tested it in the Postman, and it supports unlimited value. Is there any plan to fix the limit value at a certain value? I also noticed an error with the pagination when setting the value to 1. The pagination goes into an infinite loop when we set the pagination limit value to 1. The next_page field returns the same API URL multiple times. Could you please look into that?
I have a one-year, non-renewing subscription (one time purchase) set up in Stripe. How can I set an expiration date for it?
Hi there,I wanted to check how can revenuecat help my situation. The billing method I am thinking about is getting my user to pay a one time fee to unlock features, and also having consumables that they can purchase quarterly. How can revenuecat sends the revenue amount or knowledge that the user had paid for the feature or consumables to supabase which is my backend, and so that when my user login to the system, they can get full access to all their features they have paid for?
I am trying with UnityPlugin.I checked on my IOS device and the "GetOfferings" callback is not being called.What is the cause? purchases.GetOfferings((offerings, error) => { if (error != null) { LogError(error); } else { Debug.Log("offerings received " + offerings.ToString()); var yOffset = 0; foreach (var package in offerings.Current.AvailablePackages) { Debug.Log("Package " + package); if (package == null) continue; var label = package.PackageType + " " + package.Product.priceString; CreateButton(label, () => ButtonClicked(package), 500 + yOffset); yOffset += 70; } } });
Hi. I’m trying to get the Firebase/Google Analytics integration working, but I’m struggling. I have populated the integration config form, and selected the enable sandbox events checkbox. Since I did this, two real users made purchases, triggering the integration and I can see their payloads at the bottom of the integration config screen. Both events were rc_trial_start and they received 204 responses.When I look in Google Analytics, I don’t see any mention of rc_trial_start and no revenue is recorded against the app. The data streams in Google Analytics appear to be set up correctly. Should I be performing additional configuration inside of GA or should things just start happening as my data comes through?Finally, I have made sandbox purchases with my iOS simulator and StoreKit. I can see my sandbox user data in RevenueCat and I can see they have a Firebase App Instance Id attribute. However, this sandbox purchase is not listed in the log at the bottom of the integration config form.
Hi there,I am looking at the Branch/RevenueCat integration and I am curious about why device identifiers such as IDFA are required. Can RevenueCat events not be attributed to a Branch campaign via the user ID? (as long as Branch and Purchases ids match).FYI we are only interested in seeing the attributed RC events in Branch, we don’t need RC to know about our campaigns. (If this changes anything 😄) Many thanks,Lydia
Long story short: RC sends integration events to Adjust, but Adjust doesn’t show them in the report.Long story:My project has integrations with Superwall and Adjust. Both are showing integration events sent with successful response codes.However Adjust is not showing any received events in the report dashboard, while Superwall does receive and show all the same events correctly.The iOS project has a call to set AdjustID (Purchases.shared.attribution.setAdjustID(adjustId)) and this ID is shown in the RevenueCat customer info.I’ve tried re-setuping the integration for Adjust with no luck.What should I do to make it work?
As a business it’s critical for us to receive this event data in CleverTap from RevCat."price" (we do not need "price_in_purchase_currency" - we'd like to have it all show in RevCat as US dollars) "product_id"We want to adjust and add PROPERTIES to the existing events. We are not adding new events.How can we do this? Is there another way to send the data?
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.