Skip to main content
Answer

What happens to the grace period for BILLING_ISSUE?

  • May 19, 2022
  • 3 replies
  • 263 views

Forum|alt.badge.img+6

Hi,

 

I'm testing in the Play Store sandbox environment.

When I receive a BILLING_ISSUE webhook, its expires_date and grace_period_expires_date is 2 weeks later. (The grace period is set to 2 weeks on  on the Play Store)

However, I receive an EXPIRATION webhook 15 minutes after BILLING_ISSUE.

 

Is this a sandbox specific issue? Or am I configured incorrectly?
I want to receive the webhook after the end of the grace period.

 

Thanks

Best answer by ryan

Hey @Firstlogic! You can confirm the expiration date in the EXPIRATION event to see when the grace period expired. You should expect the EXPIRATION event to come through shortly after the subscription expires it typically doesn’t fire on the exact minute which can be more dramatic in sandbox testing with the accelerated renewals. 

This post has been closed for comments

3 replies

Forum|alt.badge.img+6
  • Active Member
  • May 20, 2022

Google Play sandbox events run on an accelerated schedule for testing purposes. See this doc for exact timing: https://developer.android.com/google/play/billing/test


Forum|alt.badge.img+6
  • Author
  • Helper
  • May 20, 2022

Hi, @Bryson Thill 

Thanks for your reply!

I have two additional questions. I would like to know if you know.

  • Is the grace_period of the webhook set to a date two weeks from now, regardless of the sandbox environment? (not the accelerated schedule)
  • Why is the EXPIRATION event sent 15 minutes after the BILLING_ISSUE? I thought the grace period in the document was 5 minutes...

ryan
RevenueCat Staff
Forum|alt.badge.img+9
  • RevenueCat Staff
  • Answer
  • May 24, 2022

Hey @Firstlogic! You can confirm the expiration date in the EXPIRATION event to see when the grace period expired. You should expect the EXPIRATION event to come through shortly after the subscription expires it typically doesn’t fire on the exact minute which can be more dramatic in sandbox testing with the accelerated renewals.