Hi there,
I am having having an issue with “Send Test Event”. They failing…
According to my logs, Squares servers are able able to post to my API.
[HttpPost]
public JsonResult DoSomething([FromBody] JsonElement json)
{
System.IO.File.AppendAllText(@"Log.txt", $"{DateTime.Now} - {json.ToString()} {Environment.NewLine}");
return new JsonResult(json);
}
I can see the results from my local Log.txt that it’s logging each event after using the “Test Web Hook” from Square SDK portal.
I can my IIS responding with http status of 200.
2021-10-09 22:36:22 192.168.86.36 POST /api/SquareHook - 443 - 44.241.162.61 Square+Connect+v2 - 200 0 64 109
However, I can not get a success response from the “Send Test Event”.
My app id is : sq0idp-77wipGHy9gwNwCqhSLbbIA
Any help is appreciated.
Thanks
-Leon