Solved

What happens to the grace period for BILLING_ISSUE?


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

icon

Best answer by ryan 24 May 2022, 02:12

View original

3 replies

Badge +6

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

Badge +6

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...
Userlevel 5
Badge +9

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. 

Reply