Stripe CSV subscription

Unlock CSV history export with Stripe Checkout, webhooks, and the member group so winter freeze audits leave the dashboard for your spreadsheet.

Home desk with laptop, external monitor, and keyboard in a living space
Household members check the same dashboard from wherever they already work. Photo: David Wellbeloved / Flickr. CC BY 2.0

CSV export of temperature history is a subscription feature billed through Stripe. Checkout creates a customer portal link; webhooks flip a flag in Supabase so export buttons unlock without manual admin work.

User flow

  1. Signed-in user opens billing from the dashboard.
  2. Stripe Checkout completes payment method capture.
  3. Webhook marks subscription active; user downloads CSV from history.

Export contents

Files mirror stored history columns: see CSV analysis guide. Live data path remains separate: data flow.

Implementation peers

Webhook handling patterns overlap with Express webhooks. Auth prerequisite: Supabase auth.