Discussion and help from anything related to RevenueCat.
Recently active
Hey,What is the best practice to switch users from existing subscription to life time product on iOS and Android, like lifetime “subscription” which is actually not a subscription but consumable product.As I understand you cannot cancel subscription on iOS , so the only thing is to show link to the user and notify that he should cancel current subscription manually? Little bit not user friendly approach.And for Android seems like you can revoke + refund via api, but only revoke is needed actually not a refund. Or same as iOS to show link to user for cancellation, which is also not a very good option.Thanks
Hello, I was wondering what the best practice is to handle an app with subscriptions when a user cancels the subscription, gets a refund and then possibly reactivates the subscription. Are webhooks the best practice for this?
Context:New, 1.0 release of an app Independent watchOS app, e.g. no iOS app Purchases work in sandbox/simulator and see them show up on the RevenueCat dashboard when viewing sandbox data I’m using the Purchases framework version 3.13.1 with SPMWhen I build and run on my physical Apple Watch and attempt to purchase, I get this failure message:Unable to Purchase AppSign in with your Apple ID from the Apple Watch app on your iPhone[ OK ]But I am already signed in with my personal Apple ID account AND have my Sandbox Account configured on my iPhone.My logs look like with a fresh install/build from Xcode:2022-01-04 12:46:15.726123-0700 Next WatchKit Extension[370:89772] [Purchases] - DEBUG: ℹ️ Debug logging enabled2022-01-04 12:46:15.727275-0700 Next WatchKit Extension[370:89772] [Purchases] - DEBUG: ℹ️ SDK Version - 3.13.12022-01-04 12:46:15.727348-0700 Next WatchKit Extension[370:89772] [Purchases] - DEBUG: 👤 Initial App User ID - (null)2022-01-04 12:46:16.034222-0700 Next WatchKit Exten
Execution of Purchases.purchase(package) returns error bellow.( 5034): type '_InternalLinkedHashMap<Object?, Object?>' is not a subtype of type 'Map<String, dynamic>'It happens inside the purchases_flutter package.package version purchases_flutter: ^3.9.1.
Hi @taquitos With the latest 4.0.0-Beta.3, the return from purchaseProduct:withCompletion can have zero entitlement even though it is not true.I can’t reproduce while in debug mode (randomly happens outside the debugger).Attached is a txt file with a log of successful return (I see some errors but not sure how to cancel them).Thanks,
Thanks for the Platform, guys! Started working with RevenueCat on the Flutter and after callawait Purchases.getOfferings()I get an exceptiontype 'Null' is not a subtype of type 'num' in type castReproduced on the real and virtual Android devices. I wrote issue, but your bot is too evil to let her in) That's why I ask here. Can you help with a solution? This seems to be happening on deserializing JSON like this in this place: Environment Output of `flutter doctor`Doctor summary (to see all details, run flutter doctor -v):[√] Flutter (Channel stable, 2.8.1, on Microsoft Windows [Version 10.0.22000.434], locale ru-UA)[√] Android toolchain - develop for Android devices (Android SDK version 31.0.0)[√] Chrome - develop for the web[√] Android Studio (version 2020.3)[√] Connected device (3 available)• No issues found! Debug logsD/[Purchases] - DEBUG(21462): Debug logging enabledD/[Purchases] - DEBUG(21462): SDK Version - 4.6.0D/[Purchases] - DEBUG(21462): Initial App User ID - nullD/[Purch
I have everything up to date one App Store Connect and i am still getting Invalid Product Identifiers.I checked on the Revenue Cat Account i have 1 product with the right identifier associated with an entitlement.Not Sure what’s is missing. Appreciated for any help.
Is there any way to see a chart that includes Active Subscriptions AND Promotional Status over time?
I am using the Android SDK (with Kotlin) and my product description always comes back null. I can see the product description in the Google Play Store console but it doesn’t come back through RevenueCat. Also when I check the freeTrialPeriod and subscriptionPeriod values they come back with is “P2W” and “P1M” respectively. How do I resolve that into “2 weeks” and “monthly” programatically? Is there an enum or something being use to resolve these? TIA.
New to RevenueCat and cannot seem to find the solution to what to do after making a purchase with this code in Flutter:PurchaserInfo purchaserInfo = await Purchases.purchasePackage( _selectedPackage);How do I properly determine if the purchase to a subscription was successful or not successful so that I can navigate the user properly?
Good afternoon. In addition to monthly/semi-annual subscriptions, we have an opportunity to make one-time purchases (consumable), when a user buys for example 1/5/10 items, his internal balance is replenished and he can spend it at any time. With the current settings on the tests there is no possibility to buy an item more than 1 time. Could you please tell me what's the problem? All done according to the instructions. And also when paying with a test card returns an error in the callback, how to fix
My purchases are successful on real devices. But I am getting the error log in the simulator. This results in a rejection by the review team. What's the solution? (I created and installed the certificate in the document for test device purchases.) Here is my LOG 2022-01-07 00:49:54.151515+0300 ScoutAppFUT21[7770:194248] [boringssl] boringssl_metrics_log_metric_block_invoke(151) Failed to log metrics2022-01-07 00:51:25.634886+0300 ScoutAppFUT21[7770:194001] [Purchases] - DEBUG: ℹ️ applicationDidBecomeActive2022-01-07 00:51:26.017855+0300 ScoutAppFUT21[7770:196034] [boringssl] boringssl_metrics_log_metric_block_invoke(151) Failed to log metrics2022-01-07 00:51:26.320790+0300 ScoutAppFUT21[7770:194001] [Purchases] - DEBUG: ℹ️ Vending PurchaserInfo from cache.*********User is not Premium*********2022-01-07 00:51:26.344411+0300 ScoutAppFUT21[7770:194001] [Purchases] - DEBUG: ℹ️ Vending Offerings from cacheUser is not yet Premium2022-01-07 00:51:27.356642+0300 ScoutAppFUT21[7770:194001] [Pu
Hello! I created the Service Account following all the instructions in the documentation, I've integrated the json file on RevenueCat correctly and more than 36 hours have passed (4 days have passed since). After some trials I'm still getting the credentials issue on Android, whereas on iOS everything works like a charm. Could you help me understand where the problem is? I had a before Christmas due date for this integration but this is taking longer than I thought unfortunately.Here is the code I’m getting:ERROR(30208): 🤖‼️ There was a credentials issue. Check the underlying error for more details.I’m using Flutter with the purchases_flutter version 3.3.1Thank you in advance!
Hi. I am still designing my project architecture, Im planning to use revenue cat as the payment for may application. Process1 - User buys an item in the App2 - User are now able to view the details (videos, images etc.)How am i going to sync the revenue cat data to my own personal database which is going to be either of the ff (MySQL, DynamoDB, MongoDB etc.)Where should i verify if the user has already purchased the item ?Is it from the revenue cat or in my personal database ?Thank you everyone. Have a good day!
Hi,I recently change the Service Account JSON because the old one did not work after moving app to another account on Play Store Console. I changed it 48 hours ago and I still have Invalid Play Store credentials.I verify that the Service Account JSON hasn’t any space after copied it from RevenueCat page. I double checked that everything is ok after following your guide.You say in the guide that it can takes 36 hours, in the support, you say 48 hours. What the max time should I wait before recreating the service?For the spaces, I entered the JSON with spaces but when I download it from your site, there isn’t any space, you remove them automatically?Do you have on your side more information to help me?Thanks
Hei there.We are getting closer and closer to finally launch the app :)But yesterday we found that not all RENEWAL events are send to our server.For one test purchase I got 8 Emails from Google (initial purchase, 6 renewing and cancelling)In the RC Dashboard I only see 3 events for this user, INITIAL_PURCHASE, RENEWAL, CANCELLATION.In a previous test I got 4 events from RC, this time there were 2 RENEWAL events inbetween INITIAL_PURCHASE and CANCELLATION.Why is this happening? And a Bonus question is about the BILLING_ISSUE and the CANCELLATION events. When the subscription ends, like in this case because the user did not pay anymore, shouldn’t there be both events fired? Or do they just show up as one event in the RC dashboard?
https://docs.revenuecat.com/reference/receiptsOn this link, I’ve tried post request with my sample data.But I got this error.{ "code": 7227, "message": "Content-Type not application/json"}How can I resolve it?Thanks
We have a subscription info screen in which we show the user’s current subscription and its price.We couldn’t find a way to get this price.We can get the offerings and use the `purchaserInfo.activeSubscriptions` to find the related product and its price, but the offerings could change with time.. We would like to know the price that this user is currently paying.
Please check below details about bug. User has purchased subscription from application. Once user close the app and open again within same day or within some time. We are getting purchase info. with active status true. So, in this case it’s working well. But if user reopen app after a day or couple of days, we are getting purchase info. NULL(Purchases.shared.purchaserInfo) even my purchase is still valid. Now if user restore it then it’s again working well and I am getting purchase info. in restore purchase request. Can you please help me out for this? I don’t know why it’s happing and what is the solution for this. Also, I am seeing dozens of user Aliases in Revenue-cat portal, Aliases are created on daily bases. Not sure why so many aliases created for particular user even subscription is not expired.
I migrated my app to RC, however my previous users are having the sync problem.Previously, I was not using a back-end for the subscriptions, so I was using the client-side receipt validation on iOS (React Native IAP package).I am trying to sync my previous users, but a little bit confused about the steps;if (isSubscribedInOldSystem && !isSubscribedInRevenueCat) {Purchases.syncPurchases();} 1 - What should I provide to the syncPurchases() function?2 - If I need to provide the receipt, should I provide full receipt? or just the receipt body? I mean, I was using this validation method;const receiptBody = { 'receipt-data': receipt, // Should I provide this to RC? password: 'PASSWORD', }; await IAP.validateReceiptIos(receiptBody, false) .then(response => { try { const renewalHistory = response.latest_receipt_info; const expirationDate = renewalHistory[0].expires_date_ms; const isExpired = Date.now() > expirationDate;
Hello,I’m using Qt (version 6), with cmake builder to create an app on IOS and Android.The code is in C++ for major part of logic, QML for UI, Objective-C and Java for platform-specific logic. The previous version of my app, use Qt5 and QtPurchasing to manage in-app purchase and I have only one non-consumable product to unlock premium features.I have updated my app to Qt6, and make in-app purchase works with qt example with native code.But now, I want to manage auto-renewable subscriptions and I have difficulty with native code to manage it.So I look for RevenueCat but I don’t achieve to install the SDK in my project. I started with IOS integration.I have look the GitHub purchase-ios and try to make direct integration.I have successfully include Purchase.h in my Objective-C file but purchase-ios is not build so linker not found RCPurchase symbol. I have try Swift package but I encounter problems with a Xcode bug which block swift package dependency adding, and failed during loading of
I have a customer who signed up for a 7 day trial on 12/20/2021. This is listed correctly in the Customer History in the Customer report. In the same customer report it shows “Trial converts on 2021-12-29”. Why would a 7 day trial go 9 days? In the customer history there is no activity other then :First seen using the app (also on 12/20/2021) Started a trial (12/20/2021) Last opened the app (in last day)Looking at the event data for the Started a trial event the expiration (which should be the conversion) is listed correctly as 1640639521296 which is 12/27/21 - 7 days after trial started.
I am building a Tip jar in my App which I have configured as a Consumable In App Purchase (IAP) on App Store Connect.At present I have added those consumable IAP as products in my Revenue Cat dashboard with associated product IDAfter going through the docs as well as online tutorials most of them focus on Subscriptions which should be packaged as offers.Even the API that I am using to fetch the products in my app points me in the direction to use offers instead.So I am a bit confused, should I be using offers with each IAP being a separate offer ? or should I continue using my current setup of 3 products with no offers & entitlement ?
Hi RevenueCat, I’m glad that RevenueCat exists to help bridge the gap for in-app payment/subscription on the different platforms. For my app, I’m currently using Flutter SDK to get in-app auto-renewable subscription setup for both Android and iOS. I have read through the setup docs and have already done the setup, and I’m testing this locally in iOS simulator on iOS 15/14.5.I’m aware that iOS 13 and below, is not compatible with testing in iOS simulator but with 14 and above, it should be compatible. I’m using the latest flutter SDK (purchases_flutter: ^3.8.0)These are the following things done:App Store Connect:In-app purchase package creation App-specific shared secretXcode:Adding In-app purchase feature Package setup StoreKit configurationRevenueCat:Bundle ID setup Package creation to be the same as App Store connect Uploaded StoreKit public certI am able to retrieve the packages that are setup in the Flutter app correctly. However, when the code is called for Purchases.purchasePack
Hi, so we are using ionic capacitor framework. Everything works fine on IOS but we have problem with Android. So when we start the build we are running into this errors. Tried different gradle versions 4.2.2 and 7.0.3 - 7.0.4 "@angular/common": "~12.1.1", "@angular/compiler": "~12.1.1", "@angular/core": "~12.1.1", "@angular/fire": "^6.0.5", "@angular/forms": "~12.1.1", "@angular/platform-browser": "~12.1.1", "@angular/platform-browser-dynamic": "~12.1.1", "@angular/router": "~12.1.1", "@angular/service-worker": "~12.1.1", "@bugsnag/js": "^7.13.2", "@bugsnag/plugin-angular": "^7.13.2", "@capacitor-community/fcm": "^2.0.2", "@capacitor-community/firebase-analytics": "^1.0.0", "@capacitor-community/native-market": "^0.1.4", "@capacitor/android": "3.1.2", "@capacitor/app": "1.0.2", "@capacitor/browser": "^1.0.2", "@capacitor/core": "^3.1.2", "@capacitor/device": "^1.0.3", "@capacitor/haptics": "1.0.2", "@capacitor/ios": "^3.2.
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.