Discussion and help from anything related to RevenueCat.
Recently active
Hi,I’m a currently facing an issue in sandbox mode with renewal subscriptions in Android.When I purchase I get the activeSubscriptions property within the UpdatedPurchaserInfoListener(onReceived) but after some time, if I kill the app and relaunch it, the listener will return an empty activeSubscriptions.And still, after some time, killing the app again and relaunching it will give me the expected activeSubscriptions.This is happening before the subscription gets cancelled after the 6th renewal.So why do I get this empty activeSubscriptions property whereas the subscription is supposed to be active ? It’s really annoyingThanks for helping
I’m trying to set up Purchases on a watchOS app which has a companion iOS app.I thought I could consume a Swift package for multiple targets at the same time but as per this post on SO it’s not quite straightforward as I thought it would be.I followed Diego Carrera’s solution and added the Purchases framework in the Watch extension like this:General tab, and in Frameworks, Libraries and Embedded Content press +, select the package and press AddThis did the trick for me and on my Watch App Extension I can finally see the import Purchases option.I also added a shared singleton class to manage Purchases’ delegate, both for the iOS and the watchOS app. There, I configure everything, set the delegate to self and retrieve the purchaser info.This is all good if I run everything on the iOS app but when I do the same on my watch, Purchases won’t work and I get no information at all:<PurchaserInfo originalApplicationVersion: (null), latestExpirationDate: (null) activeEntitlements: {}, activeS
I have an AppStore Connect “Sandbox Test User” account with “INTERRUPTED PURCHASES” enabled; This user is signed into the simulator’s iCloud account (I’m using XCode StoreKit file), however the purchase is still successfully being processed. This project is using the RevenueCat 4.0.0 swift package for integration.Does RevenueCat offer its own method to manufacture/force a failed purchase? Is there something else that must be done to flex error handling code? I plan to attempt the same as above on a physical device as soon as I regain access to my test device… but is that mandatory for purchase interruption to work?
Hi there, we are currently using the RevenueCat integration with Segment which is really helpful, however we have noticed a couple of webhooks that don’t trigger events to Segment, EXPIRATION and PRODUCT_CHANGE. I was wondering if there was a specific reason that these are excluded or whether this is just something that hasn’t been developed yet, and if so whether it would be possible to add those? Many thanks, Lydia
I’d like to get a better understanding of how refunds are treated with respect to the active subscription data. If someone refunds their subscription, I understand that they are excluded from the revenue data, but are they also excluded from the active/expired subscription charts?Thanks!
I have found testing that the line below sometimes returns false when a subscription is active. purchaserInfo.entitlements[XXXXXXXXX]?.isActiveHow can this be?Also I notice that in your quick start guide you no longer have the line purchaserInfo.entitlements[XXXXXXXXX]?.isActiveregardsPeter
Hei there.I am a bit confused by the number of active subscriptions in the dashboard.There are currently 7 active subscribers, but the dashboard shows 8.It seams that this is because one of the subscribers got their subscription transfered from another subscriber.(Probably because the user logged out from his account and restored the subscription anonimously)I would expect that there are currently only 7 active subscriptions, and not 8, as the subscription was transfered from one user to another.Is this just a bug in the dashboard or are there now really 8 active subscriptions or am I just misunderstanding something? Note: What I am actually trying to do is to refund everybody that purchased the subscription as we are still in a beta test and those user accidentally did the subscription. I was able to refund 7 users, but the dashboard shows that there are 8 active subscription. Thats why I am confused… Thanks,Felix
Hi RevenueCatI’ve got a trouble with adding webhook support to our backend, right now we’re receiving test webhook event but when we are doing parsing we’re getting such error "Converting circular structure to JSON"this error comes from library that we’re using to parse cookies (‘cookie-parser’)as an example that is what we get from your side and in the request we have a number of Circular objects references which couldn’t be parsed by javascript properly, can you explain why it happens and how should we handle this {"req":{"socket":{"_pendingData":null,"_parent":null,"bytesRead":2222,"remotePort":16134,"connecting":false,"_server":"[Circular]","_hadError":false,"_paused":false,"remoteFamily":"IPv6","_events":{"error":[null,null],"end":[null,null],"close":[null,null,null]},"_bytesDispatched":0,"_writableState":{"objectMode":false,"writecb":null,"needDrain":false,"decodeStrings":false,"pendingcb":0,"bufferedRequestCount":0,"finished":false,"defaultEncoding":"utf8","prefinished":false,"e
My iOS SwiftUI app has 2 subscription options: Individual and Family. The level of access is the same, the only difference is that Family enables family sharing.Because the package length cannot be the same for multiple packages, I worked around it by having the Individual subscription on a RC standard Annual length, and Family subscription on a custom length (for more on that, see my other post).Everything seemed to work fine, but recently (RC update?) I started having the following problem with the Family subscription.When a user purchases a subscription, I expect the following subscriptionActive value to update, as per RC documentation and sample apps:class UserViewModel: NSObject, ObservableObject { static let shared = UserViewModel() @Published var subscriptionActive: Bool = false @Published var customerInfo: CustomerInfo? { didSet { subscriptionActive = customerInfo?.entitlements[Constants.entitlementID]?.isActive == true } }I could just check if subscriptio
I have followed the instructions as in docs and my revenue account is connected to Google Play service. I have configured the product, entitlements and offer for my product. When I try to integrate the application, it gives an error message.- ERROR: 🤖‼️ Error fetching offerings - PurchasesError(code=ConfigurationError, underlyingErrorMessage=There's a problem with your configuration. There are no products registered in the RevenueCat dashboard for your offerings.I have configured the product, offer and entitlement as described in the documents. How to troubleshoot this problem?
Hi, I updated the $displayName and $email user attributes using the REST API for all my users. However when I go to the customer view on the dashboard those two fields are displaying empty text fields (screenshot below). I also used the REST API to GET the latest user info and the response says that the attributes have been set (snippet of response below). How do I get this data to show up on the Customer dashboard? This info is vital to our customer support team.
Hi. There are groups in my app and the groups have a couple of members. If one of them pays for subscription, I change the group status and all the members in group can access premium contents. Can I initialize the ‘group id’ instead of user id (firebase auth uid) ? Is it a good practice? Do I have to use aliases?My code: await Purchases.setup(_api_key, appUserId: group.id);
We are making an app(both iOS and Android) that will containing thousands of in-app purchases and have some questions regarding the use of RevenueCat:Is there a limit on how many entitlements we can create in RC? Is there an api for adding and managing products and entitlements?
Hi Everyone,I just started using revenue cat for my project, yesterday I migrated my old user data and total customers at the end of the day was around 4 thousand, but in the morning I saw a surge in new customers by 700, though my active subsscriptions and active trials count was the same. Does revenue cat takes time to process some receipts and add the customers later on ? Is there any way I can find out which customers were added during a given time window/ daily basis?
Hi,I am adding a feature to my app and I need to have the list of users who have subscribed to an in app subscription. Is there a revenuecat API that allows you to have this information?Regards
Hello,Trying to create a document for our team to pull data and could not find any details on what ‘New Customers’ mean on the Overview, please advise.
We send purchase process in RevenueCat to AppsFlyer by integration.AppsFlyer receive the following abbreviated JSON data.{“appsflyer_id”: “12345678", “customer_user_id”: “ABCDEFGH", “eventName”: “trial_converted_event”, “eventValue”: “{\“af_revenue\“: \“10.00\“, \“renewal\“: \“true\“, \“af_currency\“: \“USD\“}”,“af_events_api”: “true”,“eventCurrency”: “USD”,// It’s JST time.“eventTime”: “2022-03-09 10:43:01.000”,…………} Our timezone is JST, so eventTime parameter is currently in JST.But We somehow want to set eventTime to UTC and send it to AppsFlyer.Please let me know if you can shed any light on this.
I’m finding that different devices show my subscription price differently - some with sales tax included and some without. This is with internal testing. The displayed value is taken from product.price_string.The full story: I had set my app’s Play Store in-app subscription price to the same as I had on App Store (3.49 GBP) and it showed up with that value on my phone using the same Google account that’s associated with my developer account. Then I tried it on another phone using a different (licensed tester) account and it showed 4.19 GBP (it added the UK sales tax). So I dropped my price to 2.90 GBP so that it would add the 20% sales tax and be displayed at 3.48 GBP. Afterwards the second phone showed 3.49 GBP (not quite the 3.48 GBP I expected) and my phone showed 2.90 GBP which I kind of expected because at that point I was guessing my account is treated differently. But then a friend tried another phone (different account but also a licensed tester) and it showed the lower 2.90 GB
HI. i am making a new application which uses in_app_purchase for iOS.it’s still under development.it uses revenuecat.But it has a problem. when offer offerings,it receives empty at offerings and product it said message ```2021-12-14 00:07:14.629598+0900 Runner[19365:4255891] [Purchases] - INFO: Ensure your products are correctly configured in App Store Connect2021-12-14 00:07:14.629628+0900 Runner[19365:4255891] [Purchases] - INFO: See https://www.revenuecat.com/2018/10/11/configuring-in-app-products-is-hard2021-12-14 00:07:14.629687+0900 Runner[19365:4255891] [Purchases] - INFO: Could not find SKProduct for ( "inner_repair_subscription202201", "inner_repair_subscription202201")``` by the way i have been developing it by flutter. i guess reason is that paid app settings is not completed yet.is that true?
Hello, I have RevenueCat integrated with one of my apps and I loved it so far, but recently I’ve noticed that some of my transactions fail with “billing issue” for example last week I’ve had 4 in a row free trial conversions to paid users fail with a billing issue which seems too odd to be coincidence 1 of the transactions first failed with billing issue then 24h later appeared as “converted from the free trial”The api version the app uses is: 3.11.1Users with billing issue are using IOS 14 and 15 and located in US and AustraliaSo are there some logs that I can check to see what was the reason for the failed transactions or can someone from RevenueCat check that for me? Thank you!
We added two subscriptions to Revenue dashboard, and that didn’t fetch the subscriptions on mobile side correctly.It seems have problem between Revenue and ionic project so what’s the best way to troubleshoot this problem?
I have an app that is available for macOS(native) and iOS. The app has non consumable IAP(lifetime) and subscriptions(monthly+annual). The reviewer is unable to complete the purchasing of subscription on Mac. Here is the message:We discovered one or more bugs in your app when reviewed on Mac running macOS 12.0.1A receipt error occurred when purchasing subscription, as well as attempt to restore a purchase.The purchase flow works well on my machine but the app is unable to pass review. It was rejected 3 times already. The error is RCInvalidReceiptError("The receipt is not valid.")Revenue SDK version: 3.12.8 BTW, the iOS version of the app passed the review without any problems.iOS and Mac versions share the same codebase. Yesterday I submitted Mac version with Adapty(service that is similar to RevenueCat). And voila: app is in ‘Pending developer release’ state. RevenueCat seems to be totally broken on Mac.
Hi folks, I am testing the purchase function and running into a problem that, every time I called the purchase function it will ask me to login using my Apple ID. I tested on both physical device and stimulator. I’ve login both before I installed the app (i also tried uninstall and login again but no luck). Any advice? Thanks a lot.
Hi there,I have realised that due to a bug in my code, I have not been logging in all users.As we are in the internal testing phase, this is not such a big issue.However, once the app is released it might become a problem, as users who created accounts during internal testing need to use the same app accounts. These users have not been logged into RevenueCat but are just anonymous users.My question pertains to the RevenueCat representation of these users. Is it an issue that the user who has been an anonymous user during internal testing (no purchases taking place), be logged in in RevenueCat? Thank you, and sorry for the somewhat confusing question!
Apple recently enabled v2 of their app store notification system that passes the data differently, does RevenueCat support using this version?
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.