#thisisart7451
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.
- art-checkout-events, 19 hours ago, 8 messages
- thisisart7451, 20 hours ago, 6 messages
- thisisart7451, 23 hours ago, 6 messages
- art-checkout-fulfillment, 3 days ago, 5 messages
Hello
You would look at your local terminal to see the "notification"
However in this case it looks like your local endpoint is returning an error
Which is that there is a timeout as your local endpoint isn't responding to the Webhook
So you need to debug why your local endpoint is doing that
but it can really connect with my localhost, right? no need to put the endpoin on server or anything? how can i debug that? which settings can i turn on to help debugging? anyway, my endpoint code look like this:
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Yes the CLI can forward to your locally running endpoint
The first thing to do is to add a log at each step of your endpoint
So right at the beginning and then through each step
And see if that log is hit in your server console when you test
i put a file creation to see if the endpoint is ever requested. the file isn't created. the error says:
[ERROR] Failed to POST: Post "http://localhost:3000/api/pay_notification": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
which headers is the cleint awaiting?
No sure -- that is the response from your server
So it is whatever you server is expecting?
i'll try to figure this out.. buy is this my endpoint code ok? https://pastebin.com/Qgt4D6ZP
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.