Get help with your SDK implementation.
Recently active
Hi, I have successfully running RevenueCat in-app subscriptions and now integrating another subscription method - Stripe Web Payments. I have created Products in Stripe and have created Products in RevenueCat using product ID from Stripe as product key in RevenueCat. I also have tried to create RevenueCat products using price id from Stripe. After I make a purchase in Stripe, I want to validate receipt so purchase appears in RevenueCat by making a POST request to API:curl --location --request POST 'https://api.revenuecat.com/v1/receipts' \--header 'X-Platform: Stripe' \--header 'Authorization: Bearer *** MY_STRIPE_KEY ***' \--header 'Content-Type: application/json' \--data-raw '{"app_user_id": "iLxQ2wdl26","fetch_token": "sub_1KRgPlGOGvcC5HQI5pE"}'But no matter of the configuration, I get this in response:{"code": 7103,"message": "The receipt is not valid."} Maybe anyone has any tips that I might be missing? Cheers,Daniels
Got this error while trying to setup Purchases 3.4.3 in React Native.Method addObserver must be called on the main threadAnyone faced it?
Besides the sdk still being in beta(rc), would you say it has the features to be used in production? or does it not yet have all the basic features of the old sdk? Will RevenueCat support the new refund API apple introduced past WWDC with v4?
Hi,I have multiple entitlements in my app and I want to group the products under respective entitlement on my paywall. I am able to get only purchased entitlements from `getPurchaserInfo` . Is their a way to get the "Associated Entitlements" for all products (both purchased and not purchased)? Thank you
I know its not possible to cancel a user’s subscription using the RevenueCat’s SDK however we want to build a user experience in the app where if a user presses on a ‘Cancel’ button we navigate the user to the settings app of their OS. For example in React Native you can use `Linking.openURL('app-settings://notification/')` to navigate the user to the notification's settings of the app. Does anyone know what the url is for the `manage subscription` setting page in iOS and Android? If you want to see a real-life example of this, check out the Strava App.
A customer of ours is encountering the error shown below in our React Native app on Android. It seems that from my research, this message is coming from Google’s subscription service. How do we troubleshoot?
Hi, We were wondering if there is a way to get the experiment name or id and the variant the user is in from the user object in the React Native SDK?Or does it come via the Webhook at least? Thanks so much!
Hey,We are reaching you because we have some questions concerning the switch between alias id and transfer purchase.Today we use the alias behavior, but we would like to have one user id = 1 subscription, so we should migrate to the transfer purchase behavior.What will happen for users who share a subscription with multiple ids (aliased)?Also, we would like to know if it's possible to detect the email linked to a subscription before he restores his purchase? If the purchase is already linked to an email, we would like to prevent our users to restore their purchase.Thanks a lot!
When using revenue cat on flutter, I am getting the billing unavailable error at times and cannot access any subscription info about the user, Mostly occurs when device starts offline, then later refreshed with internet connection, navigating to the page that checks subscription then gives billing unavailable error
Hello,I have user crashes related to configuring Purchases. However, when i have experienced this crash, it is when i am trying to close the app. I have a single exit point and use:startActivity(intent);finish();before moving to a new intent. My exit looks like the followingThread.currentThread().interrupt();finish();System.exit(0);finish();Any thoughts?
[Reposting in SDK’s as I accidentally posted in General]I’m trying to push my app out for Beta testing but when I upload a build to TestFlight and run it the call to Purchases.getPurchaserInfo() hangs and never returns. It works on the same device when just running outside of TestFlight. I can run through the whole IAP flow when running on this device. But as soon as I push to TestFlight and run it through there it just hangs waiting to get purchaser info. I think these are the logs needed:default 12:08:37.873277-0500 Runner [Purchases] - DEBUG: There are no requests currently running, starting request GET /subscribers/$RCAnonymousID0X0P+0f621ae3fbd374db9b96d0b6d31ea5d20default 12:08:37.873327-0500 Runner [Purchases] - DEBUG: API request started: GET /v1/subscribers/$RCAnonymousID:f621ae3fbd374db9b96d0b6d31ea5d20default 12:08:37.883570-0500 Runner [Purchases] - DEBUG: There's a request currently running and 0 requests left in the queue, queueing GET /subs
Hi,I would like to ask if the UpdatedPurchaserInfoListener works across platforms. eg. user will be logged in on iOS and the Android app and will buy a product on one of them. Does this listener also trigger the other platform's UpdatedPurchaserInfoListener? (when the other app is active)
I have an app made in Flutter that is running on Android and using subscriptions. The most basic things are working. But this is not:User have an active subscription and then cancels the subscription.I wait for more than ten minutes. I restart the app.Still PurchaserInfo says willRenew is true and unsubscribeDetectedAt is null.What can be done to get the updated information?
When showing the IAP action sheet there is some delay upon a purchase attempt and a response from apple confirming success to trigger the SDK callback, this leaves the user a bit confused whats going on... This all goes on inside the RC `purchasePackage` method where it doesnt let me know the time period between user confirming purchase and the callback received from the SDK that its all been doneIs there a way to handle for this?
Hello. This is the fourth app I’m setting up using RevenueCat (so thanks!), only this time not subscription-based.It is an iOS app using v.3.14.1 of the SDK, still performing tests in the sandbox environment. Basically I am using consumables with entitlements and those entitlements disappear after the app is uninstalled, even when the dashboard still reflects that the user should have the entitlement.No matter what I try there are zero entitlements in the purchaserInfo after uninstalling the app:When I use the delegate When I restore transactions When I refresh the purchaserInfoIf I check the entitlements before the user deletes the app, even on subsequent app launches, the purchaser info reflects everything correctly. Repurchasing any consumable fixes this, at least until the app is uninstalled again.Docs seem to indicate that we can use the consumables with entitlements, so am I missing something obvious? I am happy to share logs.Thanks.
Hello! I’m really destroyed and don’t understand how to solve my problems.I have one apple account and can create multiple user-accounts in my app. First case:User A login (with logIn()) Buy purchase User A logout (with logOut()) User B login (with logIn() another appUserId)Now User B have subscription from User A. But i want the User B to not have a subscription in this case. What can i do?And more one, in this case after login method getPurchaserInfo() return not active subscription (I’ve been awaiting more than 5 minutes (time for reset cache but got not active). After this i show payment card and by tap (call method purchaseProduct()) user B see system alert with “have already subscription”. And after this method getPurchaserInfo() for User B return active status of subscription. What can i do in this case?Thanks for support!
ERROR: 🍎‼️ Error fetching offerings - Error Domain=RCPurchasesErrorDomain Code=23 "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).This could be due to a timeout, or a problem in your configuration.I’ve created my config file multiple times still facing this issue can anyone help me with it ???
When a user tries to restore a purchase, it fails with a message in console:[Purchases] - WARN: ⚠️ /<project_path>/Pods/PurchasesCoreSwift/PurchasesCoreSwift/LocalReceiptParsing/ReceiptParser.swift-receiptHasTransactions(receiptData:): Could not parse receipt, conservatively returning trueI tried to debug this issue and found that it fails at InAppPurchaseBuilder.swift:87 because isInIntroOfferPeriod is nil. I didn’t do any changes related to purchases recently. Is it something changed on a server side? Purchases (3.14.0)PurchasesCoreSwift (= 3.14.0)
Hello,As far as I can see there is a subscriptionPeriod property available on both Android and iOS, however I do not see anyway of accessing this through the React native SDK. Is this something that is available? Thanks
I am trying to create an implementation to deal with billing issues for subscribers.I would like to inform users how much time they have in their grace period before a subscription is cancelled. To do this, I need to manipulate the Billing Issue Detected At attribute of the EntitlementInfo object. I have tried to find any info on what sort of format this date would be provided as, but am unable to.Could an example of it please be provided?
Hi, I have setup StoreKit on my React Native app so that I can test out making purchases for a `auto renew subscription` on a simulator. However when trying to purchase a subscription using `await Purchases.purchasePackage(product)` its was failing with the `UKNOWN ERROR`. I manage to get it working by removing the login call (i.e. await Purchases.logIn(userId)) which I was doing when a user logged into my app. However this is not an ideal solution as I want to correctly identify the user by logging them into RevenueCat. Is this an issue with StoreKit and RevenueCat? Or am I doing something wrong? Cheers,Walter
Hi ! With EAS build we can now use react-native-purchases without eject according to this discussion : https://forums.expo.dev/t/has-anyone-successfully-adopted-iap-with-eas-build-for-their-managed-app/54047/17Can you update your documentation ?regards,Sephyre
Is it possible to check on the client-side if a user has an active free-trial?Under the settings page in our app, we want to display a button that says ‘Cancel free trial’ that helps the user with their subscription management.I would like to only display this button to users who have an active free-trial, not to regular users or paying users who are not in the free-trial stage.Is there a RevenueCat option that I am missing? Or would I have to hack something together to make this work?Thanks <3
Why an entitlement is not activated when I call the restore purchase method?
Hey, first of all thanks for this great platform. It simplifies handling purchases a lot, but unfortunately I’m having troubles with it.I’m experiencing strange behavior regarding subscriptions and authentication. Let’s say my account has subscription attached. I sign out and try to sign in again using credentials for the same account. Now, `logIn` calls randomly return valid subscription data or nothing. It seems to only happen on Android though. What’s even more interesting, `restoreTransactions` attaches the subscription again.In further testing it turned out subscription is moved from proper account to newly created anonymous user. Is this expected behavior? If so how can I make sure subscription stays active for the user? Let me know if additional information is needed. Thanks in advance for your help!Platform details:React Native 0.63.4react-native-purchases@4.5.2Android
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.