Case 3669

This commit is contained in:
2019-02-13 23:18:06 +00:00
parent 46a3c83ae0
commit 6572dd0301
3 changed files with 9 additions and 3 deletions

View File

@@ -307,6 +307,9 @@ namespace AyaNova.PlugIn.QBOI
static public void StartAuthorization()
{
//case 3669
//https://help.developer.intuit.com/s/question/0D50f00005gFeqpCAC/how-do-i-suddenly-get-there-was-an-error-while-communicating-with-the-ids-server
System.Net.ServicePointManager.SecurityProtocol = System.Net.SecurityProtocolType.Tls12; //Add this just to be sure to use TLS1.2
//#if(DEBUG)
// string KEY_APP_TOKEN_ENCRYPTED = Ec(KEY_APP_TOKEN, "Invoice");
@@ -378,6 +381,9 @@ namespace AyaNova.PlugIn.QBOI
//test case 3515
//System.Net.ServicePointManager.SecurityProtocol = System.Net.SecurityProtocolType.Tls12; //Add this just to be sure to use TLS1.2
//var result = string.Empty;
//using (var webClient = new System.Net.WebClient())
//{