🐛 Cannot checkout order
[!NOTE] Please stick to the template and provide as much detail as possible to help us diagnose and fix the issue. Low effort bug reports will be closed.
Describe the bug Checkout for item results in a crash
To Reproduce Create item. This happens on both paid and free items Add item and press continue
Expected behavior Get redirected to the order details window
Screenshots This is the /checkout/{event_id}/{order_id}/details window:
Logs From the console we can see the following call that results in a error: https://{url}/api/public/events/1/order/o_cxpdg93qj1jhn?include=event
This results in 403 Forbidden also visible in the docker logs https://events-dev.pmsafed.be/api/public/events/1/order/o_cxpdg93qj1jhn?include=event
Desktop (please complete the following information):
- OS: Windows
- Browser Chrome
Hi.Events Version and platform Docker running the v1.0.0-alpha.15
Hi @Gijsen,
Your session cookie is being rejected by the browser as the domain is set to localhost.
Try setting this env variable in your environment:
SESSION_DOMAIN=pmsafed.be
Thank you !
this indeed was the issue, as this is behind a proxy. Is it maybe important to add this to the Docker deployments?
If not set I suppose it gets the domain via the request itself? Would this also be solved when I added this in my nginx setup?