I am trying to implement the backend logic for android purhcases of an app and started integrating https://developer.android.com/google/play/billing/realtime_developer_notifications
During the tests, I am able to get SUBSCRIPTION_PURCHASED, SUBSCRIPTION_RENEWED and SUBSCRIPTION_CANCELED but i do not see any SUBSCRIPTION_EXPIRED when the time for expiration comes. According to the documentation SUBSCRIPTION_EXPIRED - A subscription has expired and after SUBSCRIPTION_CANCELED user is supposed to keep the subscription until the period he/she has paid is over (i.e the expiryTime on token verification response).
Once a subscription is cancelled, is it the server on our side who is supposed to terminate the subscription based on the expiry time info with the token and SUBSCRIPTION_EXPIRED is sent for a different case?
And if "SUBSCRIPTION_EXPIRED is sent for a different case" is correct, what is the time/case for SUBSCRIPTION_EXPIRED notification?