Skip to main content
Solved

How can we know the base subscription plan that the user is paying every cycle?

  • March 18, 2024
  • 1 reply
  • 109 views

Forum|alt.badge.img+3

LE: Title fix: How can we know the base subscription plan price that the user is paying every cycle?

 

In our app, we have a screen where we display information about the currently active subscription, including the base plan price per month (or per year). - the price that is paid without any discounts applied

 

Up until now, we got this price by asking the RevenueCat SDK for the current offering. (`getOfferingsWith` in Android)

 

However, we want to increase the price of the subscription for users who will purchase the subscription after the price increase, while keeping existing subscribers on the old price, so we cannot rely on this method anymore, otherwise we’ll end up displaying the new price for old subscribers too, even though they won’t be paying the new price.

 

We are aware of the `price_in_purchased_currency` field in the webhooks, but that will include discounts, and will also be `0` when the user is in trial - that is not what we want to display.

 

Is there a way to get the correct base plan price? I am asking for both the Android and the iOS app, in case there is a different way, for each platform.

 

Thank you in advance for your help on this!

Best answer by sharif

Hey @Radu S,

Unfortunately I don’t have a great solution for you here. We do it at RevenueCat by saving and looking up the customer’s history of purchases to determine what the price of the next renewal will be. You’d have to implement your own system for doing this, potentially by saving their original price on the device or server and looking it up. Alternatively, you can leave the price information off and direct users to go to their subscription management settings on their device where all of that info will be. In fact, that’s probably the most accurate way to do this since that’s the source of truth for the user. You do this by navigating to the managementURL: https://www.revenuecat.com/docs/subscription-guidance/managing-subscriptions#using-the-managementurl-to-help-customers-cancel-a-subscription

View original
Did this post help you find an answer to your question?
This post has been closed for comments

1 reply

sharif
RevenueCat Staff
Forum|alt.badge.img+9
  • RevenueCat Staff
  • 518 replies
  • Answer
  • March 20, 2024

Hey @Radu S,

Unfortunately I don’t have a great solution for you here. We do it at RevenueCat by saving and looking up the customer’s history of purchases to determine what the price of the next renewal will be. You’d have to implement your own system for doing this, potentially by saving their original price on the device or server and looking it up. Alternatively, you can leave the price information off and direct users to go to their subscription management settings on their device where all of that info will be. In fact, that’s probably the most accurate way to do this since that’s the source of truth for the user. You do this by navigating to the managementURL: https://www.revenuecat.com/docs/subscription-guidance/managing-subscriptions#using-the-managementurl-to-help-customers-cancel-a-subscription


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings