Skip to main content
Solved

How can check that user has grace period?

  • 22 September 2021
  • 5 replies
  • 242 views

Forum|alt.badge.img+2

Hi, 

there is information in the documentation

Also, if you are user of RevenueCat, grace periods for Apple and Google are automatically detected and handled by our receipt server and SDK.

 

How can I check that user has grace period in this time? I want to show alert for him.

Thanks

Best answer by tina

Hi @Dmitriy!

From the SDK, if an entitlement is still active, and billingIssuesDetectedAt is not null, it can be assumed the user is in a grace period.

View original
Did this post help you find an answer to your question?

5 replies

tina
RevenueCat Staff
Forum|alt.badge.img+10
  • RevenueCat Staff
  • 338 replies
  • Answer
  • September 22, 2021

Hi @Dmitriy!

From the SDK, if an entitlement is still active, and billingIssuesDetectedAt is not null, it can be assumed the user is in a grace period.


Forum|alt.badge.img+2
  • Author
  • New Member
  • 4 replies
  • September 22, 2021

Is there way to check it in sandbox?


Forum|alt.badge.img+2
  • Author
  • New Member
  • 4 replies
  • September 22, 2021

Does user in grace period have Entitlement status “Is Active”?


tina
RevenueCat Staff
Forum|alt.badge.img+10
  • RevenueCat Staff
  • 338 replies
  • September 22, 2021

Hey,

You will be able to check in sandbox if the user enters a grace period, note that I don’t believe you can manually trigger a grace period in sandbox. The user in a grace period will have entitlement status as “is active” since app stores still consider the subscription as active while they attempt to collect payment (assuming grace period is turned on).


Forum|alt.badge.img+2
  • Author
  • New Member
  • 4 replies
  • September 23, 2021
tina wrote:

Hey,

You will be able to check in sandbox if the user enters a grace period, note that I don’t believe you can manually trigger a grace period in sandbox. The user in a grace period will have entitlement status as “is active” since app stores still consider the subscription as active while they attempt to collect payment (assuming grace period is turned on).

Ok, thank you for your answer. 


Reply


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