Switch to Foreign Data Wrapper (FDW)
I just read about Supabase's new Foreign Data Wrappers here, and in particular, there's one for Stripe: https://github.com/supabase/wrappers/tree/main/wrappers/src/fdw/stripe_fdw
As far as I understand, it means that we could swtich the following tables to foreign in schema.sql: customers, products, prices, subscriptions etc, since they can be queried via the FDW. And we can delete all webhooks!
Is it worth migrating this repo to use the Stripe FDW?
Yes, once ready we'll take a look at that.
any news on this?
I'm really curious about this too.
There is a post on the superbase subreddit that seems to argue for webhooks: https://www.reddit.com/r/Supabase/comments/17k1jk1/stripe_webhooks_v_supabasewrappers/
Here is a post in the supabase discord that also argues for webhook: https://discord.com/channels/839993398554656828/1167917737796968538
So is it really advantageous to switch to Stripe FDWs? Is network speed really that big an issue?