Skip to main content
Solved

Why expires_date and grace_period_expires_date is same?

  • 27 August 2021
  • 1 reply
  • 198 views

Forum|alt.badge.img+4

Hello!

I have a subscription with grace period 14 days, if this subscription is expired and now on grace period i get this JSON:

[app1800_sub_personal_monthly] => Array
                        (
                            [billing_issues_detected_at] => 2021-08-27T08:29:54Z
                            [expires_date] => 2021-09-12T08:29:50Z
                            [grace_period_expires_date] => 2021-09-12T08:29:50Z
                            [is_sandbox] => 
                            [original_purchase_date] => 2021-07-27T08:29:52Z
                            [ownership_type] => PURCHASED
                            [period_type] => normal
                            [purchase_date] => 2021-07-27T08:29:50Z
                            [store] => app_store
                            [unsubscribe_detected_at] => 
                        )

Not so long ago, these fields were different and I use field “expires_date” to understand that the subscription expired and he now in the grace period

Best answer by ryan

Hi @Andrei!

The expires_date will always be the date that access should be removed. If the customer is in a grace period then this would be the same as the grace_period_expires_date.

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

1 reply

ryan
RevenueCat Staff
Forum|alt.badge.img+9
  • RevenueCat Staff
  • 391 replies
  • Answer
  • August 27, 2021

Hi @Andrei!

The expires_date will always be the date that access should be removed. If the customer is in a grace period then this would be the same as the grace_period_expires_date.


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