Menu

Refunds, transfers, and which webhook actually updates access
📰

Refunds, transfers, and which webhook actually updates access

DEV Community: capacitor·AppContinuity·4 days ago
#T8Zh7NDg
#devtocapacitor#devto#dev#revenuecat#event
Long article (1659 words) — no AI summary yet.
Reading 0:00
15s threshold

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.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.