Get help with your SDK implementation.
Recently active
I have a app on the App Store with offer code for one subscription. If I send the user the URL with the code there is no problem. However. if a user installs the app then they can tap on the subscription that requires an offer code and there is no prompt to enter a code. They end up getting a free 6-month subscription. I want to use the offer code to limit who can purchase subscriptions. What am I missing? Is there a sample of offer code processing? I thought this would be all handled in the App Store since they provided the codes.
Hello,for the first time I am trying the integration with revenuecat for one of my apps (flutter) present on both stores.The goal is to remove advertising with one purchase only (non-consumable).The purchase works, the recovery after an uninstall works, but I don't understand how to managea refund: If the anonymous customer asks for a refund (or if I refund him), the purchase is always valid and isPro is always true.PurchaserInfo restoredInfo = await Purchases.restoreTransactions(); if (restoredInfo.entitlements.all['all_features'] != null) { isPro = restoredInfo.entitlements.all["all_features"].isActive;What am I doing wrong ?Thanks in advance.Enrico
Xcode updated to 13.2 for me overnight, and on subsequent compilation it complained that it can’t see the Purchases package for RevenueCat. I use version 3.12.6 of RevenueCat for iOS.I tried deleting caches and looking for latest version, but that didn’t seem to help.I tried deleting the package and reinstalling, but it just freezes at the “preparing to validate” stage- irrespective of whether I ask it to use version 3.12.6 or version 4.Any ideas?
We have recently launched promotional offers to our subscribers, and we know that some users have been purchasing them.Unfortunately, it seems that we do not see a transaction for a user purchasing a promotional offer in RevenueCat.We are effectively blind as to who has purchased an offer, and who hasn’t. This makes it difficult for us to provide support to users who have questions regarding payment etc.Question: if a user is not yet at the end of their existing subscription and they purchase a promotional offer, should we see the transaction inside the receipt and therefore in the RC dashboard immediately?
How can i Revenue cat Debug Log into any sheet or firebase. one of my user facing issue with subscription. now i want check revenue-cat log. and i don’t have any option to debug that case on my machine because user is not providing his credential.so i thinking to add debug log into bulid and provide that bulid to user. so i can read or check those debug log
I have 4 buttons in my app for subscription and one time purchases. In android when we click on button its immediately loads pay-screen but in iOS its take some time to show pay wall. How to show a progress dialog until pay wall loads? I am using like this below!onClick: () async{ await Purchases.purchasePackage(package!);}
Hello,I’m trying to grant users by writing to their userID, with a Webhook. When the Webhook triggers, and I get the original_app_user_id I search which user with this original_app_user_id is requesting a purchase, so I’m sure it’s this userID. ( see attached the code to query ) I update the original_app_user_id to the db right before I make a purchase from the iOS SDK by requesting purchaseInfo. Does it seems to be a good way to do it ? or I could face bad scenarios ? If a change might happens to the original_app_user_id will it be before, during or after the purchase ? PS: I’m using Transfer now (and before I used Aliases) Thank you, async function returnCurrentUid(original_app_user_id){ const querySnapShot = await fb.collection('in_app') .where('original_app_user_id', '==', original_app_user_id) .orderBy('request_date', 'desc') .get(); if (querySnapShot.empty) { return 'Unknown' }; const uid = querySnapShot.docs[0].id; return uid; };
I’m having trouble wrapping my head around what’s going on, but I’ll lay out expected results, and actual results below. Two Scenarios, two different issues. Scenario 1:Application is installed Anonymous user makes a purchase User logs into account RevenueCat.Login()Expected Results:The newly created user now has the membership entitlements. Actual Results:The newly created user does not have any entitlements until I restore purchases or attempt to purchase the subscription again. Important Notes:I tried out Revenue Cat about 5 months ago then came back to it now, so is it because maybe the user already existed from my old attempts causing the identities not to be merged? Scenario 2User A purchases Subscription Relaunch App User A RevCat Login User A RevCat Logout User B RevCat LoginExpected Results:Only User A has membership entitlementsActual Results:Whichever user logs in has membership entitlements
in flutter when i try to fetch offerings ,its showing empty list,but i added products in google play console and configured in revenceCat also,i dont know why its happning to me.
I have an app that is currently in the iOS App Store using RevenueCat for a one-time in-app purchase to unlock all the features.Current App • Version 4Bundle ID: com.example.version4I’m soon going to release version 5 of this app, but it’s going to exist side-by-side in the App Store with the prior version and have its own, new bundle ID.New App • Version 5Bundle ID: com.example.version5From within version 5, I want to be able to query RevenueCat to see if the user has a version 4 license so that I can upgrade them to version 5 for free.How can I check for the user’s prior purchase from within an app that has a different bundle ID?
When trying to make a purchase in the sandbox for Apple TV I receive ERROR: 🍎‼️ There was a problem with the App Store. To get around this problem I have to log out of my sandbox account on the TV and immediately log back in. This resolves the issue for 10 minutes or so when I then have to do the same thing again. Rinse and repeat. Outside of continually logging out and back in again, what can be done to more permanently solve this issue? This does not give me confidence to put something in production. Full error details: Optional(Error Domain=RCPurchasesErrorDomain Code=2 "There was a problem with the App Store." UserInfo={readable_error_code=STORE_PROBLEM, NSLocalizedDescription=There was a problem with the App Store., NSUnderlyingError=0x280058810 {Error Domain=SKErrorDomain Code=0 "An unknown error occurred" UserInfo={NSLocalizedDescription=An unknown error occurred, NSUnderlyingError=0x28007ba20 {Error Domain=ASDErrorDomain Code=500 "Unhandled exception" UserInfo={NSUnderlyingEr
A few weeks ago I was experimenting with transferring subscriptions if a user makes a logout or logs in with their login ("test1") from another device. Until recently, subscriptions were transferred to another device or login, but were canceled on the old login and device. Now I observe that it is enough to enter user Id on other devices and all devices will get a subscription, even if they have different google account. Anonymous ids are added to the "test1" account. So even those devices where the user left the account get subscriptions. It turns out that users just tell each other userid and everyone can buy a subscription to only onсe. How to restore the behavior where a user can use only one device and can't share a subscription only by passing his userid?
Context:My app has 2 subscriptions, monthly & yearly. They unlock the same content, so they are technically within the same “subscription group” as apple references them.The app has added one-time codes to the yearly subscription, which I made redeemable via Google Play (deep link from app to Google Play). Issue:The issue that I am having only happens to users who are currently subscribed (eg. to the monthly subscription) and redeem the (yearly) promo code via Google Play.Currently, to “upgrade” a user’s subscription, I have to provide `UpgradeInfo` to the `makePurchase` method. However, if the user makes a purchase/redeems a code from outside of the app, there is no way for me to upgrade from their current subscription. Questions:Listening to outside purchases:How can I listen to a purchases outside of the app to perform an “upgrade”? If I were to receive this outside purchase, how would I upgrade their subscription?Are there any other solutions to this that I may not be aware of?
I’m getting invalid product identifiers after updating the SDK to the latest version. RevCat was working perfectly before the update. Any suggestions on how to fix it or should I report it as a bug?
My Flutter app is showing a prompt to sign in with Apple when I call Purchases.checkTrialOrIntroductoryPriceEligibility on iOS. I found a related topic from a RC customer using the iOS SDK.The suggested workaround is to check if a receipt exists before calling checkTrialOrIntroductoryPriceEligibility. The Flutter SDK doesn’t seem to provide a way to check for receipts. Is there any workaround for me without writing custom iOS plugin code?It sounds like this issue only happens in the sandbox environment, but I’m concerned that my app will be rejected if the reviewer is constantly getting sign-in prompts.
Hi, documentation at https://docs.revenuecat.com/docs/purchaserinfo says that we should call getPurchaserInfo() any time a user accesses premium content.However, I can see that SDK updates its cache when app comes to screen.Is it still necessarily to call getPurchaserInfo() anyway?
Hi, We’re setting up Stripe on our webapp to work alongside our app. Now we’ve connected Stripe successfully through the dashboard and it looks ok there. But now when we want to save the receipt to RevCat is gives us this error: { "code": 7116, "message": "Invalid Stripe. Make sure your Stripe account is properly connected."} Don’t think the problem is the call itself, but here is the code: const _response = await fetch('https://api.revenuecat.com/v1/receipts', { method: 'POST', headers: { 'Content-Type': 'application/json', 'X-Platform': 'stripe', 'Authorization': 'Bearer ' + REVCAT_KEY, }, body: JSON.stringify({ fetch_token: _subscriptionId, app_user_id: _userId, }), });Is there any way to get some clearer debug logs on what exactly is wrong?
Hi, I’m going to outline my processes to easily create free trials and subscriptions for one device per google account. I am looking for advice on how to administer the subscription accounts and what pitfalls I may have, basically will my system work. Free TrialThe app is installed and on its first execute, RevenueCat creates an account for the app. Every time the app is executed the app will request the requestDate and check it against the current date, when the dates are more than 14 days apart the free trial will end. My trial time is currently hard coded in honesty I would not really change this time but I am aware I can grab this information from Google if required.I believe the requestDate does not change as its a static date when the account was created so it can be used for this process.Is there anything I need to know about using this date does it change at all ?Questions : I want to allow a one time only free trial unless I authorise a second trial but I don’t want the app
I have created multiple products within App Store Connect with the correct prices set in GBP. However when the IAP popup appears in the app the price is 10% greater that what I set in App Store Connect. For example one product has a price of £79.99 but when I try to pay for it in the app the price is £84.99. I am using the React Native SDK. IAP:App Store Connect:
At the moment I’m trying to read custom user attributes using the REST API.https://api.revenuecat.com/v1/subscribers/XXXXXXXXXXXXX'According to the following link this should be possible:https://docs.revenuecat.com/docs/subscriber-attributes#reading-attributesHowever; after a request I get the following data: without any attributes:{ "request_date":"2021-11-30T09":"16":09Z, "request_date_ms":1638263769288, "subscriber":{ "entitlements":{ "Pro":{ "expires_date":"2021-12-25T12":"38":30Z, "grace_period_expires_date":null, "product_identifier":XXXXXXXXXXXX, "purchase_date":"2021-11-25T12":"38":30Z } }, "first_seen":"2020-11-14T21":"10":39Z, "last_seen":"2021-11-29T15":"03":39Z, "management_url":null, "non_subscriptions":{ }, "original_app_user_id":XXXXXXXXXXXX, "original_application_version":1.0, "original_purchase_date":"2013-08-01T07":"00":00Z, "other_purchase
We’re seeing this issue when creating a subscription. I would think this is a RevenueCat Flutter SDK issue but not sure. Please let us know!
Hi, Atm we do not have the stripe subscription ID available in the Subscriber → subscription object. We want to be able to cancel them from our web funnel. Unless we’re missing something we’re not able to fetch the subscription ID directly through Revenuecat and we would have to save it somewhere in our backend. Is there a way to get the subscription ID through RevCat?
Hello,Offerings are not loading for our users.Some of our live users have been affected by this issue.This is what we are getting in the sentry dashboard. Also, Users who are affected by this issue have an active internet connection. So, that's not the case. This is what we are getting as logPlatformException(10, Error performing request., {code: 10, message: Error performing request., readableErrorCode: NetworkError, readable_error_code: NetworkError, underlyingErrorMessage: Unable to resolve host "api.revenuecat.com": No address associated with hostname}, null)Please help us ASAPThanks
I have followed all the instructions I can find, but I cannot get the Purchases framework to give me any offerings when running a debug build in the simulator against Xcode StoreKit testing.Offerings, entitlements, packages and products are set up I’ve set up my Xcode scheme to use the storekit configuration file (I also see three in the list, as mentioned elsewhere by another user - I’ve tried all three to no avail) RC product IDs match Xcode StoreKit config product IDs even though I’m just testing the Debug build that I don’t submit to Apple. I created an App ID for the debug bundle ID etc. in App Store Connect I’ve uploaded the StoreKit testing cert to RC I’ve set up an app-specific password on the IAPs for the debug build in App Store Connect and put that into RC My app has the In App Purchases entitlement in Xcode All my banking & agreements stuff is sorted out App Store ConnectThe things I am NOT doing:Running on a real device. Xcode StoreKit testing works in the simulator, d
We see that customers have a country associated. Is it possible to get customer country from RevenueCat information of the customer?
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.