I know there are a few posts on this but any videos or images would be really helpful.
I have the in-app purchase component working but I need to set that after 1 year the subscription will expire and they will go back to a free plan.
Here is an image of my database setting premium user to true after a successful purchase and also an expiry field. (it is 1 hour for testing purposes).
But the purchase does not expire so how do you make in-app purchases expire after a certain time frame