#art-event-debug
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- thisisart7451, 22 minutes ago, 17 messages
- art-checkout-events, 20 hours ago, 8 messages
- thisisart7451, 21 hours ago, 6 messages
- thisisart7451, 1 day ago, 6 messages
- art-checkout-fulfillment, 3 days ago, 5 messages
It looks like your local endpoint is not responding to the POST request, so it times out after ~30s
You need to make sure your /pay_notification endpoint is returning a response, ideally a 200 success
But if necessary an error status response
i'm returning like this:
res.status(200).json({ received: true });
still getting the error
This is using ExpressJS?
Can you try using res.send({ received: true });
I'm not sure if those methods actually send the response
It might depend on the specific Express version
But the timeout suggests the response is not being sent back
nops, the stack is node/nextjs. i do use this method regularely and it works well. no idea why it is not working this one
If you call the endpoint manually do you get a response?
Something like:
curl --request POST \
--url http://localhost:3000/api/pay_notification \
--header 'Content-Type: application/json' \
--data '{ "id": "evt_123", "object": "event", "type": "event.test" }'