This commit is contained in:
@@ -298,20 +298,25 @@ namespace AyaNova.PlugIn.QBOI
|
||||
|
||||
//oAuth2 new variables
|
||||
public static Intuit.Ipp.OAuth2PlatformClient.OAuth2Client oac = null;
|
||||
//Sandbox keys:
|
||||
|
||||
|
||||
//SANDBOX
|
||||
//const string Q2_CLIENT_ID = "ABj70Wv5gDauFd9KgKFwuvpQjfzTwEgodEG8tnBbS8mSQhNrZJ";
|
||||
//const string Q2_CLIENT_SECRET = "XUmJyvEcEuwQuyhARUAm0a8G3gzbEAeMiATCLyFZ";
|
||||
//const string Q2_ENVIRONMENT = "Sandbox";
|
||||
//const string Q2_QBO_BASE_URL = "https://sandbox-quickbooks.api.intuit.com/";
|
||||
|
||||
//Production keys
|
||||
//PRODUCTION
|
||||
//const string Q2_CLIENT_ID = "ABdUcQuZU9RJuVta7Jqbul85LnTpBwuR54hmvgAMn7NnZOuZam";
|
||||
//const string Q2_CLIENT_SECRET = "iKd71iFV4PTaSlm22jB084RuiDIXcFfIEaOp88n4";
|
||||
//xor encrypted
|
||||
const string Q2_CLIENT_ID = "\b,:\n2;O=#3=A%%VC#\a7\v=\\W\r$.$\rR\a\0, 9$";
|
||||
const string Q2_CLIENT_SECRET = " %XX\n#Z&;\b0\t$\\D+S]}<-*=*(&,*9VN]";
|
||||
const string Q2_ENVIRONMENT = "Production";
|
||||
const string Q2_QBO_BASE_URL = "https://quickbooks.api.intuit.com/";
|
||||
|
||||
const string Q2_REDIRECT_URL = "https://qboauth.ayanova.com/redirect";
|
||||
const string Q2_ENVIRONMENT = "Sandbox";
|
||||
const string Q2_QBO_BASE_URL = "https://sandbox-quickbooks.api.intuit.com/";
|
||||
|
||||
const string Q2_REDIRECT_URL = "https://qboauth.ayanova.com/redirect";
|
||||
const double Q2_TOKEN_LIFESPAN_MINUTES = 45;//Minutes to hold on to access token before refreshing. Right now oct 2019 it's one hour lifespan.
|
||||
static string QBOI2_SESSION_TOKEN = "";
|
||||
public static string ACCESS_TOKEN { get; set; }
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
|
||||
<!-- Development test MSSQL DB -->
|
||||
<!-- Development test MSSQL DB
|
||||
<ConnectionType>DataBase</ConnectionType>
|
||||
<DataBaseType>MSSQL</DataBaseType>
|
||||
<DataBaseConnectionString>Server=DEV-V7-LAPTOP\SQLEXPRESS;initial catalog=AyaNova;User Id=sa; Password = abraxis;</DataBaseConnectionString>
|
||||
|
||||
-->
|
||||
|
||||
<!-- Customer restored MSSQL DB
|
||||
<ConnectionType>DataBase</ConnectionType>
|
||||
@@ -13,11 +13,11 @@
|
||||
<DataBaseConnectionString>Server=DEV-V7-LAPTOP\SQLEXPRESS;initial catalog=AyaNova-XXXXX;User Id=sa; Password=abraxis;</DataBaseConnectionString>
|
||||
-->
|
||||
|
||||
<!-- TEST embedded Firebird database
|
||||
<!-- TEST embedded Firebird database -->
|
||||
<ConnectionType>DataBase</ConnectionType>
|
||||
<DataBaseType>FireBird</DataBaseType>
|
||||
<DataBaseConnectionString>ServerType=1;DataBase=C:\data\AyaNova\database\AYANOVA.fdb;Dialect=3;</DataBaseConnectionString>
|
||||
-->
|
||||
|
||||
|
||||
<!-- DataPortal
|
||||
<ConnectionType>DataPortal</ConnectionType>
|
||||
|
||||
Reference in New Issue
Block a user