#novi-webhooks-csrf
1 messages · Page 1 of 1 (latest)
Hello! You'll be better suited looking at online resources to see how to handle CSRF issues with django since this isn't really a stripe-specific problem. Resources like https://stackoverflow.com/questions/10663446/post-method-always-return-403-forbidden or https://docs.djangoproject.com/en/dev/ref/csrf/#how-to-use-it may be helpful
It sounds like you may want to use csrf_exempt for your webhook endpoint
and I don't nedd csrf_exempt on webhook function?
No, we call out in our docs that you'll want to exempt the stripe webhook from csrf here: https://stripe.com/docs/webhooks#csrf-protection
ok, will try
novi-webhooks-csrf