Discussion and help from anything related to RevenueCat.
Recently active
During calling Purchases.logIn(userUid);I very often get an error : PlatformException (PlatformException(10, Error performing request., {code: 10, message: Error performing request., readableErrorCode: NetworkError, readable_error_code: NetworkError, underlyingErrorMessage: thread interrupted}, null)) I do not have any network connection problems and after restarting the app problem is gone. Does anyone face such problem too?
I have an Annual Subscription with one base plan and offer 7 days of free trial. According to migration note, I changed :product.getFreeTrialPeriod()toproduct.getSubscriptionOptions().getFreeTrial()Now the free trial is not shown in my app. Both the base plan & the offer are backward compatible.
Hello everyone, I want to deliver monthly items to our Pro subscribers and I could use some guidance. My main concern is ensuring that regardless of the subscription type (monthly or annual), our users receive their items on the same date as a monthly renewal would.Currently, when a user purchases a subscription, I have a backend function that communicates with RevenueCat's REST API to check the user's Pro entitlement status and provide them with the initial items for the first month. My aim is to schedule an event for a future date to facilitate the delivery of the next monthly items.This raises the question of how to determine the appropriate date each month, especially considering the varying number of days in each month. I'm particularly curious about how Apple or Google handle these differences, as I want to align our delivery schedule with their approach. I would appreciate any help!
Most our product profits sync correctly. But some products that we have recently added show in RevenueСat dash board only 10-30% of what we see in the App Store. This problem only happens with iOS. We use RevenueCat Unity sdk, Unity purchases and Observer mod in RevenueCat. On the client, when we request the user's data from the RevenueCat server via SDK, we get the correct purchase amount. If we multiply that amount by the cost of certain products we get correct numbers. But in the RevenueCat dash board they are not correct at all. And we send data from the RevenueCat dash board to Adjust, which is very critical for us. What could be the problem? Also please tell me, is there a way to find out in the RevenueCat dashboard not the total revenue from the product, but the number of purchases of certain produts? This would help us understand the problem a little better. Perhaps purchases for some reason goes to RevenueCat with zero value?
Dear all,I am trying to implement promoted IAPs feature by using PurchasesDelegate. I have the latest iOS SDK installed. Whenever I use the test link as described here: https://developer.apple.com/documentation/storekit/in-app_purchase/testing_promoted_in-app_purchases, nothing happens in the delegate method, and all I receive from the console is this:[Daemon] [SKPaymentQueue]: Tried to send purchase intent: pretty.ios.avatarai.monthly to delegate, delegate does not respond to method paymentQueue:shouldAddStorePayment:forProductDelegate method being used is:func purchases(_ purchases: Purchases, readyForPromotedProduct product: StoreProduct, purchase startPurchase: @escaping StartPurchaseBlock) { startPurchase { (transaction, info, cancelled, error) in } }Can anyone give me a hint what I am doing wrong? Implementation with previous versions of SDK were working, with old delegate methods.Aleksandar
I have some issues and questions implementing revenue cat with react native and subscriptions...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).Got rejected on the appstore, as the subscrition didnt workI dont have any offerings, that can be fetched, as they are in status “Waiting for Review” in the appstore, and as I understand a version of the app needs to be approved for release with the subscriptions? So my questions are:- how to get the offerings to be read in sandbox? is sandbox for just payment?- How to approve the offerings in a new version if payment wont work?How to test from xcode using storekit?, on react native I didnt find any info...
Yesterday I have published my first app on the Appstore and all my clients faced the same problem. When they made a subscription for trial or even purchase - the operation ended up with success. They received the receipt from Apple about it or money were taken from their account (in case of in-app purchase) but then they fall into this error: "Purchase succeeded but program is not active". From my code this means that entitlement is not active. here is the code: Purchases.shared.purchase(package: package) { (transaction, customerInfo, error, userCancelled) in if let error = error { completion(.failure(error)) print("error - failed to complete the purchase") } else { if customerInfo?.entitlements[program]?.isActive == true { completion(.success(true)) } else { print ("Purchase succeeded but program is not active") let error = NSError(domain: "com.ex
Hi Guys, I’m trying to implement in-app purchase with revenue cat in an existing app that is already in playstore and appstore. But I keep getting this error in Android :none of the products registered in the revenueCat dashboard could be fetched from the play store.It works fine in IOS though.I’ve already put a new app (that contains the Billing on Android manifest) on a closed task and added tester also, and the app in closed test channel is already available in playstore for the tester, followed the steps in this link : but it still doesn’t work, Can you guys help me please or do you have any suggestions ? Thanks in advance.
Offerings offerings = await Purchases.getOfferings(); Offering? offering = offerings.current;List<StoreProduct> prds = await Purchases.getProducts(['identifier']);print("products " + jsonEncode(prds));print("packages " + jsonEncode(offering?.availablePackages));have added benefits to the subscription in play store dev console in the flutter app when fetching packages or products like above, i am missing description and benefits is there a different SDK API that i need to look into ?
When I initially set up my Google Play App I could import products automatically from Google Play with the “import” button:https://revenuecat.releasenotes.io/release/1eSGh-new-import-subscription-products-from-google-play-consoleProducts > new > Play Store > (no more button) but only the form to do it manually...So this worked a few days ago. Now I wanted to import some more (new) products from there but the button is just no longer available?Is this feature disabled now?
I've launched a mobile app integrated with Revenuecat in purchase. We have a serious problem because we didn't configured with app id(email, firebase uid) with revenuecat account and also didn't registered revenuecat uid. So once the users removed app after purchase, we lost purchasing information for them. Is there any way to resolve this issue?
Hey, I have a problem with auto-renewable subscriptions. When I click on purchase it trigger the Apple bottom sheet with subscribe, then when I click on subscribe it says successfully purchased but it doesn’t complete the transactions. Debug shows me this → [Purchases] - INFO: 💰 Finishing transaction 'number' for product 'identifier'. I test it in simulator with store kit configuration
Getting the error: There's a problem with your configuration. None of the products registered in the RevenueCat dashboard could be fetched from App Store Connect. Everything works in android, not iOS. It says starting store products request for: ["product10"] Let product Id = product10 for both google and apple.In revenue cat, under offerings I have:identifier (groupId) → offering id → group:product10 (for google) / product10 (for apple)[confusing here: Why is there no : for apple? is it suppose to match with groups in App Store? ] In Apple Store, under subscriptions. I have group name (group), under subscriptions productId I have “product10”. But revenue cat keeps saying no product10.
Hello, In my experiments results I have a product called “other”, what does it refer to ?Thanks,
Hi, I have an App with only one subscription of 3 Months and 7-days of free trial.I made a purchase of that subscription, the free trial expired and the purchase was done.I canceled the subscription, and now I want to try to buy the subscription again, I’m getting an error from RevenueCat. error: domain: “RevenueCat.ErrorCode” - code: 16. I can’t complete the purchase due this error.I also see this error in RC dashboard. Does any one idea of what is happening?
Hello, I get the following error : How to solve ? Nota: my Android app is in Open Testing (available on the store) ; tell me if it might be an issue.
{code: 7110, message: Internal server error.}
Hello, I made a paid membership system for a mobile application. How can different users gift a paid membership for their friends? The duration of the package he will give as a gift will be 1 month or 12 months. I couldn't find your detailed article. I would appreciate it if you could explain it in detail. Im using react-native.
hello, I am currently developing with flutter. All the steps below have been completed and the APK has been uploaded to the Google Play Store and tested in closed testing https://www.revenuecat.com/docs/creating-play-service-credentials#1-link-to-a-google-developer-project The payment screen does not appear and an error occurs. ```e.details: {code: 4, message: One or more of the arguments provided are invalid., readableErrorCode: PurchaseInvalidError, readable_error_code: PurchaseInvalidError, underlyingErrorMessage: There is no current Activity}```I've deleted all Google Play Store accounts on my device and added a recreated one to test, but it still doesn't work.However, the acquisition of the package has been confirmed.I need help. > purchases_flutter: 4.10.2
I am currently trying to handle purchases using RevenueCat. Everything seems to work fine, except my completion handler does not execute properly. I am currently running iOS16 -- the last of my logs look like this: 2023-07-07 21:46:29.274573-0400 main[1521:253544] [purchases] INFO: 💰 Finishing transaction 'x' for product 'x'2023-07-07 21:46:29.274658-0400 main[1521:254084] [network] DEBUG: ℹ️ Serial request done: POST receipts, 0 requests left in the queue2023-07-07 21:46:59.258445-0400 main[1521:254760] [tcp] tcp_output [C6.1.1.1:3] flags=[R.] seq=4201476122, ack=584019737, win=2047 state=CLOSED rcv_nxt=584019737, snd_una=4201476045As you can see, the transaction does not completely finish and thus I cannot properly set the user’s state to subscriptionActive = true. The purchase however, will successfully show up on my dashboard. Does anyone know a way around this? I’ve tried the documentation and have updated my code to try and use StoreKit1, which it looks like RC does by default
Hi there,I’m running into a problem where purchases do succeed, but the Purchases.shared.purchase(...) completion block is never called.I do see INFO: 💰 Finishing transaction in the logs, but the completion block itself is never called.Purchases.shared.purchase(package: package) { (transaction, customerInfo, error, userCancelled) in // Never called}I’m trying with a sandbox account on a real device. The same code seems to work for one of my other apps. I’m using purchases-ios 4.17.9. If after a purchase I do a restore purchase action, the entitlement is there for this customer. This confirms that the purchase does succeed.Any idea why this is happening?
Does the RevenueCat SDK cache products between app starts? I can’t find anything in the documentation about this. Use case: user opens app while device is offline and hits a paywall. While they won’t be able to proceed with the purchase, it would still be great to display prices.
Hi, RevenueCat skd is not able to fetch the offers packages, I already check the id and there are the same ( I imported from appStore connect)I ran the app in a device and the simulator, I’m able to fetch the customer info but not the offers.In the logs I can see the offers name but RevenueCat is no able to bring them.See Xcode Logs with the name of the offers:2023-06-07 17:43:31.500572-0500 RevenueCatSharpen[24587:4211535] [Purchases] - DEBUG: ℹ️ No existing products cached, starting store products request for: ["year_subscription", "sharpen_threeM_5M_0"]RevenueCatSharpen[24507:4202388] [Purchases] - DEBUG: ℹ️ Found an existing request for products: ["sharpen_threeM_5M_0", "year_subscription"], appending to completion See the offers name and Ids in Revenue Cat This is the full Log Network operation 'GetOfferingsOperation' found with the same cache key 'GetOfferingsOpe...'. Skipping request.2023-06-07 17:43:30.642469-0500 RevenueCatSharpen[24587:4211535] [Purchases] - DEBUG: ℹ️ API
I am trying to prepare an import script for adding our one-time (i.e. Lifetime) historically purchases from Stripe into RC. I am able to successfully use the API to create annual subscription but have not figured out how to get passed the "{"code":7103,"message":"The receipt is not valid."}" error I keep getting for my one-time purchase query. I am using the Stripe checkout key at the fetch_token and Postman to get test the syntax structure first. Here's my code:header 'Accept: application/json'header 'Authorization: Bearer [stripe_secret_key]'header 'Content-Type: application/json'header 'X-Platform: stripe'{"product_id": "prod_HMezcIkru867vf","price": 99.99,"currency": "USD","is_restore": "false","app_user_id": "ZOVwTCYttQagvnO0ALT7vhmoYWf2","fetch_token": "ch_3K8UhVEwxMCNONa5180XDbh7","introductory_price": 49.99}
Hello,I’m getting 7110 error on sandbox environment(IOS and Android) for 10+ hours. I did not change any code.can you inform me about this issue.LOG : Error Domain=RevenueCat.ErrorCode Code=16 "There was an unknown backend error. Internal server error" UserInfo={readable_error_code=UNKNOWN_BACKEND_ERROR, source_function=convertUnsuccessfulResponseToError(), NSUnderlyingError=0x281a50a20 {Error Domain=RevenueCat.BackendErrorCode Code=7110 "Internal server error" UserInfo={rc_backend_error_code=7110, NSLocalizedDescription=Internal server error}}, source_file=RevenueCat/HTTPClient.swift:410, rc_backend_error_code=7110, rc_response_status_code=500, NSLocalizedDescription=There was an unknown backend error. Internal server error}
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.