Discussion and help from anything related to RevenueCat.
Recently active
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?
So , I've been trying to get the paywall_ui working in my Flutter project. Using:purchases_flutter: ^6.29.2purchases_ui_flutter: ^7.0.0-beta.1I’m able to show a paywall perfectly fine. So, after the set-up, I was hoping to use PaywallVIew to call some methods based on events. But the specified options, like “onPurchaseCompleted,” didn’t exist for this version of the plugin, which seems odd. In an attempt to resolve the issue, I reverted to purchases_ui_flutter: ^6.29.2, which does include the options I needed in PaywallView.Now the problem is that while trying to build the project I get this error and the build fails.e: file:///Users/apple/.pub-cache/hosted/pub.dev/purchases_ui_flutter-6.29.2/android/src/main/kotlin/com/revenuecat/purchases_ui_flutter/PurchasesUiFlutterPlugin.kt:96:16 This declaration needs opt-in. Its usage must be marked with '@com.revenuecat.purchases.ui.revenuecatui.ExperimentalPreviewRevenueCatUIPurchasesAPI' or '@OptIn(com.revenuecat.purchases.ui.revenuecatui.Exp
Context:We are currently facing issues with our in-app purchases that have not yet been approved and are still in the "Ready to Submit" stage in App Store Connect. We are currently using the getOfferings method from the React Native IAP library, react-native-purchasesCurrent Setup and Observations:StoreKit Configuration Testing: When testing with the StoreKit configuration on the Simulator, transactions go through successfully and are visible in RevenueCat. This indicates that our setup and integration with RevenueCat are functioning correctly in the simulator environment. App Store Connect Sandbox Testing: When testing using the App Store Connect Sandbox, by navigating to Settings > App Store > Sandbox Account > Test Transactions, the subscriptions appear in the test accounts as expected. However, these sandbox transactions do not show up in the RevenueCat Recent Transactions. This is a critical issue for us, as we need to ensure that transactions are correctly logged and v
Lately, a few of my users from Mainland China have emailed me about possible purchase failures with my app. However, at the same time, users from other countries (Malaysia, Brunei, Taiwan) can still make purchase, so I suspect it might be something to do with China’s latest policy to block Chinese users from making in-app purchases? For the information, the last Chinese user that was able to make in-app purchase was from two months ago (2024-04-05) and according to the ‘China Firewall Test,’ api.revenuecat.com seems to operate well. So my question is, has anyone been in a similar situation and solved the same issue? Thanks. Info:react-native version: 0.71.8 react-native-purchases version: 7.5.1 sandbox testing passes (but no sign-in prompt for me to sign in to the sandbox account) no debug log or error code for now platform: App Store
Hi,I have an existing Flutter based, iOS and Android app which I am now working on deploying to Web. Since RC Flutter purchase SDK unfortunately does not support web, I integrated Stripe and am now working on connecting/syncing the Stripe purchases to RC since RC validates in app that a user has an active subscription.My app offers both in app one time purchases as well as subscriptions. I have created both in Stripe and linked in RC. I installed the RC App for Stripe as documented.Now I am uncertain about the following:Will any purchases (one time AND subscriptions) automatically snyced to RC via the RC Stripe App? If yes - Does this only work in Live Mode? How would I go about testing it best if Stripe TEST Mode is not supported? Setting all products to 0$ or 1 Cent seems misleading. If No - If the RC App for Stripe does not do so and I need to implement my own webhooks and inform RC via their Webhook, than I would not understand what the RC App for Stripe Does. Just to make sure:
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 have a quasar app that uses capacitor to create iOS apps. I am new to Revenuecat and trying to figure out the installation flow. The only relevant docs I see are the react or iconic/capacitor apps. I would think I need a vue flow, though. I see this, but the link to the vue doc goes to the Iconic/React docs.
purchases_flutter: ^6.29.0purchases_ui_flutter: ^6.29.0platform :ios, '12.0' (Podfile, pod install issues if trying to raise to ‘15.0’) Too much space above packages, how can I get rid of it? Seems to be some padding? Template 5 (was forced to set title + 1 feature): Code:void presentPaywallFooter(BuildContext context) async {final offerings = await Purchases.getOfferings();final offering = offerings.current; showModalBottomSheet(context: context,builder: (BuildContext context) {return PaywallFooterView(offering: offering,onPurchaseStarted: (Package rcPackage) {debugPrint('Purchase started for package: ${rcPackage.identifier}');},onPurchaseCompleted: (CustomerInfo customerInfo, StoreTransaction storeTransaction) {debugPrint('Purchase completed: ${storeTransaction.transactionIdentifier}');},onPurchaseError: (PurchasesError error) {debugPrint('Purchase error: ${error.message}');},onRestoreCompleted: (CustomerInfo customerInfo) {debugPrint('Restore completed');},onRestoreError: (Purchase
Is there any way to set a custom attribute(e.g. email) to a customer via Web SDK?
In the documents has been mentioned: Android purchases can be refunded directly through the RevenueCat dashboard. I have performed a sandbox purchase (non-recurring, non-subscription) within the android/flutter app. The purchase was successful and I can see the purchase in RevenueCat dashboard ( customer: $RCAnonymousID:bfe8546d439b47bd849b2235e93f0e59 ) but there is no “refund” button neither in the dashboard overview page nor in the customer profile page. (From the logs:) 💰 Consuming purchase with token phibohcmjclffkpkopkjlbag.AO-J1Ozy9REJrpu5UcdtOteFugJtIsyz1xvq2566sMpGjELrSLh_N1QhoGjE9D82o7yt4qJRVjpbIt4MQm8Ofnmalg6fEBx2zg
Can I use entitlements to check whether a user has access to 1 of 1000 products?If I have 1000 products, each with a unique ID, can I programatically add the product ID as an entitlement when a product is purchased?Then I will know the user has access to that 1 product for life.
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
I wonder what would be the best and easiest way to implement a discount on RevenueCat and iOS:Currently I have a yearly subscription with a 1-week free trial. And I have a bunch of users, new ones and churned, that I want to target. I would like to run a promo within the app and offer them -50% on their first year.Should I create a Custom Offer Code, like "SALE50" and redirect them to App Store to redeem it?Or should I create a new subscription with an Introductory offer (for new users). And add Promotional offer to existing subscription (for churned users)? Which solution would be easier to code / implement / maintain from RevenueCat's perspective? (I read that the current Offer Code's implementation in the App Store can be buggy)Thanks in advance!
I am trying to integrate Revenue cat in my React native android project but cannot get rid of this error [TypeError: Cannot read property 'setupPurchases' of null]please provide me steps to solve this error as i have gone through all the above steps read articles watched videos implemented example and in every thing this error is common please help on this @React native team , @ Revenue cat community
Good afternoon Please tell me, for auto-renewable subscriptions we used the SwiftyStoreKit library, now we are close to switching to Revenuecat. A question arises, SwiftyStoreKit has a method SwiftyStoreKit.completeTransactions() If there are any pending transactions at startup, they will be reported by the completion block so that the application state and UI can be updated.If there are no pending transactions, the completion block will not be called. How is this issue resolved here?
Hi. In my app I am calling the paywall when the user reaches more than a certain number of rows. Let's say 2. Then I present the paywall. After a successful purchase I have to close and re-open the app in order to trigger the valid subscription to allow more entries. How do I fix this inline at the time of the purchase. .sheet(isPresented: $isShowingPaywall) { PaywallView() }Here is my save code where I trigger this. func save() { let bgcolor = selectedColor.toHex() ?? "#FFFFFF" print("Before SubscriptionActive: \(userViewModel.isSubscriptionActive)") let isSubscriptionActive = userViewModel.isSubscriptionActive // print("AFter SubscriptionActive: \(userViewModel.isSubscriptionActive)") // Retrieve the total count from UserDefaults var totalCount = UserDefaults.standard.integer(forKey: "TotalCount") // print("total count in beginning of save \(totalCount)") // Check if it's th
Hello:I have a migration script - is it safe to call this endpoint multiple times for the same user (just in case something goes wrong on my end) Thanks,
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
How can we support web redemption of a coupon and redeem create with firebase auth a lifetime entitlment based on coupon and no card needed… basically we use revenuecat for iOS and Android like veryone else but we are kicking off a lifetime deal where users buys access for lifetime and then they get a coupon to redeem similar to appsumo.com does one page we are listing so we get exposure but we struggle to find out how with the docs… any idea and also we dont want to ask card etc for the people who redeem a coupon. Help appreciated.
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!
I have created promo codes within the App Store per Apple’s instructions. I am able to give the user a code and they’re able to redeem the code for a consumable IAP. However, the consumable product never gets called in my app. How can I check that the user has used a promo code to credit their account with the reward?
I’m trying to test making a purchase on iOS but the purchasePackage method just hangs and does not resolve or throw and error. I’m currently using a physicial device with iOS 17.4.1, I’m using capacitor in vue 3 with @revenuecat/purchases-capacitor 7.5.9. My xCode is 15.2. I’m able to get the offerings no problem and pass it to the purchasePackage method but nothing happens, the payment sheet does not appear. I left if for like 10 minutes and it still did not appear or throw an error. Any help would be appreciated
Hello, I’m close to finishing development for a new app. I want to give all new users Lifetime PRO for free without having to go through a paywall as some users will reject it even if it says FREE on apple’s confirmation modal.
I have the following error when I run the SwiftUI application on the devise (iOS) or via the iOS simulator:---🍎‼️ Error fetching offerings - The operation couldn’t be completed. (RevenueCat.OfferingsManager.Error error 1.)There's a problem with your configuration. None of the products registered in the RevenueCat dashboard could be fetched from App Store Connect (or the StoreKit Configuration file if one is being used). More information: https://rev.cat/why-are-offerings-empty---How I initialise the RevenueCat SDKimport SwiftUIimport RevenueCatimport RevenueCatUI@mainstruct SpeedApp: App { init() { Purchases.logLevel = .debug Purchases.configure(withAPIKey: "...token...", appUserID: "1") } var body: some Scene { WindowGroup { ContentView() } }}My setup:RevenueCat and AppStore App configuration have same bundle ID. Product id for the subscription in RevenueCat and AppStore the same (I’ve loaded the products in RevenueCat via the App Co
Hi there,Apologies if this has been asked already - I was trying to create an App Store Connect API Key to connect RevenueCat as per this App Store Connect API Key Configuration | In-App Subscriptions Made Easy – RevenueCat However, Apple shows this message when generating the key saying it cannot be used with Third Parties. I am concerned that RevenueCat will be considered Third Party and break this term and condition. Am I being overly paranoid? 😄 Is this something a dev shouldn’t be worried about? Thanks so much!
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.