Get help with anything related to RevenueCat.
Recently active
Hey friends! I have recently released an app on open testing (beta). When my users purchase a subscription, the google play initiates the purchase, the payment gets processed and the money gets deducted. After successful payment, it gets redirected to the app and the subscription is not seen active on the app. When i try to pay again for the subscription the playstore says you already have an active subscription. The transaction is shown on the play console dashboard also. But there is no update in the revenue cat. The customers list remains zero on my revenue cart dashboard. What should I do now?
After receiving an email from Apple about their new ‘Base price’ functionality for In App products I have adopted prices accordingly and set the base prices. However...Now ‘getOfferingsWithCompletion’ no longer delivers those products to my app in Sandbox mode, but it (still) does in Production mode at the moment. I have not changed any IDs, all contracts are signed, I checked that everything is fine, but still no luck.All I have changed in App Store Connect is: enabled Base Price functionality for the products, adopted prices accordingly. Absolutely no other changes, neither in my code, nor on App Store Connect.Anybody else seeing this? Any help is much appreciated.Console output:2023-03-10 14:02:20.935490+0100 my3E[16682:3200389] [Purchases] - DEBUG: ℹ️ No existing products cached, starting store products request for: ["my3e_tip_2", "my3e_hide_nag", "my3e_01months_ar_nfs", "my3e_12months_ar", "my3e_tip_1", "my3e_12months_ar_nfs", "my3e_tip_4", "my3e_tip_3", "my3e_01week_ar_nfs", "my3
I want to have a system like netflix where I ask users to log in with email and using my custom auth backend, store the user info. So user logs in on iOS device and purchases the subscriptions, and now can login to android device and get access to pro features (or vice versa). Achieving this so far is not the problem. The problem comes with the discrepancy where the source of truth of purchases is linked to the android or iOS account and not my app’s login.So imagine, customer A logins in android device with email - abc@email.com, and is also logged in his android id with the same email id, which is fine. But now if he logs out of my app and then log back in with another email id, say xyz@email.com, technically he should not have pro subscription. and since RC also stores both these users as separate account, the data I get from RC treats the user with xyz@email.com as a non-pro user.But now if the xyz@email.com tries to purchase the subscription, he will get an error saying - You’re a
Hi, I’m getting an error when trying to retrieve offerings from my StoreKit config file when running my unit tests. Current Setup: Tests scheme with a Unit test host app as the executable. RevenueCat Error: [Purchases] - ERROR: 😿‼️ There is an issue with your configuration. Check the underlying error for more details. 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-emptyUnderlying Storekit Error:[Default] [StoreKit] Failed to get products through appstored in simulator, will try using appstoreagent on host mac: Error Domain=ASDErrorDomain Code=950 "Unhandled exception" UserInfo={NSLocalizedDescription=Unhandled exception, NSLocalizedFailureReason=An unknown error occurred}Please can someone advise what might be going wrong here? Thanks!
If yes do I need to configure it somewhere in Play Store Console ?
Hello,How could I get alias for a purchased user from CustomInfo model class? I looked it up and just found `originalAppUserId` and cannot find any alias fields.I invoked Purchases.getCustomerInfo(), but I can’t find alias here.Please help me!
HiI have set the RC id linked to my users accounts’ unique identifiers and I thought that was ok. So the RC accounts are linked to my app accounts (a user, theoretically could have one account with subscription and another without it, imagine like a user having a professional Dropbox subscriptions and a personal one accessed via the same device)But after an Apple rejection when they asked me to make possible that users conserve their subscriptions even if they upgrade phone, then I’m questioning myself if this is the right approach. It seems that, as subscriptions can only be cancelled via the stores menu, then all the accounts accessed via the same device would act the same.Is this the “standard” way to make it work? Subscriptions linked to Stores accounts and not to my-app accounts?I don’t have a preference, 99.9% of the cases my users will have just one account. I just want to make my app compliant and to make it work in the standard way.
We’ve been using RevenueCat entitlements client-side with some success. That’s great.We’re now trying to integrate this with our backend to control the nature of the push notifications we do and do not send (and/or what the content of that push notification is).Yes, we have the webhook set up, and that works fine. But how do we sync our backend with the RevenueCat entitlements to, effectively, catch up on which users are already entitled? (I don’t really want to know the individual subscription/product for which people have signed up, just who is entitled to what.)There are endpoints to query a particular user, but that seems horribly inefficient to say “hey, we want to do a push for these thousands of members, so let’s query them, one at a time, to see if they still have that entitlement.” There is a CSV download for customers, but that does not appear to have all the entitlements in it. (Also, that “CSV” is actually semicolon delimited. What’s up with that?)So, bottom line, is there
Error: There is an issue with your configuration. Check the underlying error for more details. 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) I get this error sometimes and it fails to fetch offerings. But it resolves on its own after sometime. Please help resolve this as I would be going for production soon.
So currently, I need to implement restore purchases if the user was previously subscribed. I understand Revenue Cat’s API in which it checks entitlements -- (Does this work for offerings btw?) I was going to show a restore button to the user if they qualify (as suggested by apple) which would trigger the function on click. However, my app has NO login credentials. Given this, I only have info such as device id, how can I make a conditional that shows whether the restore button is shown to the user or not?
To make diagnosing issues as easy as possible, we are thinking of logging errors (as documented in https://www.revenuecat.com/docs/errors) into Sentry.Our main concern is potentially storing sensitive info like Payment Details, etc. Is this a valid concern? Or are errors guaranteed to be safe to log?
Hello, I have got this e-mail from Apple:“ Your Apple Pay Payment Processing Certificate is set to expire on January 5, 2023. This certificate is required to encrypt the Apple Pay Token. If you don’t update the certificate before January 5, 2023, customers will be unable to use Apple Pay listed under merchant.<my app>.To successfully update this certificate, please reach out to your Payment Service Provider or, if the payment token is decrypted by you, follow these instructions" Do I need to perform any actions in my RevenueCat configuration?I can not find any documentation for this situation.Thanks for helpSlawek
Hi folks.I’m developing a iOS Flutter app that is available, among others, in USA and Spain.TL;DR: I’m having correct/incorrect prices on my Consumable purchases depending on the Region The long story: I have a paywall for my PRO subscription that it’s working well, showing the same prices I’m configuring in the App Store Connect UI for the different subscription options (depending on subscription duration). AFAIK this is true for all regions I’ve tested.But now I’m developing a new paywall with three consumable purchases that essentially represents bulk PRO license packages (25 PRO licenses, 50 PRO licenses and so on).The main issue here is that when I’m showing the new paywall using Spain region (the main one) the configured prices doesn’t corresponds to the ones configured in App Store Connect. More precisely, all prices are incremented by a nearly ~10% percent. The currency (EUR) looks good.But the same code & config on the iOS simulator (an “stock” iPhone 13 with iOS 15, I hav
I want to create a feature in my app that g9ves a user a free month for free “unlocking premium” if the user invites 3 “friends”. How can I make this happen? When I got on Apple Store Connect It only lets me add a free month at the start of their subscription
Good day… I am trying to ensure that when a user cancels their transaction (ie. is shown the iOS wallet / purchase sceen, clicks cancel) they are not provided with benefits of a subscribed user. At this time, I am following the suggestion of the example weather app which uses the below method… @Published var customerInfo: CustomerInfo? { didSet subscriptionActive = customerInfo?.entitlements[entitlementID]?.isActive == true }}How is a subscription active if they have cancelled the transaction and the transaction is nil? (lldb) po customerInfo?.entitlements["hb-2022-premium"]?.isActive▿ Optional<Bool> - some : true (lldb) po transactionCancelledtrue (lldb) po transactionnil
I have promo codes that I created on google play for my user. With this code, the user can use 3 months free of charge. When the user logs in on another device, I can't get the information that the user is in the trial period. Therefore, the purchase screen appears again. how can i solve this. I understand from the code below that the user is a premium member. Future updatePurchaseStatus() async {final purchaserInfo = await Purchases.getCustomerInfo();final entitlements = purchaserInfo.entitlements.active.values.toList();_entitlement = entitlements.isEmpty ? Entitlement.free : Entitlement.premium;if (entitlements.isNotEmpty) { _entitlementInfo = purchaserInfo.entitlements.active.values.last;}notifyListeners();}
I was testing my app tonight making sure changes were working and I went to test my subscription button in iOS. When I click it, it pops up an error that I have a problem with my configuration. I haven’t changed anything in the code. I did, however, set my prices to increase today (March 1st). Does this cause problems with RevenueCat? Is it something that will resolve on its own? I have found nothing to help me. Everything has been working great for the past week and it just tanked tonight.I have verified that everything works great with Google. My Apple products are not found for some reason. I even deleted my project and set it back up. Nothing. I have nothing to sign for Apple in my App Store Connect account.
According to the docs (https://www.revenuecat.com/docs/creating-offerings-to-test) it’s best to “use distinct Subscription Groups on the App Store for each RevenueCat Offering when testing”.This seems like things would get out of hand? Here are the issues I see:Each subscription in a subscription group has a unique product_id. RevenueCat suggests we use the following format: rc_2999_1y_1w0. These ids can’t be duplicated across subscription groups. So you would never be able to test the same setup in a new group. Should I be adding a new annotation to product ids if I want to use experiments? Something like: rc_2999_1y_1w0_exp1 Apple doesn’t seem too keen on you offering multiple Subscription Groups as there is a warning that pops up. I guess RC makes sure that a single user never sees multiple offerings… but what if that person were to sign out and back in with a new email? And they see the other offering? Couldn’t they end up purchasing a subscription from the other group at that po
The [docs](https://www.revenuecat.com/docs/webhooks#webhook-events) don’t mention about the event type when a promo code is used for a subscription. As soon as the user redeems a code, I want to get a webhook event so that I can update user’s data on my backend. How can I then do it?
I used an offer code to purchase a monthly subscription. However, RevenueCat is showing the value as 0 as opposed to £3.99. { "app_id": “removed", "app_user_id": "removed", "currency": "GBP", "entitlement_ids": [ "fullaccess" ], "environment": "PRODUCTION", "event_timestamp_ms": 1628613642804, "expiration_at_ms": 1631292033000, "is_family_share": false, "is_trial_conversion": false, "price": 0, "price_in_purchased_currency": 0, "product_id": “removed", "purchased_at_ms": 1628613633000, "store": "APP_STORE", "takehome_percentage": removed, "transaction_id": “removed"}
I have the following code, essentially straight from the documentation using react-native-purchases const PackageItem = ({ purchasePackage, setIsPurchasing, styles }) => {const {product: { title, description, priceString },} = purchasePackage; const navigation = useNavigation(); const onSelection = async () => {setIsPurchasing(true);console.log('being Purchase');try {const { purchaserInfo } = await Purchases.purchasePackage(purchasePackage);console.log('try purchase...');if (typeof purchaserInfo.entitlements.active['Pro'] !== 'undefined') {console.log('User has All Access');// navigation.goBack();}} catch (e) {if (!e.userCancelled) {console.log('error: ', e);Alert.alert('Error purchasing package', e.message);}} finally {setIsPurchasing(false);}};``` When I click on the subscribe button, I go through the dialogue and sign in and the subscription starts to process. However, once it begins to finish the transaction, it stops at the ```if (typeof purchaserInfo.entitlements.active['P
My my app got approved on the App Store 36 hours ago and was released to the public at that time. Subscriptions work perfectly in TestFlight, but when using the app downloaded from the App Store I get a message saying “None of the productions registered in the RevenueCat dashboard could be fetched from App Store Connect (or the StoreKit Configuration file if tone is being used). More information: https://rev.cat/why-are-offerings-empty”. I took at the site and everything checks out - all necessary agreements have been signed on app store connect, the subscriptions are in an “approved” state, the product identifiers match, and I’ve waited longer than 24 hours. Has anyone been in a situation similar to this? Do I just need to wait a little while longer?
We’d like to get purchase information about all the users we have in our database. For that, we need to join on the app_user_id. In some cases, it appears as an Alias on RevenueCat. Is there a way to export those aliases, either in the ETL or in the csv exports?
The context is TRANSFER webhook event. I assume the two lists always have the same length. So we have a one-to-one transfer map, like transferred_from[k] to transferred_to[k]. Is my assumption correct?
Hello, Platform: iOS (Swift). Based on: https://www.revenuecat.com/blog/engineering/implement-apple-family-sharing and https://www.revenuecat.com/docs/apple-family-sharing We’ve enabled Family Sharing: set up in App Store Connect ✅ Initialize the SDK as early as possible in your app flow so that transactions in the queue are detected right away. ✅ On the sandbox we tested the following with correct result: Purchase a subscription. Let it expire naturally. Go to Settings > App Store > Sandbox Account > Manage Subscriptions > and subscribe again. This will generate a new transaction that shows up in the queue as soon as you re-open the app. Paywall disappeared as expected ✅We also implemented Restore purchase. ✅ Yet on App Store family members who access the app see the paywall and restore purchase doesn’t help. ❌ We are looking for an advice about what we may be missing here?
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.