We also have similar code and the code fails at "stream =
webRequest.GetRequestStream();"This code is in Dynamics AX 2009. I am
testing using "https://test.authorize.net/gateway/transact.dll" API. I
signed up on the developer.authorize.net and got th...