Discussion and help from anything related to RevenueCat.
Recently active
Hi everyone,I’m currently improving the subscription setup for a few Unity-based iOS apps, following the RevenueCat UnityInstallation Guide.While testing with sandbox accounts on devices, I noticed an issue:If I include the App User ID in the Purchases script, the app assumes I’ve already made a non-consumable lifetime purchase. When I remove the App User ID from the script, sandboxed purchases work perfectly and the transaction shows up in the RevenueCat Overview with Sandboxed data. This brings me to my question:Should I include the App User ID when publishing the app to the App Store? What are the implications of not entering the App User ID? For example, would it affect RevenueCat’s ability to track future purchases or customers?Thank you in advance for your help!Cheers!-DJ
TL:DR - Purchases.setMockWebResults({ shouldMockWebResults: true }) - is not working.Since RevenueCat only works on a real device or an emulator - it is a real pain in the ass to test functionality and run Android Studio, it is lagging so much.If RevenueCat was at least “mocking” data in the browser - that would be so cool and useful to quickly iterate on the tasks related to it. And after reading documentation - I found that this method exists - but it literally does nothing, it still logs “Web is not supported”. Calling that method before or after “await Purchases.configure()” - is to no avail.Apparently nobody on the team knows how to fix or wants to fix it, since previous topics were ignored or evaded:firstsecond So either remove it entirely from the API, or fix it - because I consider that functionality is CRUCIAL.
Hi, unfortunately I didn't find the answer to my problem in other questions or in the docs.My app works like this: Users are always logged in and there are no anonymous ids ever, so I always have customIds Each user has credits and balances in a given period, and it's tracked in a third-party database The subscription gives credits each new period I'm using react-native-purchases, developing from android and ios So, to implement a restore purchase in the app, I need to do in two steps:RevenuCat: call ‘restorePurchases’ and identify the user that had the active subscription Third-party online database: transfer the credits and balances from the old user to the new userIf I don't do this tranfer, the bussiness logic is broken. I would just need to get the old user ID of revenue cat (transfered from) to do this, but that's where the problem is.In short'’’Revenuecat: Purchases.restorePurchases() Get old owner idThird party database: Transfer balances from old owner to new owne
I have implemented a monthly and annual subscription in my applications. In recent days, subscribed users have begun to complain en masse that their subscription is not active. If the user re-authorizes, it will work again, then in a week the situation is the same. After authorizations, I call the methods Purchases.logIn(vm.user!.uid);Purchases.syncPurchases();
We have been using subscriptions on Android and iOS for a while now with only an annual option, and that has been working fine. We are adding a monthly option, and during Android testing have noticed that if I cancel a yearly subscription, then attempt to purchase another subscription (yearly or monthly), I see the following error: PlatformException(6, This product is already active for the user., {code: 6, message: This product is already active for the user., readableErrorCode: ProductAlreadyPurchasedError, readable_error_code: ProductAlreadyPurchasedError, underlyingErrorMessage: Error updating purchases. DebugMessage: . ErrorCode: 7., userCancelled: false}, null). Any ideas? This is a production test scenario, on a physical phone with a valid google play account. We are only testing Android at this time.Thanks!
We are in the process of trying to get approved in the App Store submission process, but have faced a rejection due to a payment failure when the reviewer attempted to subscribe. While testing the payment process, we have encountered the following errors: “The receipt is not valid. The purchased product was missing in the receipt. This is typically due to a bug in StoreKit.” and “There was a problem with the App Store.”Are these issues associated with the Apple Sandbox environment when testing payment? From a bit of research, this seems to be the case. If so, how can we be approved by Apple if the only way to demonstrate the functionality of payments is by testing in Sandbox mode? In the review process, we received the following information: When validating receipts on your server, your server needs to be able to handle a production-signed app getting its receipts from Apple’s test environment. The recommended approach is for your production server to always validate receipts against
I am looking at two charts to find the correct number for New Subscribers on a monthly base.1. “Subscription Retention” which shows me the New Susbcribers as a base for retention on a monthly base.2. “New Paid Subscriptions” with a monthly breakdown and total SumThe charts show me different numbers (10-20% difference)Does anybody know why?
Some Transactions are missing please see the screenshots!i am losing subscribed users due to not receiving web hooks etc...as you see there is no yearly transaction on revenue cathere revenuecat panel
Hello, Is it possible to retrieve the email entered by the user during the payment on the web using the Billing RevenueCat feature? Thanks!
Hi. I’m BE developer and I see that prev dev used logic “first by platform” for user to determine subscription should be updated. It causes problems when user has 2 subscriptions.Can I use “original_transaction_id” to determine subscription in webhook event handler? Can it cause some problems? Is it ok if in some cases mobile users have 2 subscriptions? Like when they switch from plan to plan.
Hello,I’m trying to check if a user is eligible for an introductory price on Android to display the correct information, but I’m encountering issues. I’ve implemented the following code to check the introductory and free trial prices: val introProductPrice = product.subscriptionOptions?.introOffer?.introPhase?.price?.amountMicros ?: 0 val freeTrialPrice = product.subscriptionOptions?.freeTrial?.freePhase?.price?.amountMicros ?: 0However, I’m only getting the discounted price. When attempting to purchase the subscription, Google Play displays an text saying that I am not eligible for free trial and instead shows the regular price.Could you please clarify the correct way to check for introductory price eligibility, or if there is another method I should be using?Here’s what I have done:I created two subscriptions, let’s call them sub1 and sub2, both with introductory offers. When I attempt to purchase sub1, I correctly see the introductory offer. However, when I try to change my su
Anyone know how to pull in the app store icon? I released my app to the app store ~10 hours ago and it has not updated yet. Last time if I remember correctly, it was instant. Is there a toggle I have to click?
I’m using the paywall. I made some changes to my paywall and now when you click the call to action button on a real phone nothing happens. I don’t even know where to start lol. This happened before and i just recreated my paywall but this seems like maybe not a good long term fix.
I am testing purchases in sandbox. I have purchased a subscription before, and it has expired.When I go in to purchase again, `Purchases.purchasePackage` prints purchase successful immediately and returns nothing and stalls.
Hey,I’m building an iOS app and want to use RevenueCat for subscriptions, only IOS no other platforms. Here’s an examples:1. Basic Plan: $10/month for 50 image generations (resets every month).2. Premium Plan: $20/month for 100 image generations (also resets monthly). No tokens or consumable purchases, just max usage included in the subscription. Would appreciate help with these Q:1. Does Apple allow this kind of subscription with Max usage limits, or should we use a subscription plus consumable tokens for this scenario? I prefer to not use the consumable tokens.2. Can RevenueCat handle tracking and resetting these usage limits monthly? OR do I need to manage this on my backend, or can RevenueCat do it?3. Any advice on setting this up?Thanks
Is there a way to show a different paywall on iPad if the same layout does not good or functional on all devices and screen sizes? Using Targeting + Custom attribute is unlikely to do the job as the same user might have several devices. Any other solutions?
.
We’re distributing our apps on common Android devices with Play Store, but also on devices without any Play Services. We’d like to offer a custom paywall that redirects to Stripe on these latter devices.Are there any API’s available through RevenueCat that help in this case? Even figuring out whether RevenueCat can connect to the Play Store would help.
thanks in advanced
Hello, I’m trying to connect RevenueCat → FireBase integration and I have several errors and no understanding When I use LogIn(Firebase Analytics ID), I have an error: Invalid API Key., readable_error_code: INVALID_CREDENTIALS, message: There was a credentials issue I just skipped this step and just connect Firebase ID: FirebaseAnalytics analytics = FirebaseAnalytics.instance; purchases.Purchases.setFirebaseAppInstanceId(instanceID); But then I receive events from RC only from Android, no ios So possible it’s a some bug with a Flutter for Firebase integration. I haven’t found a solution The next problem is that RC events to Firebase is “purchase” for Cancelation, Purchase, Error etc. But how to understand if the user bought a Lifetime subscription? Yes, I can get rc_trial_start event for Trials, but how to get it for just purchases? I can’t use it for Google Ads for example Would love to receive a help!
New iOS and RevenueCat developer here, and I’m converting a paid app to subscription. I’ve read this article, and gone through the PurchasesHelper code. To help me understand better, and so it’s easier for me to maintain later on, I prefer not to simply copy and paste code. So I’ve done my best to write this my self. Since it’s difficult to test properly in a sandbox environment (or is beyond my technical know-how) and the importance of getting this right on the first try, I was wondering if someone can take a look at my code below and let me know if this will work in production: In my app struct, I have: @mainstruct MyApp: App { init() { Purchases.logLevel = .error Purchases.configure( with: Configuration.Builder(withAPIKey: AppConstants.apiKey) .with(storeKitVersion: .storeKit2) .build() ) Purchases.shared.delegate = PurchasesDelegateHandler.shared } var body: some Scene { WindowGroup { Co
When using `presentPaywall` with React Native there seems to be no way to pass in error handlers or any other listeners. Is there a way around it?
Is there a way in RevenueCat to see my monthly or weekly revenue growth rate as a percentage? E.g. if I made $100 January, $110 in February, and $121 in March, I would expect to see the chart flat at 10% monthly growth. If not, do you think that would be useful? I’d love to see it.
Hi, I have a feature with the title ‘Share workouts with friends or trainees (Coming soon)’, but like to have the ‘(Coming soon)’ part on a new line (not a new feature). So like:Share workouts with friends or trainees (Coming soon)Is this possible? Is it possible to add a line feed or/and carriage return character in the title to accomplish this?Regards,Peter
Why on Ios I can see in_app_purchase event, but can’t see it from Android? I use flutter, and Superwall for ios (because it doesn’t work for Flutter on android). But I use RevenueCat as a main thing, superwall just in sync after RC
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.