Krystie 62ccbbe93d Add Stripe event deduplication to prevent duplicate notifications
- Added PROCESSED_EVENTS_FILE to track processed Stripe event IDs
- Added is_event_processed() to check if an event was already handled
- Added mark_event_processed() to record processed events
- Webhook handler now checks for duplicate events before processing
- _process_checkout_session marks event as processed immediately
- Duplicate events now return {'status': 'duplicate'} instead of reprocessing

Fixes phantom notification bug where Stripe retry webhooks caused duplicate Telegram messages.
2026-05-25 17:13:29 -07:00
S
Description
FJCCV Stripe webhook server for donation receipts
56 KiB
Languages
Python 100%