#gje-Webhook

1 messages · Page 1 of 1 (latest)

fluid shard
#

Hi there, is your webhook endpoint server returning a 301?

mental fern
#

yup mailmail is the name of the container containing the django app

#

here is the docker compose code

#

here is the webhook in the django app

fluid shard
#

You might want to check you django app routing and see why it return 301 instead of 200?

#

Stripe will only take 200 as an acknowledgement of successful webhook event delivery.

mental fern
#

for a dockerised app, is it correct to forward to the container_name:port_number/webhook_name?

fluid shard
#

I'm not familiar with docker. As long as you can make sure that the webhook endpoint is responding with 200, Stripe will mark the event delivery successful.