Get help with your SDK implementation.
Recently active
Hi everyone, We have a flutter app that requires user to make a purchase first and then create an account. Users can’t access the app unless they signup and create an account. First time a purchase is made with Rc anonymous id and after signup we call logIn() method with user id. We are trying to implement restore purchases as apple doesn’t approve apps without having any restore method. When user clicks on restore purchase revenue cat restores the purchases but transfers the purchase to an anonymous id. We are using the webhooks to save user subscription status on basis of webhooks. But after restoring purchases revenue cat send the webhooks with anonymous id and our backend is unable to connect it with user. After clicking on restore purchases logIn() method doesn’t work. In debug mode it says that user has been logged in but on revenue cat it doesn’t change the app user id and webhooks are being sent from anonymous id. How to implement the restore purchases in flutter when we have a
Apple has allowed apps to use external purchases. Can this API be used via revenuecat? Will there be such support in the future?https://developer.apple.com/documentation/storekit/external_purchase
Hello below is my json file in meta offerings how to use this string in ios side ? { subscriptionDuration : { “en_US” : “Yearly”, “es_ES” : “Anual” }} Please help me regarding this how can i use localised string in swift side...
We are using expo managed workflow and want to integrate RevenueCat purchase to full fill in-app purchase need for android, ios and web. Does RevenueCat support react native web?
Hello,I set up correctly according to the instructions and everything seems to be verified.However, when I try to call getOfferings, I am getting an errorError: There is an issue with your configuration. Check the underlying error for more details.any help is appreciated.
I’m able to get all offerings and products from the Flutter SDK. However, while trying to make purchase on Android, getting the following error:[log] Purchases -> 🤖‼️ BillingWrapper purchases failed to update: DebugMessage: . ErrorCode: BILLING_UNAVAILABLE.null[log] Purchases -> 🤖‼️ PurchasesError(code=PurchaseNotAllowedError, underlyingErrorMessage=Error updating purchases. DebugMessage: . ErrorCode: BILLING_UNAVAILABLE., message='The device or user is not allowed to make the purchase.')dependency: purchases_flutter: ^6.0.0This user was able to make test purchases before. APK is added to closed testing and user is added as tester.
We are planning to create a subscription with a free trial period. As an example a 1 year subscription with a 6 month free trial.When the user purchases this subscription, when will the account be charged? At purchase time or after 6 months?Thank you,
As you can see, the user’s subscription is cancelled due to a billing error but the api returns the user still have active subscription. can you guys help me to solve the issue?
Almost used Paywalls beta, but I need a template with a big header graphic like the template ‘Ignite Your Childs Curiosity’ combined with being able to add more items to the features list like the template ‘Your Free Trial Journey’. Ideally when adding features to the list, would like to add text or graphic or custom view. And ideally would like more than one ‘features’ section with custom titles. Eg ‘Features’, ‘Benifits’, ‘Questions’, ‘Customer Reviews’. Naturally this paywall is going to get long, so I’d like the paywall content to scroll down and have a call to action button buy button that floats in front of the scrolling content, anchored to the bottom of the screen.Can you build that? Is that possible using combination of template and SDK calls?thanksPS - need a ‘Paywalls (beta)’ tag?
Hello, I am using React-native and building an app in IOS. It is strange that when i try to use this function, it returns me nothing. when i try to get offerings, it returns me an an error that 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```useEffect(() => { async function fetchOfferings() { await Purchases.setLogLevel('info'); await Purchases.configure({apiKey:<API_KEY>}); const products = await Purchases.getOfferings(['promonthly']);console.log(products)}fetchOfferings();}, []);``` I have also tried every single suggestions in Nothing seems to work. I tried using my phone and then the simulator and both returns empty. Any help is greatly appreciated.
Hi there,I recently attempted to migrate my React Native app to Google Play Billing Library 5 and encountered a problem after updating the RevenueCat SDK to the latest version. I'm hoping someone in this forum can shed some light on the issue.I updated the RevenueCat SDK in my React Native app to the latest version.However, when I test the app in both closed testing and internal testing, I'm encountering the following error: "The product is not available for purchase." Has anyone else encountered a similar problem while migrating to Google Play Billing Library 5 with RevenueCat in a React Native app? Any insights, guidance, or suggestions would be greatly appreciated. I'm eager to resolve this issue and move forward with the migration successfully.Thank you in advance for your help!
Hello! We just integrated RevenueCat after taking the project over from some overseas developers and I am having a bit of trouble getting the offerings to load on our billing page to display the pricing and allow a subscription to go through. getOfferingsFromRevCat() async { try { Offerings offerings = await Purchases.getOfferings(); if (offerings.current != null && offerings.current?.monthly != null) { setState(() { package = offerings.current!.monthly!; offerPrice = offerings.current!.monthly!.storeProduct.priceString.toString(); }); } } on PlatformException catch (e) { if (kDebugMode) { print(e); } } } I run this when my screen is loaded and use $offerPrice to display the monthly pricing dynamically, in order to be able to adjust pricing down the line without pushing any new updates to the app. I’ve read through the different guides on sandbox / testflight things that have to be done (ag
After a `POST /v1/receipts` how can I eitherremove that purchase or transfer it to another uservia API. I didn’t find a corresponding endpoint.
Hello, talents.I have some issues to get products from App store.My Env:"react-native-purchases": "^6.6.5",Current Situation:I have 2 products and I could get products from App store using await Purchases.getOfferings();But I updated the product information including product IDs. (For example, one of my product ID was myApp_5_1m, but updated it into myApp_55_1m)Now I see some error when calling getOfferings(). *Already went over 3 days once products info were updated. It’s the error message.[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-empty] But I am still getting the product info using getProducts([‘myApp_5_1’]).How can I get the updated products info using getOfferings function?
Good Afternoon, I implemented revenue cat in my flutter iOS app for a consumable in app purchase that allows the buying of 50 tokens. Everything works in production except the following. After a user buys one set of 50 tokens, if they try it again, it says “You have already purchased this product. Would like to get this for free?”. I need that to not be the case, the user needs to pay for each purchase regardless of if they have already purchased it. How do I fix this issue? Can't seem to find info about this anywhere. Thanks!
When testing subscriptions using the iOS StoreKit simulator, the purchase callback is only triggered when the purchase fails. It does not trigger a callback upon a successful purchase.I had set storeKit configuration and uploaded cer, when I finished a testing purchase, after get success feedback from simulator, the callback of Purchase.purchase(package) { .. } had not showed anything, but if failed callback was working.EnvironmentmacOS: Ventura 13.6Xcode version: 14.3.1 (14E300c)Simulator: iPhone 14 Pro - iOS 16.4RevenueCat: 4.23.1Step 1.Success to purchase/ Receive Finish on the Xcode consoleThe Callback of Purchase.shared.purchase(_ package,:) was not working.
Hi RevenueCat!I am able to purchase packages without any issues, but I am having an issue when purchasing a package with a Subscription Offer. I’ve tested with the following:Xcode 14.0macOS Monterey 12.6iOS 15.5 & iOS 16.0Apple Swift version 5.7 (swiftlang-5.7.0.127.4 clang-1400.0.29.50)RevenueCat 4.12.0, 4.11.0, 4.9.0, 4.8.0 I have tested using both a simulator via a debug store kit and on a device in Testflight, referencing the documentation provided here: https://www.revenuecat.com/docs/apple-app-store Generated and uploaded the .p8 file with the issuer Id as described here:https://www.revenuecat.com/docs/in-app-purchase-key-configuration I followed the documentation here for implementation:- https://www.revenuecat.com/docs/ios-subscription-offers My RevenueCat is configured as follows:let builder = Configuration.Builder(withAPIKey: <my_api_key>) .with(usesStoreKit2IfAvailable: true) .build()Purchases.configure(with: builder)My purchase code is as fo
Got an issue during build of application after installing of SDK via SPM in Xcode 15.0 (MacOS 14.0)Compile issue in RevenueCatUI → ViewExtensionsAny suggestions on how to fix or workaround would be helpful!Thanks! Update: so the workaround is not include RevenueCatUI package in dependencies (only RevenueCat package out of 4 that suggested )
I have set up Products, Packages, and an Offering in RC and can see it in my app (using Expo + react-native-purchases SDK). When I complete a sandbox purchase it is neither appearing in the Purchases.getCustomerInfo() response nor the RC admin console.I also have ensured that I set the user ID with Purchases.logIn().(I did not set up a sandbox user in App Store Connect but I presume that using my actual Apple account for sandbox transactions is okay.)What am I doing wrong?Sandbox purchase was successfulShould sandbox transactions appear here?
Hi, I’m using async await and would like to cancel a network request when the app goes background. However, it seems that when calling `cancel()` on the Task for Purchases.shared.customerInfo for example, the network call doesn’t actually get cancelled. Is this by design?
Hi, I am trying to view the offerings for our product. We are running on the xcode simulator via the xcode command. I have configured a storekit file and have confirmed I am using it in xcode. I uploaded the certification to revenuecat as well. I also confirmed that the products in xcode match those in revenuecat. I waited >24 hours as well for any servers to sync, yet I still get that offerings are not available. I’ve looked everywhere in the forums to figure out what I am doing wrong but am unable. Is there anything else I can do? We are looking forward to hopefully integrating this platform in our product.
Hi there, i’m trying to use new RevenueCat Paywalls. Can i present my custom paywall using revenuecat paywall without using revenuecat template paywalls?
I'm implementing a new version of my paywalls using the new (beta) feature of RevenueCat Paywalls. I'm using the paywall with the footer modifier and I do not understand why is this bottom line even exist. It displays the same text as the package subtitle and there is no way to remove it. In the web preview, this text is not shown. Is this a bug or is this a strange behaviour that I'm not getting it? Thanks for your time, this new feature is awesome!
Hello.My env:"react-native": "0.68.2","react-native-purchases": "^6.6.5", I get offering by using Purchases.getOfferings().Btw are there any way to get entitlement together according to the product?
Hello!Could anyone please explain to me how does restoring purchases for anonymous user IDs work? I’m usingfor await customerInfo in Purchases.shared.customerInfoStream { let hasNoActiveEntitlements = customerInfo.entitlements.active.isEmpty Superwall.shared.subscriptionStatus = hasNoActiveEntitlements ? .inactive : .active}to sync subscription status between RevenueCat and Superwall, but it works inconsistently, sometimes it never gets inside the for loop and sometimes it works without issues. Maybe I don’t get the idea and this code needs to be called after the app is in some specific state?
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.