Get help with anything related to RevenueCat.
- 557 Posts
- 1,303 Replies
What would be the best way to give the user a free month if they are already had a subscription? We want to implement a referral reward system in our app and the user can redeem multiple free months separately so we would want them to stack if possible.I’ve seen that both iOS and Androids have Promo Codes we could give to users but those seem to be for new users:https://docs.revenuecat.com/docs/ios-subscription-offershttps://docs.revenuecat.com/docs/android-promo-codesI did see that RevenueCat has an API to extend this as well, but wasn’t sure how that would work. Is RevenueCat that one that tells Apple or Google to charge for the subscription again? If not does it tell Apple or Google to not charge until a certain time? Do they stack? Here is the url to the API:https://docs.revenuecat.com/reference/grant-a-promotional-entitlementThanks for the help!Asher
We need to add some metadata (key-values) to user’s payments. As an example, we’d like to send workspaceId and other key-value parameters along with a payment that user is creating.I understand that there is a Subscriber attributes which offers capturing custom metadata on the user object, however what we need is to attach metadata to individual payments and not users.Anyway to acheive this functionality with RevenueCat APIs?
Hello, I have a problem with implementation of restore purchases (I am using RevenueCat anonymous ID’s). When I run Purchases.shared.restoreTransactions in Xcode it returns right subscription status but when I upload it in TestFlight it stops working. I am signed with the same sandbox account. Any ideas what I am doing wrong? Thanks in advance
We've just released an update to our approved app in the App Store (iOS). However, when attempting to subscribe to an IAP, the value from the store is returning $0.00, and the trial is not showing despite everything being set up correctly in App Store Connect.We have changed the version number for the app, along with the build number, which seems to be the only thing that's changed for iOS.Has anyone run into this before? We've been rejected by Apple because the subscription price does not match that advertised in the app.Any help greatly appreciated!
Is there an REST API for retrieving all Products under a project? I need it to integrate into our CMS. Internally I see this https://api.revenuecat.com/internal/v1/developers/me/projects/XXXXX-PROJECT-ID/productsBut it does not work with the REST API. Thank you
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
I am testing a tvOS app that has a subscription and two consumable product IAP. The consumable product IAP works properly when running the tvOS app via Xcode. However, when running the same app via Test Flight, the consumable IAP does not allow the purchase of a second exact consumable and instead provides this message: “The In-app purchase has already been bought. It will be restored for free”. Again this is a consumable purchase so there should be no restoration and the user should be able to purchase it as often as they want. This again does NOT happen when running via Xcode. The consumable IAP is set as consumable on App Store Connect and is not associated with any entitlement here on RevenueCat. I am obviously concerned that if it’s happening on TF that it will happen in production as well. Why is this occurring? Thanks.
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
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?
hi, i was trying to set up a consumable products based on Non-Subscription Purchases doc recommendations from revenue cat https://docs.revenuecat.com/docs/non-subscriptions.but after calling purchaseProduct for a consumable product i can't seem to purchase this product again because it was bought as a non-consumable the flutter in_app_purchase package has two methods to buy product (buyConsumables or buyNonConsumables) does revenue cat have similar way or other to make sure a product can be bought again
Hi,I have an iOS App that requires users to log in and an in-app subscription to access to Premium features. Currently all available in-app subscriptions are individual and non-family shareable. I would like to start selling new in-app subscriptions that can be shared between all family members. My App currently does NOT implement any in-app subscription restore capability. In your documentation it says that there’s nothing to be done in our Apps to support subscriptions that are set as Family-shareable in AppStore Connect. My question is: is it required or not to implement the in-app subscriptions restore functionality in my App to enable another family member of the user that made the initial Family-shareable subscription purchase to access to the Premium features of my App?Thanks for your help.
In the process of debugging some other issue (separate post), I removed all my Apple products from my app’s configuration in RevCat. However, the app is still loading these products. I expected the app to get a blank result or some exception when callingawait Purchases.getOfferings();(React Native / Expo app)Is my expectation wrong here? If not, is there some known delay between when I remove the products and when the apps stop getting these back?Thank you!
Hello, We have 3 auto-renewable subscription products setup with a 30 day free introductory offer and we just went live with RevenueCat :) So there is a user who subscribed with the trial and upgraded after a few hours. We received the `PRODUCT_CHANGE` webhook with the correct `new_product_id`. However, we did not receive any webhook afterwards. We expected a `RENEWAL` webhook with the new product id as `product_id` as per the documentation here. Our webhook listener simply listens to all events and then poll the RevenueCat api and update the database at our end for the `product_id` which was sent from the webhook. It is important for our server to be up-to-date as the entitlements are handled by our server. Could someone let me know what can be done in a situation like this? I did happen to see this but not very sure if they are related. Thank you!
Question: Can any errors made on Revcat products possibly cause an app to crash upon initializing?Background story: We created new products for Black Friday and implemented them via Firebase Remote Config. After Black Friday was over, when I switched to our usual old lifetime subscription product via remote config, the purchase screen started crashing. Then I discovered that there was a missing entitlement (or an attachment) for that product and clicked on “attach”- it is interesting that how this product hasn’t been crashing before even though we’ve been using it all along for years.Anyways, after “correcting” the product, the issue was fixed, however, starting from that day, we started getting crashes on app initializing (it either crashes or the “initializing” screen stays forever).Note: There hasn’t been any updates on the app around that time. 60% of the crashes came from iOS 15 & iPadOS 15.
Log in to the Community
Authenticate with RevenueCat
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.