[P4][OnlineGiving] Stripe Webhook handler -> auto-create Giving record #57

Open
opened 2026-05-26 01:33:42 +00:00 by ChrisChen · 0 comments
Owner

Overview

Secure Stripe Webhook endpoint that automatically records online giving transactions in the DB.

Tasks

  • POST /api/webhooks/stripe endpoint with Stripe-Signature verification (STRIPE_WEBHOOK_SECRET)
  • Handle payment_intent.succeeded event
  • Create Giving record: PaymentSource = OnlineStripe, StripeEventId (idempotency key)
  • Link to Member if email matches a known member
  • Idempotent: duplicate webhook events must not create duplicate records
  • Dead letter handling: log failed webhook processing for manual review

Reference

PLANNING.md Section 3.6b - Stripe Webhook C# code sample

## Overview Secure Stripe Webhook endpoint that automatically records online giving transactions in the DB. ## Tasks - [ ] POST /api/webhooks/stripe endpoint with Stripe-Signature verification (STRIPE_WEBHOOK_SECRET) - [ ] Handle payment_intent.succeeded event - [ ] Create Giving record: PaymentSource = OnlineStripe, StripeEventId (idempotency key) - [ ] Link to Member if email matches a known member - [ ] Idempotent: duplicate webhook events must not create duplicate records - [ ] Dead letter handling: log failed webhook processing for manual review ## Reference PLANNING.md Section 3.6b - Stripe Webhook C# code sample
ChrisChen added this to the Phase 4 - Online Giving milestone 2026-05-26 01:33:42 +00:00
ChrisChen added the module: giving label 2026-05-26 01:33:42 +00:00
Sign in to join this conversation.