diff options
| author | Ben Sima <ben@bsima.me> | 2025-11-12 16:41:03 -0500 |
|---|---|---|
| committer | Ben Sima <ben@bsima.me> | 2025-11-12 16:41:03 -0500 |
| commit | 5efd438acf7afe9fbe2d621542bcb74688a4d647 (patch) | |
| tree | 896ee8e271957ffea7d02eb7a05f77d3580955f3 /Biz/Dragons | |
| parent | 54aff58650d9ade97cabf4d154dea114a6a8a313 (diff) | |
Fix Stripe webhook KeyError by using safe dict access
- Replace direct dict key access with .get() for all subscription
fields - Add validation and early return for missing required fields -
Add logging warnings when subscription data is incomplete - Handles
both dict and Stripe object access patterns safely - Fixes KeyError:
'current_period_start' when processing webhooks
Diffstat (limited to 'Biz/Dragons')
0 files changed, 0 insertions, 0 deletions
