Hi,
I process webhooks events in my API, it works. For more resilience, I also sync with the subscriptions endpoint:
https://api.revenuecat.com/v2/projects/$projectId/customers/$userIdStr/subscriptions
regularly. Sometimes the sync calls are triggered directly after processing the webhook, and they seem to return stale data, effectively reverting the webhook updates.
How to deal with this? I assumed that subscriptions api was the source of truth, but this appears to not be correct?
Interestingly I’ve been using this system for about 3 months without apparent issues but today this problem is happening consistently (specifically: subscription expires, I subscribe, receive “Initial” webhook, call `subscriptions` and get just the older expired subscriptions)
Thanks
