Skip to main content
Solved

API not returning back the upgraded package in trial period


Forum|alt.badge.img+5

 

I’m using the following API to get the user’s state: `https://api.revenuecat.com/v1/subscribers/:id`

Unfortunately, the API is not returning back the upgraded package while the user is in TRIAL period.

Here is my typical user flow:

  1. User subscribe for 3 days trial period (this package is extremely limited, that way we could push the users to upgrade their subscription)
  2. User upgrade the subscription on trial period. (At this point I can not see the upgraded package neither in the “entitlements” nor in the “subscriptions”)

When a customer upgrades products during an introductory period (including a free trial), Apple does not cancel the introductory offer but instead keeps the introductory offer active in addition to the upgraded product. So in these cases you can expect two products in the same Subscription Group to be active simultaneously.

According to this documentation: https://www.revenuecat.com/docs/managing-subscriptions I assume that the API should return this information

 

Best answer by Michael Fogel

Hey @Jacint ,

 

Are these products in the same subscription group on Apple? If they are in the same subscription group, can you please confirm that they are in different service levels causing this to be an upgrade? If it is an upgrade, and they are in different service levels than our customerInfo should return both entitlements from this when in a trial period allowing you to give access to the more features when a customer has that new upgraded entitlement. 

 

We have more information on subscription groups which can be found here: https://www.revenuecat.com/blog/engineering/ios-subscription-groups-explained/

 

Let me know if that helps! 

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

2 replies

Michael Fogel
Forum|alt.badge.img+6
  • Dedicated Contributor
  • 382 replies
  • Answer
  • January 24, 2024

Hey @Jacint ,

 

Are these products in the same subscription group on Apple? If they are in the same subscription group, can you please confirm that they are in different service levels causing this to be an upgrade? If it is an upgrade, and they are in different service levels than our customerInfo should return both entitlements from this when in a trial period allowing you to give access to the more features when a customer has that new upgraded entitlement. 

 

We have more information on subscription groups which can be found here: https://www.revenuecat.com/blog/engineering/ios-subscription-groups-explained/

 

Let me know if that helps! 


Forum|alt.badge.img+5
  • Author
  • Member
  • 5 replies
  • January 24, 2024

Hey @Michael Fogel ,

Thank you for your helping! I’ve missed the “Order” in the App Store Connect page! Tbh, it’s tricky to create two separate order with drag&drop feature, but now I will be more aware of this!

Once again, thank you, it’s working🫶🏻


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