This article was first published on AppContinuity .
Official RevenueCat docs already list every webhook event type. This piece is about the exact stack — React + Capacitor, Supabase Auth, Stripe on the web, RevenueCat on iPhone and Android — and the narrow question founders hit after the first successful purchase: which event should change “is this person paid?” in your database , especially when money moves backward (a refund) or sideways (a transfer or alias).
It follows why a Stripe subscriber hits a Capacitor paywall and mapping Supabase Auth user IDs to RevenueCat . Those cover attaching the web subscription and identifying the signed-in user. This one is the webhook file you write after that.
The failure mode
You handled INITIAL_PURCHASE and maybe RENEWAL . Production looks fine for a week. Then one of these shows up:
A customer is refunded through Apple, Google, or Stripe. Your admin UI still says premium.
User A buys on a phone. User B logs into the same phone and suddenly has premium.…