This commit is contained in:
@@ -590,6 +590,7 @@ Global
|
||||
{674BC3C9-4F74-4304-91ED-2EAFFFEB09A7}.Debug|.NET.ActiveCfg = Debug|Any CPU
|
||||
{674BC3C9-4F74-4304-91ED-2EAFFFEB09A7}.Debug|.NET.Build.0 = Debug|Any CPU
|
||||
{674BC3C9-4F74-4304-91ED-2EAFFFEB09A7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{674BC3C9-4F74-4304-91ED-2EAFFFEB09A7}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{674BC3C9-4F74-4304-91ED-2EAFFFEB09A7}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
|
||||
{674BC3C9-4F74-4304-91ED-2EAFFFEB09A7}.Debug|WBI.ActiveCfg = Debug|Any CPU
|
||||
{674BC3C9-4F74-4304-91ED-2EAFFFEB09A7}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||
@@ -1045,6 +1046,7 @@ Global
|
||||
{CE73BA18-914D-4426-8888-1DA0F0FC4764}.ReleaseX86AyaNova|x86.Build.0 = Release|x86
|
||||
{5407E64B-951B-414D-B532-4AF2EDBDD9FD}.Debug|.NET.ActiveCfg = Debug|x86
|
||||
{5407E64B-951B-414D-B532-4AF2EDBDD9FD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{5407E64B-951B-414D-B532-4AF2EDBDD9FD}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{5407E64B-951B-414D-B532-4AF2EDBDD9FD}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
|
||||
{5407E64B-951B-414D-B532-4AF2EDBDD9FD}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
|
||||
{5407E64B-951B-414D-B532-4AF2EDBDD9FD}.Debug|Mixed Platforms.Build.0 = Debug|x86
|
||||
|
||||
@@ -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