Discussion and help from anything related to RevenueCat.
Recently active
I'm using the latest purchases_flutter: ^6.5.0. All setup is done for Android, Apple consoles, and RevenueCat console, and the testing account is properly configured. Subscription purchase works correctly on iOS, but on Android, it displays the following error: PlatformException(5, The product is not available for purchase., {code: 5, message: The product is not available for purchase., readableErrorCode: ProductNotAvailableForPurchaseError, readable_error_code: ProductNotAvailableForPurchaseError, underlyingErrorMessage: Error updating purchases. DebugMessage: . ErrorCode: ITEM_UNAVAILABLE., userCancelled: false}, null) I have tried the following methods, but they all result in the same error:var customerInfo = await Purchases.purchasePackage(package!); var customerInfo = await Purchases.purchaseStoreProduct(package!.storeProduct); var customerInfo = await Purchases.purchaseProduct("tv_basic_annual"); There are other threads where the same issue is reported, but the solutions are fo
I would like to use paywall for Flutter.Although I read this description (https://github.com/RevenueCat/purchases-flutter/releases/tag/6.3.0-beta.1), I can not understand how to configure MainActivity.This is my current MainActivity.kt, but I encountered the error: Unresolved reference: revenuecat .package my_personal.appimport com.revenuecat.purchases_flutter.PurchasesFlutterActivity// Paywall Supportclass MainActivity : PurchasesFlutterActivity() {}
Is it possible to share entitlement between IOS and Android ? I thought it is possible but I could not get EntitlementInfos from CustomerInfo object via same user id. The entitlement surely shows on dashbord but when I opened my app and saw the logs. it showed empty in the object.. I am woking on sandbox.
I’m following the RC docs for Stripe. I had one questions. After calling the RC POST receipt endpoint, will RC fire a webhook to my server with the subscription and or trial start event?
I’ve successfully, it seems, integrate revenue cat with my firebase auth backend. Now I’m wondering what is the recommended customer journey in terms of what they do first? Should I ensure that my users first authenticate with firebase, before allowing them to purchase an in-app subscription?What would happen if they first purchased the subscription and then authenticated on firebase after?Thanks for any help or suggestions.
Hello,I’m currently working on the ability to retrieve the data from RevenueCat via the API v2. Is there a way to have historical data, especially for the count of active subs and trials? Moreover, lots of different information are missing such as the renewal rate or the refund rate. Can we have access to it via the API? Finally, is there a way to split the data on the country or at least create filters to retrieve specific data?
I don’t know if paywalls do not work in objective-c or if I’m doing something wrong. Well it currently doesn’t work that way and crashes on initialisation:RCPaywallViewController *paywallController = [[RCPaywallViewController alloc] init];[self presentViewController:paywallController animated:YES completion:nil];
I use react native (react-native-purchases 7.4.0) and while executing getCustomerInfo, i get the correct subscription status (It is a renewal in a subscription).{ "activeSubscriptions": [ "rc_5_1m_1w0" ], "allExpirationDates": { "rc_5_1m_1w0": "2024-01-04T09:54:55Z" }, "allExpirationDatesMillis": { "rc_5_1m_1w0": 1704362095000 }, "allPurchaseDates": { "rc_5_1m_1w0": "2023-12-04T09:54:55Z" }, "allPurchaseDatesMillis": { "rc_5_1m_1w0": 1701683695000 }, "allPurchasedProductIdentifiers": [ "rc_5_1m_1w0" ], "entitlements": { "active": { "month": [Object ] }, "all": { "month": [Object ] }, "verification": "NOT_REQUESTED" }, "firstSeen": "2023-12-04T19:19:26Z", "firstSeenMillis": 1701717566000, "latestExpirationDate": "2024-01-04T09:54:55Z", "latestExpirationDateMillis": 1704362095000, "managementURL": "https://apps.a
My app has a lifetime subscription in-app purchase (for removing ads). I’ve used RevenueCat from the start, 4 months ago, and it worked flawlessly until now, both with regular paid purchases and promo codes. Users redeemed the code in the Play Store and the next time the opened the app the purchase was in their entitlements.A few days ago I found out that nothing happens anymore when a user redeems a promo code. Those kind of purchases are still regularly processed by the Play Store but now they don’t appear in the “overview” section of RevenueCat, and when the app retrieves the customer info (even after trying to restore the purchases, of course) there’s no sign of their existence. Regular purchases still work, apparently.I’ve tested with several users, even from different countries: same outcome.I’m pretty sure that the entitlements obtained with promo codes in the past still work; the problem occurs only with new attempts that have been made last month. The codes that I’m testing ar
Contacted support already about this issue and received a response asking me to try enabling debugging but I replied back to say that the code snippet I provided included this linePurchases.setLogLevel(LogLevel.debug);Which as far as I know enables debugging so it was already on. Two days on I never received another reply from support so I’m trying here.I'm using the code below with revenue cat testing with a sandbox user in my flutter app. The apple in app purchase window appears, I purchase, input the password and it goes to the next screen to finish the purchase but I never actually see "Purchase successful. Ads removed!" printed. The public_sdk_key must be correct since the correct offerings are found. Of course the keys and IDs below are not the ones I'm using for testing, I am using the correct ones. I have created a non consumable in app purchase in app store connect and it's status is 'ready to submit'. pubspec.yaml import = purchases_flutter: ^6.4.0 Offering? _offering; @overr
I have four Google Play subscription types:Standard Monthly - $5/monthStandard Annual - $50/yearPro Monthly - $10/monthPro Annual - $100/year We are struggling with the following scenario:A user pays for Standard Annual then quickly changes their subscription to Pro Monthly (e.g. they only use 1/10th of the standard annual entitlement).Where does the value of the unused Standard Annual entitlement go?We would like the unused value of the Standard Annual entitlement (e.g. $45) to be credited to their account and used for their Pro Monthly payment - is this possible?
I want to activate and deactivate an IAP for lifetime in Google Play Console (and NOT in RevenueCat) because I want to not to show up in any Google Play page.In order to detect in my app if that IAP is active or not - is there a flag that tells me “active/inactive”?I tried to find it in the Android SDK doc but couldn’t find anything.
I have set up the storekit configuration file as per your guide but when using it with the duplicate scheme the offerings fail to load:Error fetching offerings - The operation couldn’t be completed. (RevenueCat.OfferingsManager.Error error 1.) 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-emptyHowever id I use the original scheme in xcode the offerings load fine, which suggests there’s a problem with the storekit config file, but I don’t know what. The product ID seems to be correct and it’s target membership is set to Runner. Also if I edit the Runner copy scheme to remove the storekit config file it also manages to load the offerings. There’s so little to set up with the storekit config file I don’t know what could be wrong. Of course I also downloaded the certificate and uploade
In my flutter app i followed this video steps : https://youtu.be/TrkiSZ2mnlo?si=ko6_FyFvwBjl0mAP :I have this elevated button to make the purchase : ElevatedButton( onPressed: () async { try{ await Purchases.purchaseProduct('Zenth_2000_coins'); debugPrint('Payment success'); } catch (e){ debugPrint('Failed : $e'); } }, child: Text( 'Buy', ), ), now when i test and i hit purchase and type my sandbox account password , the apple pay window close and opens again and if i try again and click purchase and type the password it just keeps on this loop and the transaction never appears on my revenuecat dashboard and never prints payment success ( i ticked the sandbox on revenue cat , and checked all the steps
Hello,I tried to test current MagicWeather and purchase_tester Flutter examples with iPhone 15, purchases_flutter: ^6.3.0I configured everything correctly; “paywall” shows in-app subscription, I click to buy, it opens native iOS screen where I input Email and Password and confirm purchase, then it goes back to “paywall”. It is in a loop. I tried to debug. After making purchase, it goes back to “paywall”; when I close “paywall”, I receive this output in debug console of XCode: metrics = { actionUrl = "sandbox.itunes.apple.com/WebObjects/MZBuy.woa/wa/inAppBuy"; dialogId = "MZCommerceInAppBuy.ConfirmationNeededForBuyRecurringItem.CPS.Auth"; eventType = dialog; message = "Sign in with Apple ID"; mtEventTime = "2023-11-18 16:08:20 Etc/GMT"; mtTopic = "xp_its_main"; osloTitleType = text; osloTitleValue = "AbstractSalableInfoModule.SandboxTitle"; topic = "xp_its_main"; }; pings = ( "https://xp.apple.com/report
Does RevenueCat use https when communicating with the backend?In the Export Compliance Information in Apple app store connect, I must provide information about encryption, and https is listed as internal encryption, hence I need to know if RevenueCat SDK is using https.ThanksFredrik
Looking at this guide and it makes sense but for data deletion I am still trying to understand what information RC is collecting that I am not providing via the SDK. I do not set any attributes or anything extra. Just the app user id which is a guid. Does anything still need to be deleted from RC when user deletes /requests delete their account?Also how does this work if user still has active subscription but delete is request and the delete would be made via the RC API?
This is the Crash Report I got from the Play Console: Typejava.lang.NullPointerExceptionException java.lang.NullPointerException: at com.revenuecat.purchases.PurchaseParams$Builder.<init> (PurchaseParams.kt) at com.xxxxxxxxxxxx.MainActivity.purchase (MainActivity.java:2103) at com.xxxxxxxxxxxx.MainActivity.lambda$showPaywall$33 (MainActivity.java:2014) at android.view.View.performClick (View.java:7792) at android.widget.TextView.performClick (TextView.java:16112) at android.view.View.performClickInternal (View.java:7769) at android.view.View.access$3800 (View.java:910) at android.view.View$PerformClick.run (View.java:30218) at android.os.Handler.handleCallback (Handler.java:938) at android.os.Handler.dispatchMessage (Handler.java:99) at android.os.Looper.loopOnce (Looper.java:226) at android.os.Looper.loop (Looper.java:313) at android.app.ActivityThread.main (ActivityThread.java:8751) at java.lang.reflect.Method.invoke at com.android.internal.os.RuntimeInit$MethodA
I am currently facing an issue with tracking subscription purchases in my iOS application using Revenucat. While I can successfully track in-app purchases, subscription purchases seem to elude the tracking mechanism. I have meticulously reviewed the relevant code and event tracking settings, but the issue persists.Has anyone encountered a similar problem before or can offer suggestions on how to correctly configure subscription purchase tracking? I would greatly appreciate any insights or assistance.
The response time during in-app purchase is very slow. Everytime I try to make a test purchase and click on a package, it take a 4-6 seconds for the bottom sheet to show up, where I can make the purchase. similarly, after the purchase, there is a several seconds ( 5-6 seconds) wait period to get the acknowledgement that the purchase is successful. This is a poor experience for the user. Do others experience the same response time? Is there anything I can to improve the response time? Thanks in advance for your help.
Hi,I a trying to set up webhook in the dashboard, but I am getting ‘Invalid URL.’ error.My endpoint is « https://api.MYDOMAIN.studio ».It works when I try « https://MYDOMAIN.com ».« api. » subdomain and « .studio » domain seem to be the cause of the error.So my question is, is it normal behavior?Thanks.
The customer history for my user makes no sense. How can events of billing error and expiry come 1 day after the subscription has expired and it wasn’t renewed.
How to synchronize the subscription status of RevenueCat on my own server
the below method has two handlers for the purchasepublic func presentPaywallIfNeeded( fonts: PaywallFontProvider = DefaultPaywallFontProvider(), shouldDisplay: @escaping @Sendable (CustomerInfo) -> Bool, purchaseCompleted: PurchaseOrRestoreCompletedHandler? = nil, restoreCompleted: PurchaseOrRestoreCompletedHandler? = nil)How can our application detect when the purchase is completed or restored when using a custom paywall?
Hello, I configured MagicWeather example (by only changing `appleApiKey` and `ios` bundle name); I also created in-app subscription product in Apple App Store, and configured RevenueCat. Subscription is shown correctly, but it seems transaction never finishes, I am in a loop: Click on "Change the Weather" opens "paywall" widget with correct price shown, and "terms and conditions" footer. Click on the product item in the list (and I have single product only) will popup iOS username/password screen, "Sign in with Apple ID" After authentication, I can "purchase" chosen product, using iOS "Sandbox" native widget (in my case, clicking "Subscribe" button triggers "Enter password to authorize this transaction") After "purchase" it returns to "paywall" screen, and after few seconds delay it returns back to iOS "purchase product" widget, although I don't click anything. In a loopI also added debug message right after `await Purchases.purchasePackage(myProductList[index]);` and it seems this ca
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.