Hi team đź‘‹
I’m using RevenueCat for both subscriptions and consumable credits.
My backend receives webhook events, and the frontend/flutter has a listener which when gets triggered  calls getUserProfile() (which hits the be endpoint which calls RevenueCat API) whenever the user opens the app.
I want to make sure my backend always has the latest purchase info instantly, even if a webhook is delayed or missedÂ
Should I:
-
Use both webhooks and the RevenueCat API (as a fallback) to sync the latest transactions?
-
Always update the stored
store_transaction_identifierbased on the latest transaction from the purchases associated with customer API?
Just want to confirm the best practice to ensure no missed updates across subscriptions and one-time purchases.
Thanks!
