Discussion and help from anything related to RevenueCat.
Recently active
After subscription expires due to non-payment on IOS can I create a different grace period (example of 3 days) and control it on my own or if it is expired at Apple, the customer really must not have access to my Application and Apple prohibits it if they have access for a few more days even though the grace period has not been enabled from native Apple?
How many days before renewal (expiration date)can a BILLING_ISSUE event come from Apple?In Apple's documentation they say that they try to see if there is a problem with a payment with the customer 10 days before and 24 hours beforetry to renew the customer's subscription several times.I was in doubt if I can receive a BILLING_ISSUE 10 days before that period or if it would only be within 24 hours before.
I am trying to export a list of all customers with an promotional purchase however most (over half) of the users that are export do not have the app_user_id column set.I know for a fact that all these users have an app_user_id as this is used to grant their promotions. It also looks fine for the sample of most recently active users that display in the customer list on the website as they all display their app_user_id under the customers column.I have compared the list of most recently active from the website to what was exported and there are ids on the website that don’t appear in the export.Can anyone provide insight into why this columnmight not be populated for majority of my users on the customer list export? Any help is very much appreciated.
I am migrating my Objective-C game project to V4 but can’t get past a ‘Module 'RevenueCat' not found’ build error.I have added the RevenueCat-Swift.h file and referenced it in the Bridging-Header.h file.I have upgraded Pods. @import RevenueCat; causes a build error. Completely stuck.
Hi, We already have a Stripe webhook endpoint that does preprocessing and database updates for the webhooks listed here among others on our Express server. Is there a way to `forward` that webhook that Stripe sent our server to RevenueCat once our updates are done rather than having Stripe send RevenueCat the webhook directly? Inside those webhooks from Stripe am I simply able to call the following endpoint and the subscription status would automatically updated in RevenueCat, thereby triggering a RevenuCat webhook?await axios.post('https://api.revenuecat.com/v1/receipts',{ app_user_id: userId, fetch_token: subscription.id },{ headers: { 'X-Platform': 'stripe', Authorization: `Bearer ${config.revenueCat.stripe}` } })
I have several offerings, one of them is the Current.I fetch the offering in my react native app this way: import Purchases from 'react-native-purchases';export const Premium =(props: {}) => { useEffect(() => { (async () => { const offerings = await Purchases.getOfferings(); console.log(offerings.all) <----------- })() }, []); ...}In dev mode, ‘all’ includes all my offerings including custom offerings, however in production only my Current is included in ‘all’
Hello. I'm interested in understanding how installing the app on a new device with the same app store id is handled when both devices are logged in with different anonymous revenue cat ids. Will the user have to restore purchases every time they switch devices, because of the "transfer purchase" behavior or are the two anonymous ids reconciled by revenue cat as belonging to the same App store id? Thanks!
For testing/sandbox, can we have conditionally allow transfer vs block restore?It’s quite difficult to keep all the test accounts inline and temporarily enabling restore behavior to transfer in the dashboard can lead to other issues affecting prod users.
Environment: iPadOS 14. I understand that when an anonymous user reinstalls and deletes the app, caling Purchases.configure generates a new app ID, and when he calls restore, the purchase is transferred from his old anonymous ID to his new one. What happens to an anonymous user’s ID if he buys a subscription on device A, then restores on device B.Will device A still be logged in?
Hello,We want to create our own dashboards from the raw data that we received from Revenucat. We transfer the data to BigQuery about 1 day behind. When we group monthly active subscribers by month, we cannot match them with the data in the table that revenuecat provides us. Meanwhile, we find minor differences acceptable. Unfortunately the difference is too much.For example, while the number of active users in May is 1419 in our code, it is 1893 in the active subscriber chart of Revenucat. I am sharing the SQL code I wrote. The logic we have established here, in short, is this. We got price_in_usd > 0 to eliminate trial users so that data is not duplicated. We also set the sandbox area to false to avoid getting sandbox data. We thought that the original_store_transaction_id refreshes itself when creating the store transaction id with every purchase. That's why we thought that when we group and count the original_store_transaction_id by months, we can reach active subscribers. So wha
Hi! We are trying to use ‘Grant Promotion’ to user.And want to know how to give promotion to user who not yet registered in Revenuecat But our app. Condition:User never subscribes ,(so there is no data in Revenuecat)Is there any way to push our user data to revenuecat?
Hello, I have been using the SDK pretty successfully during testing. Decided to take a break came back 2 weeks later and all of a sudden I am getting “Item not available in your country” error messages when trying to subscribe to any of the subscriptions I have up on my app(APK running on a physical machine at the mo for testing.)The base plan activated for all the products does include United Kingdom and the Google account I am using to make the purchase is also United Kingdom.I’d be more wary of this being my own introduced bug If I was actually changing the code over the last 2 weeks. - hence me reaching out. ScreensError message on display under every subscription available:Google account:Item availability in Google Play Console:Any advice would be greatly appreciated - thanks in advance. David
When I make a purchase from the SDK, my backend calls a method to validate the purchase with the subscribers api.The response returned has a body like this:{ "request_date": "2022-06-21T11:55:20Z", "request_date_ms": 1655812520624, "subscriber": { "entitlements": { "active": { "expires_date": "2022-06-14T06:23:52Z", "grace_period_expires_date": null, "product_identifier": "onemonthusd899", "purchase_date": "2022-06-14T06:18:52Z" } }, "first_seen": "2022-06-21T11:11:25Z", "last_seen": "2022-06-21T11:11:38Z", "management_url": null, "non_subscriptions": {}, "original_app_user_id": "$RCAnonymousID:e7d81c263043488bb14c909718f83508", "original_application_version": "1.0", "original_purchase_date": "2013-08-01T07:00:00Z", "other_purchases": {}, "subscriptions": { "onemonthusd899": { "billing_issues_de
I integrated RevenueCat into an app written in Swift and SwiftUI. It worked all well until now.All of the sudden Xcode throws these two errors when building the app: Could not build Objective-C module 'RevenueCat'At the import RevenueCat statementHeader 'RevenueCat-Swift.h' not foundIn a modul.modulemapThe Content of the modulemap is as followed.framework module RevenueCat { umbrella header "RevenueCat-umbrella.h" export * module * { export * }} module RevenueCat.Swift { header "RevenueCat-Swift.h" requires objc} The weird thing is, that after rebuilding the app once or twice, the errors disappear.However, if I try to archive the app, they pop up every time and prevent Xcode from archiving the Build.I updated to the lates Xcode version some days ago, beside that there's nothing special that could point to the start of the problem.Any Ideas on that?
Hi,I’ve setup my App Store Connect with a test product and added to RevenueCat too. Also installed the latest version of RevenueCat in my iOS app - now I’m trying to do a test subscription purchase on a physical device from within my app but hitting a problem.I see all the initialisation debug messages from RevenueCat in the XCode debug window - however, when I’m making the call to Purchases.shared.getProducts([“my_product_id”]), RevenueCat is not returning any product back. The SwiftUI code I’m using is pretty much exactly the same as posted by @Michael Eovine in his post from a few weeks ago @ Note: I was hoping the RevenueCat documentation would help provide some useful details but surprisingly there’s only one single mention of ‘getProducts’ (see https://docs.revenuecat.com/docs/ios-native-3x-to-4x-migration#api-changes-1) and it’s in the context of it replacing the ‘products’ call. Can someone from the RevenueCat support team please assist in either suggesting troubleshooting st
Hello, we are having trouble with getting Apple Search Ads attribution data for our app. We have followed the integration instructions located here: https://docs.revenuecat.com/docs/apple-search-ads, and have added the required configuration line: Purchases.automaticAppleSearchAdsAttributionCollection = true We also made sure that the iAd framework is imported in our project. Our apps asks authorization via the App Tracking Transparency framework. We are running ASA for quite a few weeks now, and have released the version with the attribution configuration more than two ago, but we cannot see any kind of breakdown by campaign or adgroup in the Charts segmentation settings. We are only seeing Organic users: We don’t know what we are doing wrong. Is there any way that to test our configuration in Sandbox mode? Any help is appreciated, thank you!
Hey everyoneI read the blog post re WWDC2022 and it mentioned that there should be an App Store Connect API to create in-app purchases manually.Link: https://www.revenuecat.com/blog/wwdc-2022-recap/However, I wasn’t able to find anything in the actual documentation of the App Store Connect API.Does anyone have any more details?Thanks!
I have a multi-platform SaaS (Software as a Service) for iOS, Android, and web. Purchase ServicesWeb: StripeiOS: Appstore IAPAndroid: Google Play IAPAll purchases are connected to RevenueCat.As far as I can tell, there is no library for web developers to access information, only a REST API. How are websites checking if a user is a entitled/paying member? My current plan for implementation is as follows:Get Subscriber via Rest AI Check the resulting object’s `subscriber.entitlements[‘my-entitlement-id’]` paying/subscribed if exists & if `expires_date` > `current_date` Question 1: Is this the best method to achieve this OR is there a web SDK somewhere?Question 2: How often should I poll for subscription information?Should I hit the database every time they navigate to a new membership page? Should I cache the membership information for a specific amount of time (somehow?)
Just learning our way around the console app, and noticed that on our Setting page, where you can select the “Restore Behavior”, there is a link to documentation. Unfortunately, that link comes up with a 404. Does anyone happen to have the correct link?
How do I filter the customers so that I can see which trials are expiring the soonest and which ones are expiring last. Right now all the dates are out of order
We are using stripe and by mistake we have restore a purchase from a use to an incorrect user. So that users now are alias.Can we revert the change?Should we remove both users and create them again?
Hello,I know based on legal/irs rules, we are not allowed to collect subscriptions and manually pay the person the end user is subscribing to. I know stripe has connect, which the 3rd parties authenticate and provide their payout details (ach or otherwise). Then they also deal with creating the IRS forms and such. Does Revenuecat support taking subscriptions on behalf of another business entity?
Hi there, We're using `purchases_flutter: 3.9.5` in our Flutter app. When I sent a Test Flight with our IAP implementation, all users get an iOS popup saying the `Apple Media Services Terms and Conditions have changed`, which upon pressing "ok" takes the user to a blank screen. This state is so weird that revenue cat doesn't even return anything from the Purchase method. So by closing this blank screen the app just hangs on loading, waiting for Revenue Cat to return a response from the purchase method, which it never does. Closing the app completely causes the Terms to Pop back up once again, but this time it loads, and upon pressing accept the iOS "successful purchase" pop up comes up. Any following purchases work as expected, without the terms. All iOS beta users are facing this issue the first time they try to perform the purchase. Will this happen in the live app? Anyone know what to do here? Thanks
Hello! I have few question about RESTAPI “Delete Subscribe” If I call this , Store’s subscirbe is canceled? (appstore,playstore..)
In Github https://github.com/RevenueCat/purchases-ios/tree/main/Examples That samples uses:Xcode 12.2 iOS 14 Swift 5There is a example for Xcode 13 or 14 beta working at last stable RevenueCat framework? All official documentation are obsolete at https://docs.revenuecat.com/docs - For example: Purchase module was rewrite to use RevenueCat and a lot of changes.
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.