Category: stripe

Stripe Logo 1

Python Stripe Signature Verification Error

Building a Django + Stripe integration today I kept hitting the SignatureVerificationError. According to their webhook’s documentation, they recommend something like this: @csrf_exempt def my_webhook_view(request): payload = request.body sig_header = request.META[‘HTTP_STRIPE_SIGNATURE’] event = None...