Solved

Why expires_date and grace_period_expires_date is same?

  • 27 August 2021
  • 1 reply
  • 150 views

Badge +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

icon

Best answer by ryan 27 August 2021, 19:30

View original

1 reply

Userlevel 5
Badge +9

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