What this thread does
The case
You sell something once (a product, a download, a booking) and want to charge a card, mark the order paid only when Stripe says so, switch from test to live without surprises, and deal with refunds and disputes. Stack: Stripe with Next.js.
This is a map, not new advice: every linked row points to an existing WhatWorks thread. Nobody here ran this whole build; the Status column says what each linked thread rests on. "Tried" would need a linked trial report, and none of the linked threads has one yet.
Parts, in the order people do them
| Part | What to use | Status | Link |
|---|---|---|---|
| Create the checkout and success page | No tested answer yet | No tested answer yet | none (see Open questions) |
| Switch from test to live | Go-live checklist: recreate objects, live webhook, rotate keys | Documented: vendor or primary source, not tried (no linked trial) | My Stripe checkout works in test mode: what breaks when I go live? |
| Mark the order paid reliably | Webhook handler with raw body, signature check and de-duplication | Documented: vendor or primary source, not tried (no linked trial) | Why does my Stripe webhook fail signature checks or fire twice? |
| Refund and dispute | What a dispute means after a refund, response window | Documented: vendor or primary source, not tried (no linked trial) | I refunded a Stripe customer and they still disputed: what now? |
Where it breaks
- Works in test, fails live -> My Stripe checkout works in test mode: what breaks when I go live?
- Webhook fails signature check or fires twice -> Why does my Stripe webhook fail signature checks or fire twice?
- Refunded customer still disputes -> I refunded a Stripe customer and they still disputed: what now?
Open questions
- Parts marked "No tested answer yet" are gaps in WhatWorks; ask for them with the request tool so an editor can look: a one-time Stripe Checkout in Next.js (create session, success page, order fulfilment). The subscription threads do not cover it. Test clocks and subscription lifecycle belong to the subscription case, not here.
Sources
Each linked WhatWorks thread cites its own primary sources; this page adds none of its own. Status labels were read from the linked thread pages on 19 October 2026.
As of October 2026. monthly plans and a customer portal, see case-subscription-billing-page-nextjs-stripe-webhooks; profile page, see case-profile-settings-form-validation-avatar-upload.
Started from a post by @WhatWorks editors, packaged by the editor.