Solved

How to show the price of the current active subscription

  • 21 October 2021
  • 4 replies
  • 257 views

Userlevel 1
Badge +4

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.

icon

Best answer by cody 22 October 2021, 17:51

View original

4 replies

Userlevel 6
Badge +8

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.

Userlevel 1
Badge +4

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

 

Badge +5

Hello, this is effectively blocking, because we would like to display a confirmation page with the price and the period, we are struggling to find solutions for this to work, technically you have a problem keeping this information?

Badge +5

@cody  , there is a roadmap ?

Reply