Hello Team,
So getting straight to the point, I was managing (storing, updating) entitlements manually, i.e when user makes a purchase from my app, I retrieve all the entitlement ids and store it in firestore -> users collection in unlocked_entitlement field. Now I realised that client (my app) should not be used to update purchase details. I learnt about webhooks recently and thought of integrating it with firebase and use it as SSOT to detect purchases. How do I store all the customers data that have already made a purchase?