Question

How to show the price of the current active subscription

  • 21 October 2021
  • 2 replies
  • 17 views

Badge

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.


2 replies

Userlevel 3
Badge +7

Hey @Gilad Gotman!

Price information is currently not available in our SDKs or REST API.

As a workaround, you could forward your users to the App Store or Google Play to check their currently active subscription and the related pricing info. Additionally, as you mentioned, you could fetch offerings and find the related product and display that price (although this isn’t foolproof, as you mentioned offerings/prices can change).

Another workaround may be to use webhooks or ETL exports to store the latest amount paid for a subscription in your own server, then display that price to your users. This wouldn’t necessarily be the price of the next renewal, but might work for most cases.

Badge

Hey cody,

Thanks for the detailed answer.


Price information is currently not available in our SDKs or REST API.
 

 

Is this something that you have on your roadmap?

If not, I would vote it up..

 

Thanks,

Gilad

 

Reply