stack/apps/backend/prisma
nams1570 3df80cf5fc feat(payments): quick-ack + idempotent webhooks
Stripe recommends acking webhook events ASAP with a 200.
Stripe also recommends employing event idempotency on your end.
By responding quickly, you prevent stripe from thinking the webhook failed and retrying the event.
Retrying the event in the past used to be responsible for people getting multiple payment receipt emails.
Note that even in the case where an event processing genuinely fails, we have a new table to let us recover from it.

Currently, recovery will be manual, but since it will be logged to sentry we will be notified.
2026-06-23 22:01:56 -07:00
..
migrations feat(payments): quick-ack + idempotent webhooks 2026-06-23 22:01:56 -07:00
schema.prisma feat(payments): quick-ack + idempotent webhooks 2026-06-23 22:01:56 -07:00
seed.ts Rename STACK_* env vars to HEXCLAVE_* in env templates, with legacy dual-read (#1588) 2026-06-19 18:58:53 -07:00