I wanted to post a comment in response to yours, but apparently it was too long. In addition to this, this is also a kind of answer to your question, so I thought it would be nice to just post it as an answer instead. Perhaps this even solves your problem.
So, regarding your comment. You do not have to do this. Now I do not know your system requirements, but I will just share mine and hope this helps you.
Save Usersand Subscriptionsyour server (database table). Column check_atin the table Subscriptionsexcept renew_at. Suppose a user has a monthly subscription created on January 1. On this first day, you call your Android server after the purchase is completed, save the subscription information, and then set it renew_atas February 1 andcheck_at 4 , , 3 Google Play . , 1 3 , , 1-. , 4-, API Google Play . - 1 4 . 4- , . , . , API, , , . , 4-, . - .
webhooks. , - , , .
, - .