Menu

1 / 4

My First Paying Customer Stayed on the Free Plan. The Error Said Only: get

DEV Community: fastapi·Luis Eduardo Guerreiro Espindola·11 days ago
#kVd1mVGt
#devtofastapi#devto#dev#stripe#dict
Long article (1354 words) — no AI summary yet.
Reading 0:00
15s threshold

The admin alert had one word in it.

Stripe webhook failed: Error: get

Enter fullscreen mode

Exit fullscreen mode

Not a stack trace, not a field name. Just get .

It was 24 June 2026, and that alert belonged to the first real paying customer of

a home-search subscription product I lead. They had paid for Pro. Stripe had taken the money. Our database still had

them on Free, which meant no Pro alerts, which meant the one thing they had just paid for wasn't happening.

The tests were green. They had been green the whole time. This is the story of why, and of the five lines that fixed it.

The handler that passed every test

The webhook looked like most Stripe webhooks you will find in tutorials, simplified here:

@router . post ( "/webhooks/stripe" ) async def stripe_webhook ( request : Request ) : event = stripe . Webhook . construct_event ( await request . body ( ) , request . headers [ "stripe-signature" ] , settings .…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.