Stripe + Gelato Print-on-Demand Kit

Sell a real printed poster or canvas of what your users make, charged with Stripe, printed and shipped automatically by Gelato. No manual fulfilment. This is the actual working pipeline from a production app, generalised into a drop-in kit for any Supabase + Stripe project. Not a tutorial, the real code. What you get: Three Supabase Edge Functions: print-checkout, stripe-webhook (creates the Gelato order only after payment), and gelato-webhook (status sync) The print_orders migration with row-level security and the storage bucket A client helper that renders your design to a print-resolution PNG and uploads it A full setup README, including the two gotchas that cost the most time The gotchas, already handled for you: Gelato ships to countryIsoCode not country (a silent rejection otherwise), the product UIDs are exact long strings, and the order is created from the webhook after payment, never the browser. Stack: Supabase (Postgres, Storage, Edge Functions on Deno), Stripe Checkout, Gelato. Instant download, single-project commercial use.The full write-up behind this kit: Stripe + Gelato print-on-demand, end to end.