Get help with webhooks, third-party integrations, and attribution providers.
Recently active
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
Hello, I am currently developing a feature that sends push notifications before the free trial expires and the subscription begins, using webhooks. The logic is as follows:if (event.type === 'INITIAL_PURCHASE' && event.period_type === 'TRIAL') { // Schedule push notification} else if (event.type === 'CANCELLATION' && event.period_type === 'TRIAL') { // Cancel scheduled push notification}Will the above logic work as intended? I am curious if the `period_type` is correctly transmitted as the current subscribed product, regardless of the event type.
Does anyone know what the exact login is in the backend for determining new subscribers in a given month for iOS? We’re migrating from Tableau / App Store API and have about a 10% gap to understand. We have a simple annual subscription with a free 7-day trial and occasional intro price offers which complicate the event type math for doing new subs. So I’m wondering if the exact RC logic for calculating new subs in a period for iOS is available to better understand the differences we’re seeing. For example, it takes the SUM of events “Conversions to Standard Price” and “Reactivations” and “Activations {where duration = 1yr”} something like that?
If a user redeems an offer code (iOS) without the app installed, when does the INITIAL_PURCHASE webhook fire? I’m having an issue where the INITIAL_PURCHASE webhook is firing without the user id being set. I set the user id when the user signs in/up so I’m trying to understand when the webhook is firing. This is only a problem for trials (offer code redemptions).It would be nice if the webhook would re-fired when the user id was updated.
Dear Community:I have purchased the Codelime yearly subscription on my MacBook Pro M2 via my iCloud Account - Apple ID. Since purchasing on this same device I can’t enable iCloud sync because for some reason it still sees my free subscription and not the one I just paid for. On my Mac Studio M1 and my iPhone it automatically recognized my Codelime premium subscription.On this MacBook Pro M2 device if I select restore purchases I am seeing the following message below.Apple Subscription Key is invalid or not present. In order to provide subscription offers, you must\nfirst generate a subscription key.\nPlease see https://docs.revenuecat.com/docs/ios-subscription-offers for more info. Apple Subscription Key is invalid or not present.From what I have read in this community forum, it seems that this is a new bug. If anyone can help me get this resolved, it would be highly appreciated.Looking forward to a response.Thanks
I am launching an app with a subscription offering. I currently have an e-commerce site built using Shopify. I am selling subscriptions on the Shopify site using the Bold Subscriptions Add-On, with Shopify Payments as the gateway.Bold offers webhooks for subscription events. I was thinking that I could pass these webhooks through my backend to the RC API...but...I don’t see RC endpoints for subscription events like cancel, so maybe this is not a viable solution?Is it possible to integrate the subscriptions sold on the Shopify site with RevenueCat? Am I missing a simpler solution here? Thanks!
Hi everyone,I’m in the process of migrating from the Cordova Purchase Plugin to RevenueCat and have a question about how Firebase Analytics handles in-app purchase events with the following setup:Capacitor Plugin: @capacitor-community/firebase-analytics RevenueCat Plugin: @capacitor-community/revenuecatCurrently, with @capacitor-community/firebase-analytics installed, all in-app purchases are automatically logged in Firebase Analytics as in_app_purchase events, even though I haven’t explicitly configured this. I assume this happens because Firebase SDKs natively track purchases on iOS and Android platforms.As I transition to RevenueCat, I’m considering whether or not to implement its Firebase integration. My concern is that this could cause the same in_app_purchase events to be logged twice: once by the native Firebase SDK and potentially again via RevenueCat's integration.My main questions are:Has anyone experienced this setup? Do I correctly assume that enabling the Firebase integrat
I also face this issue, and many others are experiencing it as well.Here is the correct link (which is not showing in the App Store when we log in and try to find in-app purchases). However, if you use this link, it will redirect you to the App Store in-app purchase API page.Please make sure to log in as the owner, not as a developer or admin:https://appstoreconnect.apple.com/access/integrations/api/subs
When integrating Singular using official docs we have faced a few issues: API KeyFrom the official docs it is not clear which API key we suppose to use. Singular has many types of API keys: SDK, Reporting API key, S2S API key, etc.We were under impression that we should use Reporting API key located here: https://app.singular.net/#/react/api. On our integration page on Revenue Cat all events were green and in event logs it was indicated that Singular successfully accepts the events.The problem was that we couldn’t find any rc_events on Singular Events page. We had raised a problem with Singular support and they confirmed that Reporting API key should be used as API key. After a few days they again replied to us saying that this is wrong and SDK API key should be used instead.Would be nice to have more clear explanation on docs page regarding this issue. IDFA for iOSWe don’t ask our users to provide access to IDFA, so we only collect IDFV. In your official integration with Singular if c
Hi, recently in one of our apps the integration between RevenueCat and OneSignal is failing, im aware of the changes in the API as stated here https://www.revenuecat.com/docs/integrations/third-party-integrations/onesignal#11-user-centric-api-versions-of-onesignal-110-and-abovewe have two types of problems first of all some of the request send empty bodies and some others return {"errors":[{"title":"No subscription with alias We have this integration working in two apps with exactly the same implementation, one is working fine and the other is always failing.as of today which type should we use with flutter and why one is failing?Here is a little snippet of the integration: final oneSignalUserId = OneSignal.User.pushSubscription.id; OneSignal.login(revenueCatUserId); OneSignal.User.addAliases(<String, dynamic>{ 'revenuecat_id': revenueCatUserId, }); await _corePurchases.setOneSignalId(oneSignalUserId!)Thanks.
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.