Get help with your SDK implementation.
Recently active
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
I’m not seeing a way to do this, but I just wanted to be sure. Is it possible to attach custom data to a purchase? I am looking for a way for my users to leave feedback with donation purchases. Thanks!
Hi Team/Community,I have a issue at the moment where a user can not make a purchase on the Apple App Store in BOTH Production and Testing, which rules out Sandbox accounts etc (have also dived down said route). The same code is working perfectly for Android. Things I have explored/tried:Deleting and creating sandbox accounts for Apple. Checked I have no outstanding agreements with Apple. Made sure in-app purchases in enabled. Tried configuring the purchases_flutter package with both legacy and new api key. I am sure a ton more, that I don’t remember.The error looks as follows:flutter: \^[[38;5;12m│ 💡 now trying to purchase<…>[Purchases] - DEBUG: ℹ️ Vending Offerings from cache[Purchases] - DEBUG: ℹ️ makePurchase[Purchases] - DEBUG: 💰 Purchasing product from package - finMonitor_1500_1y_1w0 in Offering App Access[Purchases] - DEBUG: ℹ️ PaymentQueue updatedTransaction: finMonitor_1500_1y_1w0 (null) ((null)) (null) - 0<SKPaymentQueue: 0x2824dfa00>: Payment completed with e
Please, do not underestimate information in this post:Especially, point number 2. I spent three or more hours trying to catch the error in the Cloud/Play Consoles to finally realize that - for a very strange reason :) - I hadn’t had configured my Google Play package….
I’m getting a successful “response” from the native iOS purchase dialog (it gives me the check and the happy ding sound) but RevenueCat fails. Unfortunately, the failure also takes like 30 seconds to be responded to so beyond it failing, the failure is a bad UX and it’s not really clear how to handle it. Below are the debug logs. This is in our sandbox environment:[Purchases] - DEBUG: ℹ️ Debug logging enabled[Purchases] - DEBUG: ℹ️ SDK Version - 3.12.6[Purchases] - DEBUG: 👤 Initial App User ID - (null)[Purchases] - DEBUG: 👤 Identifying App User ID: $RCAnonymousID:aa5680df790640a0823e5cd15d8d05ed[Purchases] - DEBUG: ℹ️ Delegate set[Purchases] - DEBUG: ℹ️ There are no requests currently running, starting request GET /subscribers/$RCAnonymousID0X0P+0aa5680df790640a0823e5cd15d8d05ed[Purchases] - DEBUG: ℹ️ API request started: GET /v1/subscribers/$RCAnonymousID:aa5680df790640a0823e5cd15d8d05ed[Purchases] - DEBUG: ℹ️ There's a request currently running and 0 requests left in the queue, que
Your documentation says we can access Expiration Date using EntitlementInfo but no code is given in how to call this object in React Native and I am having trouble to get this information.-> https://docs.revenuecat.com/docs/purchaserinfo#section-get-entitlement-information
Hi,I am getting this error Cannot access 'configure': it is internal in 'Companion' with the line below. import com.revenuecat.purchases.*Purchases.configure(PurchasesConfiguration.Builder(this, "public_google_sdk_key").build())
iPadOS 15 running app from Xcode fails to return any products. Restore Purchases also fails to return.Rebooting iPad allows it to work first time only.This issue is specifically relating to auto-renewing subscriptions.Built using Xcode Version 13.0 (13A233)No issue with same code on iOS 14.Success and failure logs follow.Success:2021-09-24 16:17:50.773181+0800 ZeroTime[345:4478] [Purchases] - DEBUG: ℹ️ Debug logging enabled2021-09-24 16:17:50.773293+0800 ZeroTime[345:4478] [Purchases] - DEBUG: ℹ️ SDK Version - 3.12.42021-09-24 16:17:50.773336+0800 ZeroTime[345:4478] [Purchases] - DEBUG: 👤 Initial App User ID - (null)2021-09-24 16:17:50.777445+0800 ZeroTime[345:4478] [Purchases] - DEBUG: ℹ️ Sending latest PurchaserInfo to delegate.2021-09-24 16:17:50.778858+0800 ZeroTime[345:4478] didReceiveUpdatedPurchaserInfo: <PurchaserInfo originalApplicationVersion: (null), latestExpirationDate: (null) activeEntitlements: {}, activeSubscriptions: {}, nonConsumablePurchases: {()}, requestDate: 2
We have a Node server that uses axios to communicate with revenuecat’s REST api. We are hitting the ‘Get or Create Subscriber’ endpoint, using our private key, and no X-Platform header from within our server. For exampleOur Express Server has an endpoint ‘/billing’When a user hit this endpoint, our server hits revenuecat’s https://api.revenuecat.com/v1/subscribers/app_user_id endpoint to get the user’s info and returns it. Everything works great when /billing endpoint is hit from Postman. When /billing is hit from mobile, we get a 429 too many requests error. We can log the request right before axios sends it with axios interceptors, and the requests from postman and mobile are the exact same. There is only one request being created, so the 429 error makes no sense. Everything about the request is exactly the same as our server is the one performing the request, it is just initiated through our REST endpoint from mobile instead of Postman, which axios and revenue cat should have no ide
Hey everyone! We just switched from Unity’s native IAP to RevenueCat for all kind of IAP/subscription operations. We completely deleted Unity IAP from the project and installed RevenueCat as stated in the document. Although everything looks perfectly fine, we get this error while trying to upload the archived bundle to App Store Connect: ERROR ITMS-90206: "Invalid Bundle. The bundle at 'APPNAME.app/Frameworks/UnityFramework.framework' contains disallowed file 'Frameworks'."This issue has started to occur right after the Revenue Cat integration. Additional Info:Unity 2020.3.25f1 xCode 12.5.1 Cocoapods 1.11.2 (latest) EDM4U 1.2.169 (latest)Thanks in advance!
Hello, in the iOS SDK theres information about the renewal of entitlement, but not in the REST API. Is there a reason for this? we are validating the subscription on backend and need full information to also serve back subscription information to the user. Also how can I detect user chose to downgrade to lower subscription in the same group on next renewal? Thanks
I set up everything as in documentation, waited for 5 days, removed extra spaces from JSON credentials, and still getting that error “Invalid Play Store credentials“ after making a purchaseWhat should you recommend I do next?
I have some promotional subscriptions with introductoryPriceAmountMicros (for example: $9.99 first 12 months, then $19.99) and I have to show permanently what subscription has the current user and at what price was purchased (for example: Premium - $9.99). But after the purchase is made, introductoryPriceAmountMicros from SkuDetails is zero, and then my text will be “Premium - $0.00” which is wrong because the user did not purchase the subscription for $0.00. So, my questions are: what is happening with introductoryPriceAmountMicros after purchase? Where is the data lost? Is there another way in RevenueCat to get this information?
Hello, I hope all is well. I’ve implemented checkTrialOrIntroductoryPriceEligibility in my iOS app to be called whenever the annual product is successfuly retreived and we’re about to show the user the prices. When testing with Xcode, everything runs smoothly, but in TestFlight a sign-in to your Apple ID prompt will appear everytime it’s called. This prompt is not shown when you download the same build from the App Store, only when it’s downloaded from TestFlight. This has been happening since I’ve added the code in mid-December, but now I would like to add test users to TestFlight and do not want to show this prompt everytime. I’ve seen that there’s been other posts about this, with only one of them having a workaround. I was wondering/hoping if there has been any new developments on this or anything else that we should try? Using CocoaPods and Purchases 3.13.2. Any advice is greatly appreciated. Thank you in advance!
Hello all,we have observed that some of our users that try to buy our product are ending up with the following error:Error updating purchases. DebugMessage: . ErrorCode: 6From what I have seen in Android’s SDK, this points to Play Billing’s API internal error.Are there any way to mitigate this? We have a suspicion that this greatly reduces our conversions rate compared to other means of in-app payments. (source of the error message: https://github.com/RevenueCat/purchases-android/blob/f7fac296913c531dc132b243f17ba0d05922c07b/feature/google/src/main/java/com/revenuecat/purchases/google/BillingWrapper.kt#L523)
Last month I installed RevenueCat via Swift Packages in one of my SwiftUI apps and everything was working great until today when I tried to install a new package (Firebase) and I ran into issues installing it. I’m not 100% but I think my issue with RevenueCat started when I accidentally clicked on the `Update to Latest Package Versions` in Xcode. After that I started seeing a message that said something like…Dependencies could not be resolved because no versions of 'purchases-ios' match the requirement 4.0.0..<5.0.0 and root depends on 'purchases-ios' 4.0.0..<5.0.0. Then I removed the RevenueCat package and reinstalled the version suggested in the documentation (3.12.6 < 5.0.0, I actually used 3.12.6 < 4.0.0 since I could’t change it to < 5.0.0), after this new version I started getting errors within my code, for instance I’m getting the following error message… import RevenueCat Purchases.shared.restoreTransactions { (purchaserInfo, error) in // code here
I’m trying out RevenueCat on my Ionic/Vue app. I see there are installation docs for Angular and React but not for Vue. Has anyone went through the install/configure process for Ionic and Vue? Or are there additional docs or blogs out there that could assist? Thanks.
Hi running into this error when using the Refund and revoke a Google Subscriptionhttps://api.revenuecat.com/v1/subscribers/{app_user_id}/subscriptions/{product_identifier}/revokeI’m getting a Response code of 400 with this body { "code": 7227, "message": "Content-Type not application/json"}I can confirm that the transaction did go through here’s the sandbox log Now here’s my requestNote: I’ve removed the token for security purposes Hope someone can help!!
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.