Hi all,
I have configured Webhook in Sandox account. After few transactions it gets disabled automatically in sandbox.I can't find the root cause behind it. We have have handled exception but not did not log any error realaed to webhook failure. Is there any extra setting required for webhook in Sandbox account except adding endpoints? or is it happening because we are using Sandbox Account.
Do we need to activate webhook programatically before transaction?
Below is code we have used in notification URL for handling Webhook response.
StreamReader reader = new StreamReader(HttpContext.Current.Request.InputStream);
string requestFromPost = reader.ReadToEnd();
if (obj != null && obj.payload != null && obj.payload.id != null)
{
string transId = Convert.ToString(obj.payload.id);
if (transId != null && transId != string.Empty)
{
//Code for processing request
}
}
09-05-2019 01:58 AM
09-06-2019 08:50 AM
Hi,
We have configured Webhook from Sandbox interface ->Business Settings-> Webhook and not programatically.it get disabled automatically.We have verified all points given by you as below.
Please revert back asap, as it is hampering production environment.
Thanks,
Shubhada
09-09-2019 12:44 AM
09-09-2019 09:44 AM
Hi,
For few transaction it works and automatically get deactivated in sandbox.We are placing order in handler code,Order not get placed and its status automatically set to Inactive.
Now we are programatically handling it for activating webhook if it is aready Inactive.
We will let you know our result.
Thanks
09-10-2019 05:25 AM
09-11-2019 08:28 AM
It gets turned off if it can't connect to your server after 10 tries. They have been working on an email alert for 2 years. https://community.developer.authorize.net/t5/Integration-and-Testing/Webhook-automatically-disabled/...
12-19-2019 12:34 PM
12-21-2019 10:14 AM