Print-on-Demand Kit (Stripe + Gelato)
Sell a real printed poster of what your users make. Drop-in Supabase functions: render, host, pay, fulfil.
What's included
- Three Supabase Edge Functions: print-checkout, stripe-webhook, gelato-webhook
- 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, with the countryIsoCode and product-UID gotchas handled
The exact pipeline behind a production app, generalised: render your design at print resolution, host it where Gelato can fetch it, take payment with Stripe, and create the Gelato order from the webhook after the money clears. The two gotchas that cost the most time (Gelato ships to countryIsoCode not country, and the product UIDs are long exact strings) are already handled.
For any indie maker who wants to sell physical prints or merch of what their users create, without spending a day wiring Stripe, a CDN, and Gelato together.
Reviews appear here as the first buyers land. ( social proof — coming soon )