Get help with webhooks, third-party integrations, and attribution providers.
Recently active
Is it normal for webhooks to only be sent when you open the paywall in your app? I’m testing on Android. Apparently, you get renewals in 5 minutes, but nothing happens until I actually open the paywall in the app.
The documentation says “The subscription has set to be paused at the end of the period. Please note: You should not revoke access when receiving a SUBSCRIPTION_PAUSED event, but only when receiving an EXPIRATION event (which will have the expiration reason SUBSCRIPTION_PAUSED).”However, an EXPIRATION event is never triggered. Is this just an issue with sandbox?
Hello, I think I’ve integrated RevenueCat successfully, but I'm encountering an issue with downgrades I use Firebase to store user credits, and Cloud Functions trigger updates based on events.The problem is that RevenueCat sends an "Initial Purchase" event when a user downgrades their subscription. This event doesn't differentiate between a new purchase and a downgrade. As a result, my Cloud Function awards credits to users even when they downgrade, which isn't the desired behavior.I think it would a good idea to indicate in the event what type it is.Or am i missing something ?Thanks
I’d like to get a better understanding of the stripe integration.So far I’veConnected stripe and RevenueCat as described here: https://www.revenuecat.com/docs/web/connect-stripe-account Created a webhook for stripe in which we post to the RevenueCat receipts APIAre both of these necessary? Do we need to tell the RevenueCat receipts API about a purchase, or can RevenueCat get this information from the connection created in my first bullet point above?What does the connection do versus what does telling the receipts API do? Can I get an explanation on how these two things work together?
I want to optimize a facebook campaign for the "Subscibe" event (user purchased abo).The Revenuecat Facebook integration made that event available in the Facebook Conversion Api, but it doesn't seem to work for IOS users who did not accept the ATT prompt. Here @tina claimed that the events are still being sent to Facebook but without the IDFA, if so are the events still maybe unusable for the Campaign because Facebook doesnt know how to map the Subscribe Event to the according Campaign perhaps?
I’ve been reading docs for hours and hours. I’ve read this post: https://www.revenuecat.com/docs/stripe To accept stripe payments I can use a Stripe Checkout (https://stripe.com/payments/checkout) It’s a stripe payment page hosted by stripe which prevents me from having to set up my own payment server. Here’s where I’m lost. After I receive a payment, I have to “Send Stripe tokens to RevenueCat”. How do I do that? I can’t figure out how to initiate a POST request from Stripe Checkout that sends the required info to Revenuecat. Here’s what I have to sent to Revenuecat… curl -X POST \ https://api.revenuecat.com/v1/receipts \ -H 'Content-Type: application/json' \ -H 'X-Platform: stripe' \ -H 'Authorization: Bearer YOUR_REVENUECAT_STRIPE_APP_PUBLIC_API_KEY' \ -d '{ "app_user_id": "my_app_user_id", "fetch_token": "sub_xxxxxxxxxx" }' Any help would be greatly appreciated. Chris
Hello, we set up the Firebase - RevenueCat integration. Now my question is, if trials also fire the “purchase” event in Firebase or do they only fire the “rc_trial_start” event?Docs: https://www.revenuecat.com/docs/integrations/third-party-integrations/firebase-integration#events Kind regards,Marius
Hi,When reviewing events in Amplitude that I get with RevenueCat integration I noticed some event properties are doubled with ‘$’ and without. For example $product_id and product_id contain the same info.Which of these properties should I rely on when, for example, filtering data in Amplitude?Thanks!
@kaitlin This is the second post related to the same issue: This time, I’m a 1000% sure there is an issue on the RevenueCat part of the integration.I did tests and when RevenueCat sends an event to MixPanel or update my users profile in MixPanel it also changes the User’s location to its servers location: Ashburn, Virginia, USA.The support team has not been able to help me fix it yet and that’s why I’m here again, to try to reach more people from RevenueCat’s team to help me escalate this.To all RevenueCat users, please if your source of truth is MixPanel and you need to know where are your users from, I suggest you to review correctly the information, compare your events location vs the user’s location in MixPanel, if they are different and the user’s location is Ashburn Virginia USA, I request you help me bump this post.Thanks all in advance.
Hello, I am trying to setup Apple Server Notification Forwarding. I can verify that I am getting a notification forwarded to my api route, but I am having trouble parsing the response. When I try to verify the signedPayload against the in-app-purhcase-key I always get the JONSWebTokenError.The I am using the same .p8 key that I uploaded to revenue cat. Any suggestions? export default async function handler( req: NextApiRequest, res: NextApiResponse) { const signedPayload = req.body.signedPayload console.log('the signed payload', req.body.signedPayload) if (!signedPayload) { return res .status(400) .json({ error: 'Signed payload not found in request body' }) } // Verify and decode the signed payload using your App Store public key // const publicKey = // '-----BEGIN PRIVATE KEY----- *** my key ***-----END PRIVATE KEY-----` console.log('private key', privateKey) let decodedPayload try { decodedPayload = jwt.verify(signedPayload, privateKey) } catch (error)
I installed the RevenueCat’s SDA on Stripe. Assuming Platform Server Notifications are set up and revenuecat is receiving confirmation of subscriptions almost immediately after they are made through iOS/gPlay, how long does it take revenuecat to update stripe and inform stripe the user is subscribed?
I noticed that when retrieving the CustomerInfo object form the REST v1 api there is a ‘store_transaction_id’ included for each subscription and non_subscription object. This field isn’t documented in the CustomerInfo documentation. Can you clarify what it refers to? I’m hoping it refers to the original_transaction_id so that I can use it to correlate subscriptions with event hooks as I’ve seen other developers ask for numerous times. For transactions in the sandbox this number is not unique but I assume that’s just a feature/shortcoming of the sandbox environment. Can someone confirm?
I have this error while purchasing any package in flutter.every thing is okay i have added bank accounts in appstore and created subscriptionsand i connect my revenuecat with appstore.i can fetch offerings which retrieves successfully.but when i am going to purchase any packagei get this.a have also set storekit configuration on to test in simulator 14+PlatformException(2, There was a problem with the App Store., {readable_error_code: STORE_PROBLEM, underlyingErrorMessage: An unknown error occurred, message: There was a problem with the App Store., userCancelled: false, code: 2, readableErrorCode: STORE_PROBLEM}, null)
Hi,It has been 6 hours since we received a purchase event from the Google Play Store. Is there any way to access technical support in RevenueCat?
Hello all!It’s been more than a year since we notice that all the users that had a Profile Location of Ashburn, Virginia, US had a wrong location information. There is something that is changing our users location to Ashburn and is not us.We’ve reviewed this issue with our tech team and none of the events that we send from our server are changing the users location. We have also identified, with the help of MixPanel’s Support team that this location changes when a RevenueCat event is sent to our MixPanel.I’m using this channel because RevenueCat’s Support team takes weeks to answer and I wanted to know if there are more cases like us out there so that we can push together to get this fixed.We use MixPanel as our source of truth and we have many cases of with this issue, specially hurts because we are running a paid marketing campaign and we don’t really know if the new subscribed users are comming from the US or if they are more Ashburn cases. I know we can filter them, but that’s not
Hello!We use MixPanel as our source of truth and we have created a cohort with certain filters to get all the active subscribers. We have followed the same filters as RevenueCat but still the numbers doesnt quite match:Active Subscriptions shows the number of unexpired, paid subscriptions at the end of each period charted.For the current period, the number indicated is the current active subscriptions. Subscriptions that have auto-renew disabled are still counted in Active Subscriptions. Refunded subscriptions are counted as active between their start date and their refund date.Active subscriptions is important as a measure of the number of individual, recurring relationships you are currently serving and is a proxy for the size of the business. So I would like to know if there is someone how has made a cohort or report that gives the same results as in RevenueCat that can share it with us.This is the cohort we created:RevenueCat - Active Subscribers CohortJust for you to know, we have
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!
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.