Debug webhooks that fail only in the native app
Wrapping a Lovable app with Capacitor led to failing RevenueCat webhooks. The cause was Supabase's own auth check running before the code, which none of the AI tools spotted.
Checkout works but webhooks fail silently. Verify signatures, handle failed and duplicate events, and run one real payment before launch.
4 items · 4 stories · 0 security incidents
Checkout pages are easy to generate, but the important logic runs in webhooks: confirming payment, upgrading the account and handling failures. If webhooks fail silently, customers pay and get nothing, or get access without paying.
Go deeper: related guide or topic →
Wrapping a Lovable app with Capacitor led to failing RevenueCat webhooks. The cause was Supabase's own auth check running before the code, which none of the AI tools spotted.
The product took two days with Cursor, but auth, Stripe and webhook problems took weeks. The poster ends by recommending a boilerplate.
The front end took a weekend, then Stripe webhook bugs, auth edge cases and slow queries took weeks. Note: it was posted by an account named after the starter tool the post ends up promoting.
On launch day a Supabase function rejected Stripe's webhook because it required a user login token, so a paying customer stayed on the free tier.