AnsweredAssumed Answered

OperationCanceledException in 12.10.3

Question asked by pcoulter on Jan 15, 2020
Latest reply on Jan 17, 2020 by pcoulter

I am currently on version 12.4.1 of the .NET SDK, and I'm using it inside a .NET Core application. I was excited to see that 12.10.3 has support for .NET Standard.  I'm attempting to upgrade the SDK, but any version higher than 12.8.4 fails on cnp.Sale() with an OperationCanceledException.  Here's the stacktrace:


at System.Net.HttpWebRequest.GetResponse()
at Cnp.Sdk.Communications.HttpPost(String xmlRequest, Dictionary`2 config)
at Cnp.Sdk.CnpOnline.SendToCnp(cnpOnlineRequest request)
at Cnp.Sdk.CnpOnline.SendRequest[T](Func`2 getResponse, transactionRequest transaction)

If I post the xml generated in the log file directly to the endpoint using Postman, I get a valid approved transaction.  Any workarounds or reports of other developers having this issue?