🐛Successful Stripe payment webhook failure
[!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 When you pay successfully on Stripe (production), it will try to send a webhook to /api/public/webhooks/stripe. But it will fail with error code 400.
To Reproduce Steps to reproduce the behavior:
- Start an order for some tickets.
- Input valid CC info with balence and pay.
- User will experience a stuck on the screen which says the order is processing.
- Stripe will send a webhook request because the payment was successful, but it returns error 400 saying No body.
Expected behavior Webhook call should be successful and user should see their tickets.
Hi.Events Version and platform Latest Docker
Additional context I added all the recommended events for the Stripe webhook.
This sounds similar to my previous report. #513
@impressiveaustin I think I resolved my issue and I am wondering if any of these apply to you and could resolve the issue
- Any VPN running on the host causing issues with traffic? I had a Wireguard VPN running
- @daveearley asked if I had the time zone variable set in, I removed it from the .env file
- I updated to the latest release which currently is v1.0.0-beta.6
Closing this as a duplicate of https://github.com/HiEventsDev/Hi.Events/issues/513.
The issue is likely that the timezone setting for the backend app was changed from its default value of UTC. The app expects all timestamps to be in UTC, so changing it will break some functionality.